NPM-TAG(3)
π NAME π
okay so bestie, this is npm-tag β the NPM-TAG(3) manual page β and it is literally here to tag a published version. periodt. π
β¨ SYNOPSIS β¨
npm.commands.tag(package@version, tag, callback)
π¦ DESCRIPTION π¦
It tags the specified version of the package with the specified tag, or the --tag config if not specified. slay. π
A few little deets, because we love clarity:
- The
'package@version'is an array of strings, but only the first two elements are currently used. no cap. - The first element must be in the form
package@version, wherepackageis the package name andversionis the version number (much like installing a specific version). iconic behavior, honestly. π - 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
man 3 npm-configfor programmatic usage orman npm-configfor cli usage. iykyk. π₯
bestie, that's the whole vibe: package version + tag name, and the config default steps in when the tag is missing or falsey. π
mwah π β signing off from March 2017, with the NPM-TAG(3) footer energy. π¦β¨
π¦ where this page comes from
- nixos 26.05: hueadm 1.2.1
- nixpkgs unstable: hueadm 1.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms