| .. | |||||
| lib | |||||
| actual.js | |||||
| audit.js | |||||
| funding.js | |||||
| ideal.js | |||||
| index.js | |||||
| license.js | |||||
| prune.js | |||||
| reify.js | |||||
| shrinkwrap.js | |||||
| 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}`
})
| .. | |||||
| lib | |||||
| actual.js | |||||
| audit.js | |||||
| funding.js | |||||
| ideal.js | |||||
| index.js | |||||
| license.js | |||||
| prune.js | |||||
| reify.js | |||||
| shrinkwrap.js | |||||
| virtual.js |