mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 12:40:05 +02:00
update packages to latest version
This commit is contained in:
11
node_modules/npm/lib/root.js
generated
vendored
Normal file
11
node_modules/npm/lib/root.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports = root
|
||||
|
||||
var npm = require("./npm.js")
|
||||
|
||||
root.usage = "npm root\nnpm root -g\n(just prints the root folder)"
|
||||
|
||||
function root (args, silent, cb) {
|
||||
if (typeof cb !== "function") cb = silent, silent = false
|
||||
if (!silent) console.log(npm.dir)
|
||||
process.nextTick(cb.bind(this, null, npm.dir))
|
||||
}
|
Reference in New Issue
Block a user