File Explorer

/var/lang/lib/node_modules/npm/lib/commands

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

1 dir
67 files
root.js295 B · 15 lines
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