| .TH "NPM\-TAG" "3" "June 2016" "" "" |
| .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\fP 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\fP for programmatic usage or \fBman npm\-config\fP for cli usage\. |
| |