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 7 years ago by iarna .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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 (7 years ago)

72 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |