mynpm
v0.0.16
Published
your very own npm registry
Downloads
15
Maintainers
Readme
##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 = require('mynpm').createServer({
dppath: "/tmp/mynpm"
}, function (error) {
console.log("registry ready");
}).listen(8020, function () {
console.log("registry listening on 8020");
});
##publish to your registry
npm --registry http://localhost:8020 adduser
npm --registry http://localhost:8020 publish