1 npm-docs(1) -- Docs for a package in a web browser maybe
2 ========================================================
6 npm docs [<pkgname> [<pkgname> ...]]
7 npm docs (with no args in a package dir)
8 npm home [<pkgname> [<pkgname> ...]]
9 npm home (with no args in a package dir)
13 This command tries to guess at the likely location of a package's
14 documentation URL, and then tries to open it using the `--browser`
15 config param. You can pass multiple package names at once. If no
16 package name is provided, it will search for a `package.json` in
17 the current folder and use the `name` property.
23 * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"`
26 The browser that is called by the `npm docs` command to open websites.
30 * Default: https://registry.npmjs.org/
33 The base URL of the npm package registry.