File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # npm repo
2+
3+ > Open the repository page of a package in the browser.
4+ > More information: < https://docs.npmjs.com/cli/npm-repo > .
5+
6+ - Open the repository page of the current project (based on ` package.json ` ):
7+
8+ ` npm repo `
9+
10+ - Open the repository page of a specific package from the registry:
11+
12+ ` npm repo {{package_name}} `
13+
14+ - Open repository pages for multiple packages:
15+
16+ ` npm repo {{package_name1 package_name2 ...}} `
17+
18+ - Print the repository URL instead of opening it in the browser:
19+
20+ ` npm repo --browser false `
21+
22+ - Open the repository page for a package in a specific browser:
23+
24+ ` npm repo --browser {{browser_name}} `
25+
26+ - Open the repository page of a package in a specific workspace:
27+
28+ ` npm repo --workspace {{workspace_name}} `
You can’t perform that action at this time.
0 commit comments