npm: Upgrade to 1.3.19
[platform/upstream/nodejs.git] / deps / npm / man / man3 / npm.3
index 1cb69a8..984cb9b 100644 (file)
@@ -1,7 +1,7 @@
 .\" Generated with Ronnjs 0.3.8
 .\" http://github.com/kapouer/ronnjs/
 .
-.TH "NPM" "3" "December 2012" "" ""
+.TH "NPM" "3" "December 2013" "" ""
 .
 .SH "NAME"
 \fBnpm\fR \-\- node package manager
@@ -10,7 +10,7 @@
 .
 .nf
 var npm = require("npm")
-npm\.load(configObject, function (er, npm) {
+npm\.load([configObject], function (er, npm) {
   // use the npm object, now that it\'s loaded\.
   npm\.config\.set(key, val)
   val = npm\.config\.get(key)
@@ -21,22 +21,24 @@ npm\.load(configObject, function (er, npm) {
 .fi
 .
 .SH "VERSION"
-1.1.69
+1.3.19
 .
 .SH "DESCRIPTION"
 This is the API documentation for npm\.
 To find documentation of the command line
-client, see \fBnpm help npm\fR\|\.
+npm help client, see \fBnpm\fR\|\.
 .
 .P
-Prior to using npm\'s commands, \fBnpm\.load()\fR must be called with an object hash of
-top\-level configs\.  In the npm command line client,
-this set of configs is parsed from the command line options\.  Additional
-configuration params are loaded from two configuration files\.  See \fBnpm help config\fR for more information\.
+Prior to using npm\'s commands, \fBnpm\.load()\fR must be called\.
+If you provide \fBconfigObject\fR as an object hash of top\-level
+configs, they override the values stored in the various config
+locations\. In the npm command line client, this set of configs
+is parsed from the command line options\. Additional configuration
+npm help  npm help params are loaded from two configuration files\. See \fBnpm\-config\fR, \fBnpm\-confignpm help  \fR, and \fBnpmrc\fR for more information\.
 .
 .P
 After that, each of the functions are accessible in the
-commands object: \fBnpm\.commands\.<cmd>\fR\|\.  See \fBnpm help index\fR for a list of
+npm help  commands object: \fBnpm\.commands\.<cmd>\fR\|\.  See \fBnpm\-index\fR for a list of
 all possible commands\.
 .
 .P