diff options
Diffstat (limited to 'deps/npm/doc/cli/npm-docs.md')
-rw-r--r-- | deps/npm/doc/cli/npm-docs.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/deps/npm/doc/cli/npm-docs.md b/deps/npm/doc/cli/npm-docs.md index cece021f1..5db3d9f7e 100644 --- a/deps/npm/doc/cli/npm-docs.md +++ b/deps/npm/doc/cli/npm-docs.md @@ -3,17 +3,18 @@ npm-docs(1) -- Docs for a package in a web browser maybe ## SYNOPSIS - npm docs <pkgname> + npm docs [<pkgname> [<pkgname> ...]] npm docs (with no args in a package dir) - npm home <pkgname> + npm home [<pkgname> [<pkgname> ...]] npm home (with no args in a package dir) ## DESCRIPTION This command tries to guess at the likely location of a package's documentation URL, and then tries to open it using the `--browser` -config param. If no package name is provided, it will search for -a `package.json` in the current folder and use the `name` property. +config param. You can pass multiple package names at once. If no +package name is provided, it will search for a `package.json` in +the current folder and use the `name` property. ## CONFIGURATION |