File Explorer

/proc/thread-self/root/var/lang/lib/node_modules/npm/node_modules/@npmcli/arborist/bin

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 /.

virtual.js364 B · 15 lines
const Arborist = require('../') const printTree = require('./lib/print-tree.js') module.exports = (options, time) => new Arborist(options)  .loadVirtual()  .then(time)  .then(async ({ timing, result: tree }) => {    printTree(tree)    if (options.save) {      await tree.meta.save()    }    return `read ${tree.inventory.size} deps in ${timing.ms}`  })