Welcome to mirror list, hosted at ThFree Co, Russian Federation.

get.js « lib - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aa058002ec19a8ff87f7fd9bf628fe3a0f269c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

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