UnknownSec Bypass
403
:
/
home
/
ubuntu
/
.nvm
/
versions
/
node
/
v16.13.1
/
lib
/
node_modules
/
npm
/
lib
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
bin.js
const envPath = require('./utils/path.js') const BaseCommand = require('./base-command.js') class Bin extends BaseCommand { static get description () { return 'Display npm bin folder' } static get name () { return 'bin' } static get params () { return ['global'] } exec (args, cb) { this.bin(args).then(() => cb()).catch(cb) } async bin (args) { const b = this.npm.bin this.npm.output(b) if (this.npm.config.get('global') && !envPath.includes(b)) console.error('(not in PATH env variable)') } } module.exports = Bin
Copyright © 2025 - UnknownSec