diff options
Diffstat (limited to 'docs/content/cli-commands/npm-repo.md')
-rw-r--r-- | docs/content/cli-commands/npm-repo.md | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/content/cli-commands/npm-repo.md b/docs/content/cli-commands/npm-repo.md index 48021d9af..04544347c 100644 --- a/docs/content/cli-commands/npm-repo.md +++ b/docs/content/cli-commands/npm-repo.md @@ -11,7 +11,7 @@ description: Open package repository page in the browser ### Synopsis ```bash -npm repo [<pkg>] +npm repo [<pkgname> [<pkgname> ...]] ``` ### Description @@ -26,10 +26,15 @@ a `package.json` in the current folder and use the `name` property. #### browser * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"` -* Type: String +* Type: String or Boolean The browser that is called by the `npm repo` command to open websites. +Set to `false` to suppress browser behavior and instead print urls to +terminal. + +Set to `true` to use default system URL opener. + ### See Also * [npm docs](/cli-commands/docs) |