Hacked By AnonymousFox

Current Path : /opt/alt/alt-nodejs22/root/usr/lib/node_modules/npm/node_modules.bundled/@npmcli/arborist/bin/
Upload File :
Current File : //opt/alt/alt-nodejs22/root/usr/lib/node_modules/npm/node_modules.bundled/@npmcli/arborist/bin/ideal.js

const Arborist = require('../')

const printTree = require('./lib/print-tree.js')

module.exports = (options, time) => new Arborist(options)
  .buildIdealTree(options)
  .then(time)
  .then(async ({ timing, result: tree }) => {
    printTree(tree)
    if (tree.meta && options.save) {
      await tree.meta.save()
    }
    return `resolved ${tree.inventory.size} deps in ${timing.seconds}`
  })

Hacked By AnonymousFox1.0, Coded By AnonymousFox