UNPKG

uam

Version:

Unhosted application manager

9 lines (7 loc) 246 B
var npmconf = require('npmconf') // pass in the cli options that you read from the cli // or whatever top-level configs you want npm to use for now. npmconf.load({}, function (er, conf) { var reg = conf.get('registry'); console.log(reg); })