/var/www/greso.tech/server/nsm/node_modules/.bin
NameSizeModeActions
acorn600755editdlrm
compileProtos121910755editdlrm
css-beautify720755editdlrm
editorconfig780755editdlrm
escodegen27100755editdlrm
esgenerate24150755editdlrm
esparse49480755editdlrm
esvalidate77440755editdlrm
gp12-pem6380755editdlrm
html-beautify720755editdlrm
js-beautify700755editdlrm
jsdoc27720755editdlrm
jsesc35410755editdlrm
markdown-it22920755editdlrm
marked44170755editdlrm
mime11960755editdlrm
minifyProtoJson26860755editdlrm
mkdirp18300755editdlrm
nopt12100755editdlrm
parser3280755editdlrm
pbjs2030755editdlrm
pbts2030755editdlrm
proto-loader-gen-types382550755editdlrm
qrcode36400755editdlrm
qrcode-svg410755editdlrm
resolve14730755editdlrm
rimraf18780755editdlrm
semver48230755editdlrm
sequelize29160755editdlrm
sequelize-cli29160755editdlrm
uglifyjs236620755editdlrm
uuid440755editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/mkdirp/bin/cmd.js (1830B)
#!/usr/bin/env node const usage = () => ` usage: mkdirp [DIR1,DIR2..] {OPTIONS} Create each supplied directory including any necessary parent directories that don't yet exist. If the directory already exists, do nothing. OPTIONS are: -m If a directory needs to be created, set the mode as an octal --mode= permission string. -v --version Print the mkdirp version number -h --help Print this helpful banner -p --print Print the first directories created for each path provided --manual Use manual implementation, even if native is available ` const dirs = [] const opts = {} let print = false let dashdash = false let manual = false for (const arg of process.argv.slice(2)) { if (dashdash) dirs.push(arg) else if (arg === '--') dashdash = true else if (arg === '--manual') manual = true else if (/^-h/.test(arg) || /^--help/.test(arg)) { console.log(usage()) process.exit(0) } else if (arg === '-v' || arg === '--version') { console.log(require('../package.json').version) process.exit(0) } else if (arg === '-p' || arg === '--print') { print = true } else if (/^-m/.test(arg) || /^--mode=/.test(arg)) { const mode = parseInt(arg.replace(/^(-m|--mode=)/, ''), 8) if (isNaN(mode)) { console.error(`invalid mode argument: ${arg}\nMust be an octal number.`) process.exit(1) } opts.mode = mode } else dirs.push(arg) } const mkdirp = require('../') const impl = manual ? mkdirp.manual : mkdirp if (dirs.length === 0) console.error(usage()) Promise.all(dirs.map(dir => impl(dir, opts))) .then(made => print ? made.forEach(m => m && console.log(m)) : null) .catch(er => { console.error(er.message) if (er.code) console.error(' code: ' + er.code) process.exit(1) })