D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
alt-nodejs22
/
root
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
commands
/
Filename :
root.js
back
Copy
const { output } = require('proc-log') const BaseCommand = require('../base-cmd.js') class Root extends BaseCommand { static description = 'Display npm root' static name = 'root' static params = ['global'] async exec () { output.standard(this.npm.dir) } } module.exports = Root