mynpm

your very own npm registry

npm install mynpm
57 downloads in the last month

mynpm

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
npm loves you