UnknownSec Bypass
403
:
/
home
/
ubuntu
/
.nvm
/
versions
/
node
/
v16.13.1
/
lib
/
node_modules
/
npm
/
lib
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
root.js
const BaseCommand = require('./base-command.js') class Root extends BaseCommand { /* istanbul ignore next - see test/lib/load-all-commands.js */ static get description () { return 'Display npm root' } /* istanbul ignore next - see test/lib/load-all-commands.js */ static get name () { return 'root' } /* istanbul ignore next - see test/lib/load-all-commands.js */ static get params () { return ['global'] } exec (args, cb) { this.root(args).then(() => cb()).catch(cb) } async root () { this.npm.output(this.npm.dir) } } module.exports = Root
Copyright © 2025 - UnknownSec