]> gerrit.simantics Code Review - simantics/district.git/blobdiff - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/lib/set.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / lib / set.js
diff --git a/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/lib/set.js b/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/lib/set.js
new file mode 100644 (file)
index 0000000..c83602e
--- /dev/null
@@ -0,0 +1,13 @@
+
+module.exports = set
+
+set.usage = "npm set <key> <value> (See `npm config`)"
+
+var npm = require("./npm.js")
+
+set.completion = npm.commands.config.completion
+
+function set (args, cb) {
+  if (!args.length) return cb(set.usage)
+  npm.commands.config(["set"].concat(args), cb)
+}