BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
.
/
lib
/
node_modules
/
npm
/
node_modules
/
@npmcli
/
arborist
/
bin
📤 Upload
📝 New File
📁 New Folder
Close
Editing: virtual.js
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}` })
Save
Cancel