atcheck/lsscanner/new_ubuntu/node_modules/npm/lib/get.js

13 lines
235 B
JavaScript
Raw Normal View History

2019-12-16 18:42:21 +01:00
module.exports = get
get.usage = 'npm get <key> <value> (See `npm config`)'
var npm = require('./npm.js')
get.completion = npm.commands.config.completion
function get (args, cb) {
npm.commands.config(['get'].concat(args), cb)
}