diff options
Diffstat (limited to 'lib/prefix.js')
-rw-r--r-- | lib/prefix.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/prefix.js b/lib/prefix.js new file mode 100644 index 000000000..aebe1993a --- /dev/null +++ b/lib/prefix.js @@ -0,0 +1,8 @@ +module.exports = prefix + +var npm = require("../npm") + , output = require("./utils/output") + +function prefix (args, cb) { + output.write(npm.config.get("outfd"), npm.prefix, cb) +} |