{"_id":"data-queue","_rev":"3-916ac499e7f6ba87d189d6693b010327","name":"data-queue","description":"Queue and get data","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"data-queue","version":"0.0.1","description":"Queue and get data","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["queue","data","buffer","async"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MIT","_id":"data-queue@0.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"mkg20001","email":"mkg20001@gmail.com"},"dist":{"integrity":"sha512-xOKWSdAgrR99+XsFl/kZxhJQXwmU2xc9OAi+pcL3eZqgvYPfNUPCWkb5ckbIi19MSJW1F6b1jbaeEr5R3FYzTA==","shasum":"e12c1f04dfd04dd3093ee644ed24e6b34425547e","tarball":"https://registry.npmjs.org/data-queue/-/data-queue-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDsOAKntf101S6OxH7jBHRZt8+00JBNjGZ3hIlCjWxC0AiAgdCu57Mj+ghn/g79c7rpiPjg6SxjrUP/2Alw35FXDlg=="}]},"maintainers":[{"name":"mkg20001","email":"mkg20001@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-queue-0.0.1.tgz_1502468456200_0.8573774003889412"}},"0.0.2":{"name":"data-queue","version":"0.0.2","description":"Queue and get data","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["queue","data","buffer","async"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mkg20001/data-queue.git"},"bugs":{"url":"https://github.com/mkg20001/data-queue/issues"},"homepage":"https://github.com/mkg20001/data-queue#readme","gitHead":"872d93d37b09b239788d36857594091d01bb07ce","_id":"data-queue@0.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"mkg20001","email":"mkg20001@gmail.com"},"dist":{"integrity":"sha512-MCaFAuhyZ9TzEa2BpEhCBgEiy8PIWlPAP1W1QhMMEp/EyJ5lLGVO5hFre+GhPo+wDuutnfQgSmXwq9PfnfavoQ==","shasum":"47bbed5e63a281a1dac5086ae32708f200a8c721","tarball":"https://registry.npmjs.org/data-queue/-/data-queue-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGs08m9/migFR3JIGWT9v5f3NwDRj/wZZaK7lnIU+PLDAiBkBem2IUIUMrzHQx6JUUQrMa1KSUHoUhDwAdfKIkd6aw=="}]},"maintainers":[{"name":"mkg20001","email":"mkg20001@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-queue-0.0.2.tgz_1502469414812_0.6266754085663706"}},"0.0.3":{"name":"data-queue","version":"0.0.3","description":"Queue and get data","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["queue","data","buffer","async"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/mkg20001/data-queue.git"},"bugs":{"url":"https://github.com/mkg20001/data-queue/issues"},"homepage":"https://github.com/mkg20001/data-queue#readme","gitHead":"d827168c59032bce48989d6b9341013d00cc71ec","_id":"data-queue@0.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mkg20001","email":"mkg20001@gmail.com"},"dist":{"integrity":"sha512-6YOUFa/+lXklPO42RF4zIzzphG01Jp1eoWolzkQb6z5oVsSThLibZ63VmAze3KuIMTglFt551q8j0Zaswx5vGQ==","shasum":"47ab5b634d4a3bbf7bb4ab625a4175b8cf9d44b1","tarball":"https://registry.npmjs.org/data-queue/-/data-queue-0.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWKar8b7Z63lQAAuNcwUz7sxUCz6xfhxXWlQ7RThKdfAiEAuivuSivigUw3X+BUuikHCrmysgaHcNPk7nbpwwKLilU="}]},"maintainers":[{"name":"mkg20001","email":"mkg20001@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-queue-0.0.3.tgz_1510657821216_0.6290881680324674"}}},"readme":"# data-queue\nQueue and get data\n\n# Usage\n```js\nconst Queue = require(\"data-queue\")\n\nconst queue = Queue() //create without new\n\nqueue.get((err, data) => { //this will wait for .append()/.prepend() or .error() calls\n  console.log(data)\n  queue.get((err, data) => {\n    if (err) throw err //Throw the error\n  })\n})\n\nqueue.append(\"Hi there\")\n\nqueue.error(new Error(\"Something fatal happened\"))\n\nqueue.append(\"What's up?\") //This won't append the data. instead it will return the error\n\nconsole.log(queue.height()) //This gets the number of items in the queue\n```\n","maintainers":[{"name":"mkg20001","email":"mkg20001@gmail.com"}],"time":{"modified":"2022-04-28T04:53:18.993Z","created":"2017-08-11T16:20:57.073Z","0.0.1":"2017-08-11T16:20:57.073Z","0.0.2":"2017-08-11T16:36:55.764Z","0.0.3":"2017-11-14T11:10:22.072Z"},"keywords":["queue","data","buffer","async"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/mkg20001/data-queue#readme","repository":{"type":"git","url":"git+https://github.com/mkg20001/data-queue.git"},"bugs":{"url":"https://github.com/mkg20001/data-queue/issues"}}