Permalink
Browse files

npmconf@0.0.10

  • Loading branch information...
1 parent d4b94c3 commit 3dc0e2797389c9937a026d23d29fbc7490b7820a @isaacs isaacs committed Aug 22, 2012
Showing with 8 additions and 4 deletions.
  1. +1 −0 node_modules/npmconf/config-defs.js
  2. +6 −3 node_modules/npmconf/package.json
  3. +1 −1 package.json
@@ -306,6 +306,7 @@ exports.types =
, viewer: String
, yes: [false, null, Boolean]
, _exit : Boolean
+ , _password: String
}
exports.shorthands =
@@ -1,6 +1,6 @@
{
"name": "npmconf",
- "version": "0.0.9",
+ "version": "0.0.10",
"description": "The config thing npm uses",
"main": "npmconf.js",
"directories": {
@@ -39,6 +39,9 @@
"nopt": "~2.0.0"
},
"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",
- "_id": "npmconf@0.0.9",
- "_from": "npmconf@~0.0.6"
+ "_id": "npmconf@0.0.10",
+ "dist": {
+ "shasum": "ca44e3fb565938753f7113f21baec96a27f2095d"
+ },
+ "_from": "npmconf@0.0.10"
}
View
@@ -68,7 +68,7 @@
"retry": "~0.6.0",
"couch-login": "~0.1.9",
"once": "~1.1.1",
- "npmconf": "0.0.9"
+ "npmconf": "0"
},
"bundleDependencies": [
"semver",

0 comments on commit 3dc0e27

Please sign in to comment.