]> gerrit.simantics Code Review - simantics/district.git/blob - npm-repo.3
bba8d38e4288e833a462937f3654d200fd837391
[simantics/district.git] / npm-repo.3
1 .TH "NPM\-REPO" "3" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-repo\fR \- Open package repository page in the browser
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm\.commands\.repo(package, callback)
9 .fi
10 .RE
11 .SH DESCRIPTION
12 .P
13 This command tries to guess at the likely location of a package's
14 repository URL, and then tries to open it using the \fB\-\-browser\fP
15 config param\.
16 .P
17 Like other commands, the first parameter is an array\. This command only
18 uses the first element, which is expected to be a package name with an
19 optional version number\.
20 .P
21 This command will launch a browser, so this command may not be the most
22 friendly for programmatic use\.
23