From d6639bba12a102c9fc08355912af3777e46e29c7 Mon Sep 17 00:00:00 2001 From: Bharatesh <64769271+bharateshwq@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:27:25 +0530 Subject: [PATCH] npm bugs: add page (#14500) Co-authored-by: Wiktor Perskawiec Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/npm-bugs.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/npm-bugs.md diff --git a/pages/common/npm-bugs.md b/pages/common/npm-bugs.md new file mode 100644 index 0000000000..b550630a51 --- /dev/null +++ b/pages/common/npm-bugs.md @@ -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: . + +- 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}}`