Merge remote-tracking branch 'upstream/v0.10'
[platform/upstream/nodejs.git] / deps / npm / doc / cli / repo.md
1 npm-repo(1) -- Open package repository page in the browser
2 ========================================================
3
4 ## SYNOPSIS
5
6     npm repo <pkgname>
7     npm repo (with no args in a package dir)
8
9 ## DESCRIPTION
10
11 This command tries to guess at the likely location of a package's
12 repository URL, and then tries to open it using the `--browser`
13 config param. If no package name is provided, it will search for
14 a `package.json` in the current folder and use the `name` property.
15
16 ## CONFIGURATION
17
18 ### browser
19
20 * Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"`
21 * Type: String
22
23 The browser that is called by the `npm repo` command to open websites.
24
25 ## SEE ALSO
26
27 * npm-docs(1)
28 * npm-config(1)