]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/lib/prefix.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / lib / prefix.js
1 module.exports = prefix
2
3 var npm = require("./npm.js")
4
5 prefix.usage = "npm prefix\nnpm prefix -g\n(just prints the prefix folder)"
6
7 function prefix (args, silent, cb) {
8   if (typeof cb !== "function") cb = silent, silent = false
9   if (!silent) console.log(npm.prefix)
10   process.nextTick(cb.bind(this, null, npm.prefix))
11 }