Linux command
npm-bugs 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Open package bugs page
npm bugs [package-name]
Open bugs for current project
npm bugs
说明
npm bugs guesses the package's bug tracker URL (or support email `mailto:`) from package metadata and opens it in a web browser. If no package is specified, it uses the `package.json` in the current directory. The alias npm issues does the same thing.
参数
- --browser _BROWSER_
- Browser to use; set to `false` to print the URL instead.
- --registry _URL_
- npm registry URL (default: https://registry.npmjs.org/).
- -w, --workspace _NAME_
- Run in the context of a specific workspace.
- --workspaces
- Run across all configured workspaces.
- --include-workspace-root
- Include the root project when using workspaces.
FAQ
What is the npm-bugs command used for?
npm bugs guesses the package's bug tracker URL (or support email `mailto:`) from package metadata and opens it in a web browser. If no package is specified, it uses the `package.json` in the current directory. The alias npm issues does the same thing.
How do I run a basic npm-bugs example?
Run `npm bugs [package-name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --browser _BROWSER_ do in npm-bugs?
Browser to use; set to `false` to print the URL instead.