0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
nodejs/deps/npm/lib/get.js
Rebecca Turner 41923c0c07 deps: upgrade npm to 3.3.6
PR-URL: https://github.com/nodejs/node/pull/3310
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-10-22 13:56:09 -04:00

13 lines
235 B
JavaScript

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)
}