Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
byp
/
izo
/
con7ext_sym404
/
rintoar.txt
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
@npmcli
/
arborist
/
bin
:
virtual.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
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}` })