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
restart.js303 B · 14 lines
const LifecycleCmd = require('../lifecycle-cmd.js') // This ends up calling run(['restart', ...args])class Restart extends LifecycleCmd {  static description = 'Restart a package'  static name = 'restart'  static params = [    'ignore-scripts',    'script-shell',  ]} module.exports = Restart