mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 07:35:24 +02:00
npm bugs: add page (#14500)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
db57a04e88
commit
d6639bba12
1 changed files with 21 additions and 0 deletions
21
pages/common/npm-bugs.md
Normal file
21
pages/common/npm-bugs.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# npm bugs
|
||||
|
||||
> Report bugs for a package in a web browser.
|
||||
> Attempts to open the package's bug tracker URL or support email.
|
||||
> More information: <https://docs.npmjs.com/cli/npm-bugs>.
|
||||
|
||||
- Report bugs for a specific package by opening the bug tracker for the specified package:
|
||||
|
||||
`npm bugs {{package_name}}`
|
||||
|
||||
- Open the bug tracker for the current package by searching for a `package.json` file and using its name:
|
||||
|
||||
`npm bugs`
|
||||
|
||||
- Configure the browser used to open URLs by setting your preferred browser for `npm` commands:
|
||||
|
||||
`npm config set browser {{browser_name}}`
|
||||
|
||||
- Control URL opening: set `browser` to `true` for the system URL opener, or `false` to print URLs in the terminal:
|
||||
|
||||
`npm config set browser {{true|false}}`
|
Loading…
Add table
Reference in a new issue