{"_id":"@esm2cjs/yocto-queue","name":"@esm2cjs/yocto-queue","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@esm2cjs/yocto-queue","version":"1.0.0","description":"Tiny queue data structure. This is a fork of sindresorhus/yocto-queue, but with CommonJS support.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/esm2cjs/yocto-queue.git"},"funding":"https://github.com/sponsors/AlCalzone","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./package.json":"./package.json"},"engines":{"node":">=12.20"},"scripts":{"//test":"xo && ava && tsd","test":"ava && tsd"},"keywords":["queue","data","structure","algorithm","queues","queuing","list","array","linkedlist","fifo","enqueue","dequeue","data-structure"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"publishConfig":{"access":"public"},"main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","typesVersions":{"*":{"esm/index.d.ts":["esm/index.d.ts"],"cjs/index.d.ts":["esm/index.d.ts"],"*":["esm/*"]}},"xo":{"ignores":["cjs","**/*.test-d.ts","**/*.d.ts"]},"gitHead":"5ca7bbdb3080f87d23c32d4303fa51b4b447bf8d","bugs":{"url":"https://github.com/esm2cjs/yocto-queue/issues"},"homepage":"https://github.com/esm2cjs/yocto-queue#readme","_id":"@esm2cjs/yocto-queue@1.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-bDqljAQBEJji4mZ4uuH27Zhr5OOoB6YWe/ccG8lt2ZTwZAeOAoS3wugsGQzVUZcxkBYonbXqi/1+rizbuU833A==","shasum":"b11486f3788929034a47ce504b013a8dbce10fdb","tarball":"https://registry.npmjs.org/@esm2cjs/yocto-queue/-/yocto-queue-1.0.0.tgz","fileCount":10,"unpackedSize":11878,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJQcY0INFGuY6p9zbjx1436iZFcJV+xBpOmYmmlta8KAiEAsuvDZJlTiiadXwkluydc00yJYKaEqF1PUQF+ZQ0A7Rs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBKmdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpICg//Vo8wO2AgnAHkduxD+2g1Oz+509ZCdyJ9Ae4GuhZAeWiA3bvx\r\nWajOCradry6XOh437iicAd3TaIUktyt2lPVSYyClCoy7gpKBrzCwQKSZFbXE\r\niRvCYasiUz0faj4m50kv9SYbVYSLQTP1qY1JUStEZOFdOlUmBJ9Abg8PfdFW\r\nFQaPRURK2U4ljuwXNDh4UcGkTO10C2cRvuA/Ajnn3AhcNYpQlQ+t1x5RXuR8\r\nZEm8eCK7APi8WjBkrU/g24ErxFzuvtoFyuX5gAp7JrecbRYUqXiSXS3iXtrt\r\nBHkzEYTpF35HTF0gmGW9b0FQ/5O4i4H97oayq8fYOIZym1GD3P5xl9T5eMnl\r\nYW42CSfySX5ptpYGWvtqI6Gq2NuTdF20CJ74DAiwV7SeJHNZGwkFRURdE0n4\r\nBhs147aUGkByf2AxxcsVDJyRDyIJlf+MQByORbz2sq8SnDrtE9/7grzYtSK2\r\ni062Gxvt8cidx3qetASojoFfYIDcuEXkDN0YXpFTgJeNfe4vyiCVKB9+Farc\r\n5Q9Bw7pi+4rFWeFANJIH+9FKs0axN+nxYL5RsPDlvcD8tvf47H87Dgvcw3ym\r\nzPrF4ZMsRT0OZDYRvGO/vzCjXV5JTG2AXfG41iyoY8affjQF7rKwv2ZIyBkw\r\nqhHeqPwq9aOyzWcE8vsx3JbGwGaPWfSdGgM=\r\n=3CHP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"directories":{},"maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yocto-queue_1.0.0_1661249948857_0.8325172610854816"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-23T10:19:08.803Z","1.0.0":"2022-08-23T10:19:09.012Z","modified":"2022-08-23T10:19:09.181Z"},"maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"description":"Tiny queue data structure. This is a fork of sindresorhus/yocto-queue, but with CommonJS support.","homepage":"https://github.com/esm2cjs/yocto-queue#readme","keywords":["queue","data","structure","algorithm","queues","queuing","list","array","linkedlist","fifo","enqueue","dequeue","data-structure"],"repository":{"type":"git","url":"git+https://github.com/esm2cjs/yocto-queue.git"},"author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"bugs":{"url":"https://github.com/esm2cjs/yocto-queue/issues"},"license":"MIT","readme":"# @esm2cjs/yocto-queue\n\nThis is a fork of https://github.com/sindresorhus/yocto-queue, but automatically patched to support ESM **and** CommonJS, unlike the original repository.\n\n## Install\n\nYou can use an npm alias to install this package under the original name:\n\n```\nnpm i yocto-queue@npm:@esm2cjs/yocto-queue\n```\n\n```jsonc\n// package.json\n\"dependencies\": {\n    \"yocto-queue\": \"npm:@esm2cjs/yocto-queue\"\n}\n```\n\nbut `npm` might dedupe this incorrectly when other packages depend on the replaced package. If you can, prefer using the scoped package directly:\n\n```\nnpm i @esm2cjs/yocto-queue\n```\n\n```jsonc\n// package.json\n\"dependencies\": {\n    \"@esm2cjs/yocto-queue\": \"^ver.si.on\"\n}\n```\n\n## Usage\n\n```js\n// Using ESM import syntax\nimport Queue from \"@esm2cjs/yocto-queue\";\n\n// Using CommonJS require()\nconst Queue = require(\"@esm2cjs/yocto-queue\").default;\n```\n\n> **Note:**\n> Because the original module uses `export default`, you need to append `.default` to the `require()` call.\n\nFor more details, please see the original [repository](https://github.com/sindresorhus/yocto-queue).\n\n## Sponsoring\n\nTo support my efforts in maintaining the ESM/CommonJS hybrid, please sponsor [here](https://github.com/sponsors/AlCalzone).\n\nTo support the original author of the module, please sponsor [here](https://github.com/sindresorhus/yocto-queue).\n","readmeFilename":"readme.md"}