Free Sample
+ Collection

Instant Node Package Manager

Juzer Ali

Create your own node modules and publish them on npm registry, automating repetitive tasks in between
RRP $14.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783283330
Paperback56 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Create and distribute node modules
  • Learn how to publish executables
  • Automate the installation of dependencies

Who This Book Is For

Intended for readers who want to create their first node.js modules. The programming paradigm of JavaScript is not covered so a foundation in these concepts would be beneficial.

Table of Contents

Chapter 1: Instant Node Package Manager
So, what is Node Package Manager?
Quick start – creating your first npm module
Top 10 features you need to know about
People and places you should get to know

What You Will Learn

  • Install node.js and npm
  • Modularize code in different files and folders
  • Create a working node module
  • Publish your node module on the npm registry
  • Create node executables and put them in the system's path
  • Bootstrap two modules together so that both can keep abreast with one another
  • Lock down dependencies to avoid surprises
  • Configure the local npm installation to provide some of your own convenient defaults

In Detail

Node.js is the new buzz in town and has a vibrant community.It ships with npm, which is a tool that helps automate various development, deployment, and installation of node modules, and makes the process much easier.

Instant Node Package Module is a practical guide to authoring and distributing node modules, and also for creating and managing private, standalone node.js projects.

Starting with getting node.js installed and running on a variety of platforms, we then proceed to learn about code modularization and achieving it in node.js. Picking up a practical example, we will then explore the whole process and life cycle of conceiving, writing, and publishing a node module. We will also learn how to exploit a toolsincluded with npm to automate various development and deployment steps.

Later on, we will discover the power of npm and how its different features and configurations can save large amounts of time by providing a helping hand for automating repetitive tasks between writing and publishing your modules.


Read More