Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
admin
/
installer
/
css
/
sass
/
sym404
/
root
/
opt
/
cpanel
/
ea-nodejs16
/
lib
/
node_modules
/
npm
/
lib
/
commands
:
root.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
const BaseCommand = require('../base-command.js') class Root extends BaseCommand { static description = 'Display npm root' static name = 'root' static params = ['global'] static ignoreImplicitWorkspace = true async exec () { this.npm.output(this.npm.dir) } } module.exports = Root