The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / deps / npm / node_modules / npmconf / package.json @ 5aef65a9

History | View | Annotate | Download (1.89 KB)

1
{
2
  "name": "npmconf",
3
  "version": "0.0.23",
4
  "description": "The config thing npm uses",
5
  "main": "npmconf.js",
6
  "directories": {
7
    "test": "test"
8
  },
9
  "dependencies": {
10
    "config-chain": "~1.1.1",
11
    "inherits": "~1.0.0",
12
    "once": "~1.1.1",
13
    "mkdirp": "~0.3.3",
14
    "osenv": "0.0.3",
15
    "nopt": "2",
16
    "semver": "~1.1.0",
17
    "ini": "~1.1.0"
18
  },
19
  "devDependencies": {},
20
  "scripts": {
21
    "test": "tap test/*.js"
22
  },
23
  "repository": {
24
    "type": "git",
25
    "url": "git://github.com/isaacs/npmconf"
26
  },
27
  "keywords": [
28
    "npm",
29
    "config",
30
    "config-chain",
31
    "conf",
32
    "ini"
33
  ],
34
  "author": {
35
    "name": "Isaac Z. Schlueter",
36
    "email": "i@izs.me",
37
    "url": "http://blog.izs.me"
38
  },
39
  "license": "BSD",
40
  "readme": "# npmconf\n\nThe config thing npm uses\n\nIf you are interested in interacting with the config settings that npm\nuses, then use this module.\n\nHowever, if you are writing a new Node.js program, and want\nconfiguration functionality similar to what npm has, but for your\nown thing, then I'd recommend using [rc](https://github.com/dominictarr/rc),\nwhich is probably what you want.\n\nIf I were to do it all over again, that's what I'd do for npm.  But,\nalas, there are many systems depending on many of the particulars of\nnpm's configuration setup, so it's not worth the cost of changing.\n\n## USAGE\n\n```javascript\nvar npmconf = require('npmconf')\n\n// pass in the cli options that you read from the cli\n// or whatever top-level configs you want npm to use for now.\nnpmconf.load({some:'configs'}, function (er, conf) {\n  // do stuff with conf\n  conf.get('some', 'cli') // 'configs'\n  conf.get('username') // 'joebobwhatevers'\n  conf.set('foo', 'bar', 'user')\n  conf.save('user', function (er) {\n    // foo = bar is now saved to ~/.npmrc or wherever\n  })\n})\n```\n",
41
  "readmeFilename": "README.md",
42
  "_id": "npmconf@0.0.23",
43
  "_from": "npmconf@0"
44
}