npm CLI
CLI Commands
npmnpm accessnpm addusernpm auditnpm binnpm bugsnpm cachenpm cinpm completionnpm confignpm dedupenpm deprecatenpm diffnpm dist-tagnpm docsnpm doctornpm editnpm execnpm explainnpm explorenpm find-dupesnpm fundnpm helpnpm help-searchnpm hooknpm initnpm installnpm install-ci-testnpm install-testnpm linknpm logoutnpm lsnpm orgnpm outdatednpm ownernpm packnpm pingnpm pkgnpm prefixnpm profilenpm prunenpm publishnpm rebuildnpm reponpm restartnpm rootnpm run-scriptnpm searchnpm set-scriptnpm shrinkwrapnpm starnpm starsnpm startnpm stopnpm teamnpm testnpm tokennpm uninstallnpm unpublishnpm unstarnpm updatenpm versionnpm viewnpm whoaminpx
npm-bugs
Report bugs for a package in a web browserTable of contents
Table of contents
Synopsis
npm bugs [<pkgname> [<pkgname> ...]]aliases: issues
Description
This command tries to guess at the likely location of a package's bug
tracker URL or the mailto
URL of the support email, 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.
Configuration
browser
- Default: OS X:
"open"
, Windows:"start"
, Others:"xdg-open"
- Type: null, Boolean, or String
The browser that is called by npm commands 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.
registry
- Default: "https://registry.npmjs.org/"
- Type: URL
The base URL of the npm registry.