mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
887 B
27 lines
887 B
.TH "NPM\-TAG" "3" "July 2015" "" ""
|
|
.SH "NAME"
|
|
\fBnpm-tag\fR \- Tag a published version
|
|
.SH SYNOPSIS
|
|
.P
|
|
.RS 2
|
|
.nf
|
|
npm\.commands\.tag(package@version, tag, callback)
|
|
.fi
|
|
.RE
|
|
.SH DESCRIPTION
|
|
.P
|
|
Tags the specified version of the package with the specified tag, or the
|
|
\fB\-\-tag\fR config if not specified\.
|
|
.P
|
|
The 'package@version' is an array of strings, but only the first two elements are
|
|
currently used\.
|
|
.P
|
|
The first element must be in the form package@version, where package
|
|
is the package name and version is the version number (much like installing a
|
|
specific version)\.
|
|
.P
|
|
The second element is the name of the tag to tag this version with\. If this
|
|
parameter is missing or falsey (empty), the default from the config will be
|
|
used\. For more information about how to set this config, check
|
|
\fBman 3 npm\-config\fR for programmatic usage or \fBman npm\-config\fR for cli usage\.
|
|
|
|
|