1NPM-REPO(1) NPM-REPO(1)
2
3
4
6 npm-repo - Open package repository page in the browser
7
8 Synopsis
9 npm repo [<pkg>]
10
11 Description
12 This command tries to guess at the likely location of a package's
13 repository URL, and then tries to open it using the --browser config
14 param. If no package name is provided, it will search for a pack‐
15 age.json in the current folder and use the name property.
16
17 Configuration
18 browser
19 · Default: OS X: "open", Windows: "start", Others: "xdg-open"
20
21 · Type: String
22
23
24 The browser that is called by the npm repo command to open websites.
25
26 See Also
27 · npm help docs
28
29 · npm help config
30
31
32
33
34 March 2020 NPM-REPO(1)