diff options
Diffstat (limited to 'deps/npm/node_modules/npm-registry-client/lib/tag.js')
-rw-r--r-- | deps/npm/node_modules/npm-registry-client/lib/tag.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/npm/node_modules/npm-registry-client/lib/tag.js b/deps/npm/node_modules/npm-registry-client/lib/tag.js new file mode 100644 index 00000000000..96136b717de --- /dev/null +++ b/deps/npm/node_modules/npm-registry-client/lib/tag.js @@ -0,0 +1,6 @@ + +module.exports = tag + +function tag (project, version, tag, cb) { + this.request("PUT", project+"/"+tag, JSON.stringify(version), cb) +} |