Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
byp
/
izo
/
con7ext_sym404
/
rintoar.txt
/
opt
/
alt
/
alt-nodejs20
/
root
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
commands
:
root.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
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