summaryrefslogtreecommitdiff
path: root/deps/npm/man/man3/npm-config.3
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man3/npm-config.3')
-rw-r--r--deps/npm/man/man3/npm-config.382
1 files changed, 31 insertions, 51 deletions
diff --git a/deps/npm/man/man3/npm-config.3 b/deps/npm/man/man3/npm-config.3
index 578b939a63..0e8e3641a4 100644
--- a/deps/npm/man/man3/npm-config.3
+++ b/deps/npm/man/man3/npm-config.3
@@ -1,69 +1,49 @@
-.\" Generated with Ronnjs 0.3.8
-.\" http://github.com/kapouer/ronnjs/
-.
.TH "NPM\-CONFIG" "3" "September 2014" "" ""
-.
.SH "NAME"
-\fBnpm-config\fR \-\- Manage the npm configuration files
-.
-.SH "SYNOPSIS"
-.
-.nf
+\fBnpm-config\fR \- Manage the npm configuration files
+.SH SYNOPSIS
+.P
+.RS 2
+.EX
npm\.commands\.config(args, callback)
var val = npm\.config\.get(key)
npm\.config\.set(key, val)
-.
-.fi
-.
-.SH "DESCRIPTION"
+.EE
+.RE
+.SH DESCRIPTION
+.P
This function acts much the same way as the command\-line version\. The first
element in the array tells config what to do\. Possible values are:
-.
-.IP "\(bu" 4
+.RS 0
+.IP \(bu 2
\fBset\fR
-.
-.IP
-Sets a config parameter\. The second element in \fBargs\fR is interpreted as the
-key, and the third element is interpreted as the value\.
-.
-.IP "\(bu" 4
+ Sets a config parameter\. The second element in \fBargs\fR is interpreted as the
+ key, and the third element is interpreted as the value\.
+.IP \(bu 2
\fBget\fR
-.
-.IP
-Gets the value of a config parameter\. The second element in \fBargs\fR is the
-key to get the value of\.
-.
-.IP "\(bu" 4
+ Gets the value of a config parameter\. The second element in \fBargs\fR is the
+ key to get the value of\.
+.IP \(bu 2
\fBdelete\fR (\fBrm\fR or \fBdel\fR)
-.
-.IP
-Deletes a parameter from the config\. The second element in \fBargs\fR is the
-key to delete\.
-.
-.IP "\(bu" 4
+ Deletes a parameter from the config\. The second element in \fBargs\fR is the
+ key to delete\.
+.IP \(bu 2
\fBlist\fR (\fBls\fR)
-.
-.IP
-Show all configs that aren\'t secret\. No parameters necessary\.
-.
-.IP "\(bu" 4
+ Show all configs that aren't secret\. No parameters necessary\.
+.IP \(bu 2
\fBedit\fR:
-.
-.IP
-Opens the config file in the default editor\. This command isn\'t very useful
-programmatically, but it is made available\.
-.
-.IP "" 0
-.
+ Opens the config file in the default editor\. This command isn't very useful
+ programmatically, but it is made available\.
+
+.RE
.P
To programmatically access npm configuration settings, or set them for
the duration of a program, use the \fBnpm\.config\.set\fR and \fBnpm\.config\.get\fR
functions instead\.
-.
-.SH "SEE ALSO"
-.
-.IP "\(bu" 4
+.SH SEE ALSO
+.RS 0
+.IP \(bu 2
npm apihelp npm
-.
-.IP "" 0
+
+.RE