npmconf

The config module for npm circa npm@1 and npm@2

this package has been reintegrated into npm and is now out of date with respect to npm
Last updated 2 years ago by iarna .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install npmconf 
SYNC missed versions from official npm registry.

npmconf

THIS PACKAGE IS DEPRECATED

**This package's functionality has been reintegrated directly into npm. There have been many changes made to npm's configuration since the last version of this package was published. It should not be considered a source of truth for npm configuration any longer, and npm itself is the best tool to use to manage its configuration.

Do not use this package.

If you are writing a new Node.js program, and want configuration functionality similar to what npm has, but for your own thing, then I'd recommend using rc, which is probably what you want.

USAGE

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({some:'configs'}, function (er, conf) {
  // do stuff with conf
  conf.get('some', 'cli') // 'configs'
  conf.get('username') // 'joebobwhatevers'
  conf.set('foo', 'bar', 'user')
  conf.save('user', function (er) {
    // foo = bar is now saved to ~/.npmrc or wherever
  })
})

Current Tags

  • 2.1.3                                ...           latest (2 years ago)

72 Versions

  • 2.1.3 [deprecated]           ...           2 years ago
  • 2.1.2 [deprecated]           ...           5 years ago
  • 1.1.9 [deprecated]           ...           6 years ago
  • 2.1.1 [deprecated]           ...           6 years ago
  • 2.1.0 [deprecated]           ...           6 years ago
  • 2.0.9 [deprecated]           ...           6 years ago
  • 1.1.8 [deprecated]           ...           6 years ago
  • 1.1.7 [deprecated]           ...           6 years ago
  • 1.1.6 [deprecated]           ...           6 years ago
  • 2.0.8 [deprecated]           ...           6 years ago
  • 2.0.7 [deprecated]           ...           6 years ago
  • 2.0.6 [deprecated]           ...           6 years ago
  • 1.1.5 [deprecated]           ...           6 years ago
  • 2.0.5 [deprecated]           ...           6 years ago
  • 2.0.4 [deprecated]           ...           6 years ago
  • 2.0.3 [deprecated]           ...           6 years ago
  • 2.0.2 [deprecated]           ...           6 years ago
  • 2.0.1 [deprecated]           ...           6 years ago
  • 2.0.0 [deprecated]           ...           6 years ago
  • 1.1.4 [deprecated]           ...           6 years ago
  • 1.1.3 [deprecated]           ...           6 years ago
  • 1.1.2 [deprecated]           ...           6 years ago
  • 1.1.1 [deprecated]           ...           6 years ago
  • 1.1.0 [deprecated]           ...           6 years ago
  • 1.0.6 [deprecated]           ...           6 years ago
  • 1.0.5 [deprecated]           ...           6 years ago
  • 1.0.4 [deprecated]           ...           6 years ago
  • 1.0.3 [deprecated]           ...           6 years ago
  • 1.0.2 [deprecated]           ...           6 years ago
  • 1.0.1 [deprecated]           ...           6 years ago
  • 1.0.0 [deprecated]           ...           6 years ago
  • 0.2.0 [deprecated]           ...           6 years ago
  • 0.1.16 [deprecated]           ...           6 years ago
  • 0.1.15 [deprecated]           ...           7 years ago
  • 0.1.14 [deprecated]           ...           7 years ago
  • 0.1.13 [deprecated]           ...           7 years ago
  • 0.1.12 [deprecated]           ...           7 years ago
  • 0.1.11 [deprecated]           ...           7 years ago
  • 0.1.9 [deprecated]           ...           7 years ago
  • 0.1.8 [deprecated]           ...           7 years ago
  • 0.1.7 [deprecated]           ...           7 years ago
  • 0.1.6 [deprecated]           ...           7 years ago
  • 0.1.5 [deprecated]           ...           7 years ago
  • 0.1.4 [deprecated]           ...           7 years ago
  • 0.1.3 [deprecated]           ...           7 years ago
  • 0.1.2 [deprecated]           ...           7 years ago
  • 0.1.1 [deprecated]           ...           7 years ago
  • 0.1.0 [deprecated]           ...           7 years ago
  • 0.0.25 [deprecated]           ...           7 years ago
  • 0.0.24 [deprecated]           ...           8 years ago
  • 0.0.23 [deprecated]           ...           8 years ago
  • 0.0.22 [deprecated]           ...           8 years ago
  • 0.0.21 [deprecated]           ...           8 years ago
  • 0.0.20 [deprecated]           ...           8 years ago
  • 0.0.19 [deprecated]           ...           8 years ago
  • 0.0.18 [deprecated]           ...           8 years ago
  • 0.0.17 [deprecated]           ...           8 years ago
  • 0.0.16 [deprecated]           ...           8 years ago
  • 0.0.15 [deprecated]           ...           8 years ago
  • 0.0.14 [deprecated]           ...           8 years ago
  • 0.0.12 [deprecated]           ...           8 years ago
  • 0.0.11 [deprecated]           ...           8 years ago
  • 0.0.10 [deprecated]           ...           8 years ago
  • 0.0.9 [deprecated]           ...           8 years ago
  • 0.0.8 [deprecated]           ...           8 years ago
  • 0.0.7 [deprecated]           ...           8 years ago
  • 0.0.6 [deprecated]           ...           8 years ago
  • 0.0.5 [deprecated]           ...           8 years ago
  • 0.0.4 [deprecated]           ...           8 years ago
  • 0.0.3 [deprecated]           ...           8 years ago
  • 0.0.2 [deprecated]           ...           8 years ago
  • 0.0.1 [deprecated]           ...           8 years ago
Downloads
Today 3
This Week 198
This Month 1,720
Last Day 195
Last Week 543
Last Month 3,789
Dependencies (10)
Dev Dependencies (1)
Dependents (177)

Copyright 2014 - 2016 © taobao.org |