Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7
const npm = require('./npm.js') const output = require('./utils/output.js') const usageUtil = require('./utils/usage.js') const cmd = (args, cb) => prefix(args).then(() => cb()).catch(cb) const usage = usageUtil('prefix', 'npm prefix [-g]') const prefix = async (args, cb) => output(npm.prefix) module.exports = Object.assign(cmd, { usage })