Skip to content

Commit d6639bb

Browse files
bharateshwqspageekttisebastiaanspeck
authoredNov 15, 2024··
npm bugs: add page (#14500)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
1 parent db57a04 commit d6639bb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
 

‎pages/common/npm-bugs.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# npm bugs
2+
3+
> Report bugs for a package in a web browser.
4+
> Attempts to open the package's bug tracker URL or support email.
5+
> More information: <https://docs.npmjs.com/cli/npm-bugs>.
6+
7+
- Report bugs for a specific package by opening the bug tracker for the specified package:
8+
9+
`npm bugs {{package_name}}`
10+
11+
- Open the bug tracker for the current package by searching for a `package.json` file and using its name:
12+
13+
`npm bugs`
14+
15+
- Configure the browser used to open URLs by setting your preferred browser for `npm` commands:
16+
17+
`npm config set browser {{browser_name}}`
18+
19+
- Control URL opening: set `browser` to `true` for the system URL opener, or `false` to print URLs in the terminal:
20+
21+
`npm config set browser {{true|false}}`

0 commit comments

Comments
 (0)
Please sign in to comment.