{"_id":"basic-queue","_rev":"127-a0f7a478651051bc8a97f7e4ab0c821f","name":"basic-queue","description":"a basic queue with concurrency","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0":{"name":"basic-queue","version":"0.0.0","description":"a basic queue with concurrency","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git@github.com:mapbox/basic-queue.git"},"keywords":["queue","concurrency"],"author":{"name":"Konstatin Kaefer"},"license":"BSD","bugs":{"url":"https://github.com/mapbox/basic-queue/issues"},"_id":"basic-queue@0.0.0","dist":{"shasum":"3c62d7ffcf65fb4f017b5ff5489d31c4157895d6","tarball":"https://registry.npmjs.org/basic-queue/-/basic-queue-0.0.0.tgz","integrity":"sha512-vQKsV//vrKO0aXIc5u7BTvdpnfHHtn9omssdpCdG4eYk9H3KAgV2iC86Jt2mtcAejx6ZLvDvUDrSiExDtMg6DQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQDseDtmF7JJHlGLKgGBqg550YPxYZtT5k3MdsgsaBaAIgP+/u2T8Mhdhaw+wOWLZ8z8zcLabd04CHtBcvtKvIAd8="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"deprecated":"This module is now under the @mapbox namespace: install @mapbox/basic-queue instead","directories":{}},"1.0.0":{"name":"basic-queue","version":"1.0.0","description":"a basic queue with concurrency","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:mapbox/basic-queue.git"},"keywords":["queue","concurrency"],"author":{"name":"Konstantin Kaefer"},"license":"BSD","bugs":{"url":"https://github.com/mapbox/basic-queue/issues"},"devDependencies":{"mocha":"~1.12.0"},"_id":"basic-queue@1.0.0","dist":{"shasum":"ce2b08727a08b228dfd9ab57336be1396bf5cdd6","tarball":"https://registry.npmjs.org/basic-queue/-/basic-queue-1.0.0.tgz","integrity":"sha512-K3imf5lrz3MVyEkL2W6Uj3vkxK80yE4EIpy6V2e3anmqou6QWStR4OKezXMD6I0GL7TLf4klW6db58sbc5ha+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGP9YNXO8Jq490WrXQl4zWHGqTh+xZ9/PRoEp3irzjgvAiEA/kpp+cczrftJzg9swlvm25h4yxzMB5jx6PyHWINpPo0="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"willwhite","email":"will@mapbox.com"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"},{"name":"willwhite","email":"will@mapbox.com"}],"deprecated":"This module is now under the @mapbox namespace: install @mapbox/basic-queue instead","directories":{}},"1.0.1":{"name":"basic-queue","version":"1.0.1","description":"a basic queue with concurrency","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git@github.com:mapbox/basic-queue.git"},"keywords":["queue","concurrency"],"author":{"name":"Konstantin Kaefer"},"license":"BSD","bugs":{"url":"https://github.com/mapbox/basic-queue/issues"},"devDependencies":{"mocha":"~1.12.0"},"gitHead":"a7c2473ca595b36aeafa9afa29b4b07f6bbfcedc","homepage":"https://github.com/mapbox/basic-queue","_id":"basic-queue@1.0.1","_shasum":"d3c5adf7431c1485b638ce16d4c945055589c7f9","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.10.33","_npmUser":{"name":"rclark","email":"ryan.clark.j@gmail.com"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"},{"name":"willwhite","email":"will@mapbox.com"},{"name":"edenh","email":"eden@mapbox.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"dvncan","email":"duncan@mapbox.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"lxbarth","email":"alex@developmentseed.org"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"mapbox","email":"accounts@mapbox.com"},{"name":"springmeyer","email":"dane@mapbox.com"},{"name":"kkaefer","email":"kkaefer@gmail.com"},{"name":"dthompson","email":"dthompson@gmail.com"},{"name":"yhahn","email":"young@developmentseed.org"}],"dist":{"shasum":"d3c5adf7431c1485b638ce16d4c945055589c7f9","tarball":"https://registry.npmjs.org/basic-queue/-/basic-queue-1.0.1.tgz","integrity":"sha512-+6WgUPdMO8WtIUJtASJXxp1hhy0L+cYI4Vdxok+HtatmAr5z+SKjj0B6xWxEpVk+lZ5vGQidcdTqJnhTAhE5CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChN+LdXh8Qu+Pk2sfOpOr3jWxQV3nQUvQBtazqVp43JQIgPDnpewO0I50hAqtqN+eh4ZkMpxOcP67BS67MNNx0Q/0="}]},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/basic-queue instead","directories":{}}},"readme":"# basic-queue\n\n## example\n\n```js\nvar Queue = require('basic-queue');\nvar q = new Queue(request, concurrency / numWorkers);\n\nfunction request() {\n    q.add();\n}\n```\n\n## api\n\n`q = Queue(callback, concurrency)`\n\n`callback` is the function that this queue runs. Concurrency is how\nmany simultaneous jobs should run of that function. `callback` will receive `object` and\n`callback` as arguments. If `callback` is a call with an error as a first\nargument, the queue will emit an error event.\n\n`q.add()`\n\nTell the queue to start a new job if it isn't over the concurrency\nlimit.\n","maintainers":[{"email":"accounts@mapbox.com","name":"mapbox-admin"}],"time":{"modified":"2022-09-19T23:54:17.436Z","created":"2013-07-22T14:23:29.795Z","0.0.0":"2013-07-22T14:23:30.983Z","1.0.0":"2013-08-28T15:46:42.586Z","1.0.1":"2015-01-16T19:03:58.840Z"},"author":{"name":"Konstantin Kaefer"},"repository":{"type":"git","url":"git@github.com:mapbox/basic-queue.git"},"keywords":["queue","concurrency"],"bugs":{"url":"https://github.com/mapbox/basic-queue/issues"},"license":"BSD","readmeFilename":"README.md","homepage":"https://github.com/mapbox/basic-queue","users":{"leonning":true}}