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 :
prefix.js
back
Copy
const { output } = require('proc-log') const BaseCommand = require('../base-cmd.js') class Prefix extends BaseCommand { static description = 'Display prefix' static name = 'prefix' static params = ['global'] static usage = ['[-g]'] async exec () { return output.standard(this.npm.prefix) } } module.exports = Prefix