2015-03-06 16:57:32 +08:00
|
|
|
.TH "NPM\-COMMANDS" "3" "March 2015" "" ""
|
2011-11-27 01:21:03 +08:00
|
|
|
.SH "NAME"
|
2014-09-25 05:41:07 +08:00
|
|
|
\fBnpm-commands\fR \- npm commands
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.P
|
|
|
|
.RS 2
|
2014-11-05 07:08:12 +08:00
|
|
|
.nf
|
2011-11-27 01:21:03 +08:00
|
|
|
npm\.commands[<command>](args, callback)
|
2014-11-05 07:08:12 +08:00
|
|
|
.fi
|
2014-09-25 05:41:07 +08:00
|
|
|
.RE
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.P
|
2011-11-27 01:21:03 +08:00
|
|
|
npm comes with a full set of commands, and each of the commands takes a
|
|
|
|
similar set of arguments\.
|
|
|
|
.P
|
|
|
|
In general, all commands on the command object take an \fBarray\fR of positional
|
|
|
|
argument \fBstrings\fR\|\. The last argument to any function is a callback\. Some
|
|
|
|
commands are special and take other optional arguments\.
|
|
|
|
.P
|
|
|
|
All commands have their own man page\. See \fBman npm\-<command>\fR for command\-line
|
|
|
|
usage, or \fBman 3 npm\-<command>\fR for programmatic usage\.
|
2014-09-25 05:41:07 +08:00
|
|
|
.SH SEE ALSO
|
|
|
|
.RS 0
|
|
|
|
.IP \(bu 2
|
2014-09-17 06:38:50 +08:00
|
|
|
npm help 7 index
|
2014-09-25 05:41:07 +08:00
|
|
|
|
|
|
|
.RE
|
2011-11-27 01:21:03 +08:00
|
|
|
|