npm-registry-foo
Run npm(1)
with a custom registry object.
#!/usr/bin/env node
var npm = require('npm-registry-foo')
var MyCoolRegistry = require('...')
var registry = new MyCoolRegistry()
npm(registry)
The registry object should be an instance of
npm-registry-client
, or
something compatible with that.