{"name":"denque","version":"1.2.4","description":"The fastest javascript implementation of a double-ended queue. Maintains compatability with deque.","main":"index.js","engines":{"node":">=0.10"},"keywords":["data-structure","data-structures","queue","double","end","ended","deque","denque","double-ended-queue"],"scripts":{"test":"istanbul cover --report lcov _mocha","coveralls":"cat ./coverage/lcov.info | coveralls","benchmark_thousand":"node benchmark/thousand","benchmark_2mil":"node benchmark/two_million","benchmark_splice":"node benchmark/splice","benchmark_remove":"node benchmark/remove","benchmark_removeOne":"node benchmark/removeOne"},"repository":{"type":"git","url":"git+https://github.com/Salakar/denque.git"},"author":{"name":"Mike Diarmid","email":"mike.diarmid@gmail.com","url":"http://github.com/Salakar/"},"license":"APACHE-2.0","bugs":{"url":"https://github.com/Salakar/denque/issues"},"homepage":"https://github.com/Salakar/denque#readme","devDependencies":{"benchmark":"^2.1.0","coveralls":"^2.11.9","double-ended-queue":"^2.1.0-0","istanbul":"^0.4.4","mocha":"^2.5.3"},"gitHead":"3ecd05949ca85d60e9c80abe1a375b21ac50fac6","_id":"denque@1.2.4","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"salakar","email":"mike.diarmid@gmail.com"},"dist":{"integrity":"sha512-/VU7mVDHTVsLt2WbCwKJjz1EElceWJ9nyfnLpe/dWb3oIiRqJsd/Ae14m0dl17YdSOxSFGeyPpLBxMWFs7rc9g==","shasum":"1f0af7ad8d1a3def86c57335b45cbdfec3b62567","tarball":"http://registry-npm.ywwl.com/denque/download/denque-1.2.4.tgz","fileCount":4,"unpackedSize":21816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbB0msCRA9TVsSAnZWagAA69EP/3JnKYjDg4+cjredPxxO\ngSofUDfOj2jcR2jqgLuWKSuGkum2Ot+7ECVs4sVDrzqhufSMJddAh0khPj5H\nR7mgzvfxvVSgMoMiXSbXpUuYHYRN+wlUdgXV56HC6AOjQcs+gkIWnpCrUY8t\nr5bcM73r6OQ3SuSfKRK53qemrDzSxhNwj28m68hXnTQDvHhdT7rytsX3wUBG\npEULt3ymFC+g/f7sydiTlSBZ3vxA4jTYL8W9XfFb4xkgovqliyBiSHQSlqfH\nW1HaTmDphP01qt9nHTe+vp4D5WIqVBrACTP4q1dOE6wPRK9qFkUrp7l26+gf\nE5sVr0xcT7agH0JWJxqTUMAz7+0GmNc31lMqWz23VafP4wL/0kF9Gw7//YvN\n+ghb5vy0Yew76QODWtyhBqRv4TYreKTczO7STkQu5ghNVmKWyer0cbpaxRq1\nhzsdze9A4mZm3jpM01Dqi5eihKvivTywKxGEiWPmvWqo9Mbwy1JoVMoSMRok\nlD5ozIrGCPix89NRt1x6tnDvwrtzvghQiUq77iK8/13xIedI1ILfNKtBKGVY\nj4Yl4iOFvoJ7G7jNL2d8yZazpBTMBkS9/JiuE7JiIF1DJ0uAVVetjriPUZD4\niq1DYnXaE6RpZ9miYrrPwtk8Wr622h848zUtrr1W6LUeM87bokp/oGnMOa0C\n1ifk\r\n=gGY8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDhLQ9GubBd5JP7JJ4lRoqVVAkflw9UjRFyYfifjDDHAAiEAqCdr4Wi34LzMzggye4rRaXP8mE2rZ1y3P1UQdBawRjM="}],"size":5695,"noattachment":false,"key":"/denque/-/denque-1.2.4.tgz"},"maintainers":[{"name":"salakar","email":"mike.diarmid@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/denque_1.2.4_1527204266756_0.2344016504619597"},"_hasShrinkwrap":false,"readme":"<p align=\"center\">\n  <h1 align=\"center\">Denque</h1>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/denque\"><img src=\"https://img.shields.io/npm/dm/denque.svg?style=flat-square\" alt=\"NPM downloads\"></a>\n  <a href=\"https://www.npmjs.com/package/denque\"><img src=\"https://img.shields.io/npm/v/denque.svg?style=flat-square\" alt=\"NPM version\"></a>\n  <a href=\"https://github.com/invertase/denque/actions/workflows/testing.yam\"><img src=\"https://github.com/invertase/denque/actions/workflows/testing.yaml/badge.svg\" alt=\"Tests status\"></a>\n  <a href=\"https://codecov.io/gh/invertase/denque\"><img src=\"https://codecov.io/gh/invertase/denque/branch/master/graph/badge.svg?token=rn91iI4bSe\" alt=\"Coverage\"></a>\n  <a href=\"/LICENSE\"><img src=\"https://img.shields.io/npm/l/denque.svg?style=flat-square\" alt=\"License\"></a>\n  <a href=\"https://twitter.com/invertaseio\"><img src=\"https://img.shields.io/twitter/follow/invertaseio.svg?style=social&label=Follow\" alt=\"Follow on Twitter\"></a>\n</p>\n\nDenque is a well tested, extremely fast and lightweight [double-ended queue](http://en.wikipedia.org/wiki/Double-ended_queue)\nimplementation with zero dependencies and includes TypeScript types.\n\nDouble-ended queues can also be used as a:\n\n- [Stack](http://en.wikipedia.org/wiki/Stack_\\(abstract_data_type\\))\n- [Queue](http://en.wikipedia.org/wiki/Queue_\\(data_structure\\))\n\nThis implementation is currently the fastest available, even faster than `double-ended-queue`, see the [benchmarks](https://docs.page/invertase/denque/benchmarks).\n\nEvery queue operation is done at a constant `O(1)` - including random access from `.peekAt(index)`.\n\n**Works on all node versions >= v0.10**\n\n## Quick Start\n\nInstall the package:\n\n```bash\nnpm install denque\n```\n\nCreate and consume a queue:\n\n```js\nconst Denque = require(\"denque\");\n\nconst denque = new Denque([1,2,3,4]);\ndenque.shift(); // 1\ndenque.pop(); // 4\n```\n\n\nSee the [API reference documentation](https://docs.page/invertase/denque/api) for more examples.\n\n---\n\n## Who's using it?\n\n- [Kafka Node.js client](https://www.npmjs.com/package/kafka-node)\n- [MariaDB Node.js client](https://www.npmjs.com/package/mariadb)\n- [MongoDB Node.js client](https://www.npmjs.com/package/mongodb)\n- [MySQL Node.js client](https://www.npmjs.com/package/mysql2)\n- [Redis Node.js clients](https://www.npmjs.com/package/redis)\n\n... and [many more](https://www.npmjs.com/browse/depended/denque).\n\n\n---\n\n## License\n\n- See [LICENSE](/LICENSE)\n\n---\n\n<p align=\"center\">\n  <a href=\"https://invertase.io/?utm_source=readme&utm_medium=footer&utm_campaign=denque\">\n    <img width=\"75px\" src=\"https://static.invertase.io/assets/invertase/invertase-rounded-avatar.png\">\n  </a>\n  <p align=\"center\">\n    Built and maintained by <a href=\"https://invertase.io/?utm_source=readme&utm_medium=footer&utm_campaign=denque\">Invertase</a>.\n  </p>\n</p>\n","publish_time":1527204266823,"_cnpm_publish_time":1527204266823,"dist-tags":{"latest":"2.1.0"}}