diff options
author | isaacs <i@izs.me> | 2013-07-11 12:25:45 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-07-11 12:25:45 +0400 |
commit | 420db7dd7c4a16a069391fc280d9065631a678ca (patch) | |
tree | 61fe6442fae2ef224df981b19362ae1dc9e0bd7e /doc/api/npm-commands.md | |
parent | c8596f30af057039934457694ac955224fa8b247 (diff) |
doc: organize into sections
Diffstat (limited to 'doc/api/npm-commands.md')
-rw-r--r-- | doc/api/npm-commands.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/api/npm-commands.md b/doc/api/npm-commands.md new file mode 100644 index 000000000..eb7545639 --- /dev/null +++ b/doc/api/npm-commands.md @@ -0,0 +1,22 @@ +npm-commands(3) -- npm commands +=============================== + +## SYNOPSIS + + npm.commands[<command>](args, callback) + +## DESCRIPTION + +npm comes with a full set of commands, and each of the commands takes a +similar set of arguments. + +In general, all commands on the command object take an **array** of positional +argument **strings**. The last argument to any function is a callback. Some +commands are special and take other optional arguments. + +All commands have their own man page. See `man npm-<command>` for command-line +usage, or `man 3 npm-<command>` for programmatic usage. + +## SEE ALSO + +* npm-index(1) |