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
install-test.js370 B · 16 lines
const Install = require('./install.js') // npm install-test// Runs `npm install` and then runs `npm test`class InstallTest extends Install {  static description = 'Install package(s) and run tests'  static name = 'install-test'   async exec (args) {    await this.npm.exec('install', args)    return this.npm.exec('test', [])  }} module.exports = InstallTest