installation
install the package using npm
npm install mynpm
start your registry instance
launching your own registry instance is easy. The registry server is an instance of http.Server.
var registry = ;
publish to your registry
npm --registry http://localhost:8020 addusernpm --registry http://localhost:8020 publish