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
:
prefix.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
const BaseCommand = require('../base-command.js') class Prefix extends BaseCommand { static description = 'Display prefix' static name = 'prefix' static params = ['global'] static usage = ['[-g]'] static ignoreImplicitWorkspace = true async exec (args) { return this.npm.output(this.npm.prefix) } } module.exports = Prefix