Publishing NPM Modules

In notebook:
FrontEndMasters Real-Time Web with Node.js
Created at:
Video Course on Real-Time HTML5 with Node.js$ ​npm publish nameofyournpmmodule​ 

then you can ​npm install​ it.
then you can ​require​ it just by its name without the path.

​devDependencies​ only

hidden module tax - a dependency download lots of other dependencies that in turn download other dependencies

and there will be several copies for each module

might be possible to deploy npm on your own servers

​devDependencies​ : if you run ​npm install​ in the module directory. Only if you want to run tests, build files

or you can list optional modules e.g. a minifier