From eBabel wiki
Jump to: navigation, search

Create a new npm module

First, create an account on

You can then authorize your machine to publish your modules with:

npm login

Once you are in the root directory of the module to be published, where there is a package.json set to public, publish it with:

npm publish


How to develop an npm module

The minimum is to setup a package.json, which can be done with:

npm init

Useful npm commands

Open a browser and direct you to the Github page

npm home <package>

Lists all packages that you forgot to install in your package.json

npm prune