Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.js6
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)
+}