ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux server378.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 Current Path : /opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/node_modules.bundled/libcipm/lib/ |
| Current File : //opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/node_modules.bundled/libcipm/lib/worker.js |
'use strict'
const BB = require('bluebird')
// const log = require('npmlog')
const pacote = require('pacote')
module.exports = (args, cb) => {
const parsed = typeof args === 'string' ? JSON.parse(args) : args
const spec = parsed[0]
const extractTo = parsed[1]
const opts = parsed[2]
// opts.log = log
// log.level = opts.loglevel
return BB.resolve(pacote.extract(spec, extractTo, opts)).nodeify(cb)
}