"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/npm/lib/get.js" (7 Feb 2017, 235 Bytes) of archive /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Javascript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 module.exports = get
    3 
    4 get.usage = 'npm get <key> <value> (See `npm config`)'
    5 
    6 var npm = require('./npm.js')
    7 
    8 get.completion = npm.commands.config.completion
    9 
   10 function get (args, cb) {
   11   npm.commands.config(['get'].concat(args), cb)
   12 }