Hacked By AnonymousFox

Current Path : /opt/alt/alt-nodejs22/root/usr/lib/node_modules/npm/node_modules.bundled/proggy/lib/
Upload File :
Current File : //opt/alt/alt-nodejs22/root/usr/lib/node_modules/npm/node_modules.bundled/proggy/lib/index.js

exports.Client = require('./client.js')
exports.Tracker = require('./tracker.js')

const trackers = new Map()
exports.createTracker = (name, key, total) => {
  const tracker = new exports.Tracker(name, key, total)
  if (trackers.has(tracker.key)) {
    const msg = `proggy: duplicate progress id ${JSON.stringify(tracker.key)}`
    throw new Error(msg)
  }
  trackers.set(tracker.key, tracker)
  tracker.on('done', () => trackers.delete(tracker.key))
  return tracker
}
exports.createClient = (options = {}) => new exports.Client(options)

Hacked By AnonymousFox1.0, Coded By AnonymousFox