{"_id":"fifo","_rev":"24-45b59fccfd0780671d09518ff851bd7e","name":"fifo","description":"FIFO queue implemented using a double linked-list","dist-tags":{"latest":"2.4.1"},"versions":{"0.1.0":{"name":"fifo","version":"0.1.0","repository":{"type":"git","url":"git://github.com/mafintosh/fifo"},"license":"MIT","description":"FIFO queue","keywords":["queue","linked","list","fifo","data","structure"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"_id":"fifo@0.1.0","dist":{"shasum":"353ff9c8ea38890b549a0267631742d54dccf2a4","tarball":"https://registry.npmjs.org/fifo/-/fifo-0.1.0.tgz","integrity":"sha512-SZoJVvD3azvxFTgFHzVocDkwcPp6alVDk3DKWqKe44qel3KEMFEazRjKIzY37TuU1QJGIQ80ihgrPzI8D3Lo1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC49tISZqgflNSv+OraFhV1VuYxgBOPXDz0feGu9hVg0AiBhQ+e5gSBrdADCDycbNoD1bOmeNi0jrVd+9qyMDPMVgQ=="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.1.1":{"name":"fifo","version":"0.1.1","repository":{"type":"git","url":"git://github.com/mafintosh/fifo"},"license":"MIT","description":"FIFO queue","keywords":["queue","linked","list","fifo","data","structure"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"_id":"fifo@0.1.1","dist":{"shasum":"ef6b60567c44174582820c7e90230a1a174340a8","tarball":"https://registry.npmjs.org/fifo/-/fifo-0.1.1.tgz","integrity":"sha512-IAwrJGHZ96YqmWlTCuCNPK/YJpOoVafzQzQ9dTrTFm5A2i5lO2DgNGRA7/QZlFaywVHAZ0QywLHBvFbeyYfGWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZpjVrDTyBIOq7cnLkIQGK8jG0y1uyxP71cITD0rF0jAiEAxI4Jo1YPNOFQ1L+fSrFvE82aMUXCYOY6oseKxEhEsSQ="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.1.2":{"name":"fifo","version":"0.1.2","repository":{"type":"git","url":"git://github.com/mafintosh/fifo"},"license":"MIT","description":"FIFO queue","keywords":["queue","linked","list","fifo","data","structure"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"_id":"fifo@0.1.2","dist":{"shasum":"0c0a2352703c4541ac48274e7c101e80afe3b830","tarball":"https://registry.npmjs.org/fifo/-/fifo-0.1.2.tgz","integrity":"sha512-d5dLC5uGkkN+hCHJFkNHfpMib9KsjOiHaOwQQ6j5fk/op/Z1TmWxoAMr4iBJZnmZTm5Wj0Pyim5WDX6/8caSFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn6F31elFH8buBo4KnHN9CWJEjFZY6Ywkf/laO3cXg8gIgSJdoTBRsjbYqY2JBR7uRVQ+D864SJFFN67OZwizNo6c="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.1.3":{"name":"fifo","version":"0.1.3","repository":{"type":"git","url":"git://github.com/mafintosh/fifo"},"license":"MIT","description":"FIFO queue","keywords":["queue","linked","list","fifo","data","structure"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"_id":"fifo@0.1.3","dist":{"shasum":"85b0c559c83f74802b3de998ca1775310ca339a7","tarball":"https://registry.npmjs.org/fifo/-/fifo-0.1.3.tgz","integrity":"sha512-OE+MLQ/PVp61kHSyIPFwvMbO/c2d5SpcFJyeb4U6kxNRF58izJMo+XLIW+LmqlvdWtZ+7RZi6TnoeNhG5K/hGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXk7aO1iP2gYdMsH+cCowQLDLu21TjRC/CxWpygkZr5QIgBEuthVQ59Rc9hxyI1TzVdN12VymthuTHdJwqsp8rVz0="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.1.4":{"name":"fifo","version":"0.1.4","repository":{"type":"git","url":"git://github.com/mafintosh/fifo"},"license":"MIT","description":"FIFO queue","keywords":["queue","linked","list","fifo","data","structure"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"_id":"fifo@0.1.4","dist":{"shasum":"bf42d87c0ad07b00d0949d12388f6289606ece34","tarball":"https://registry.npmjs.org/fifo/-/fifo-0.1.4.tgz","integrity":"sha512-CpKgwraLo4YWY9cUEICNJ1WcOVR2WE1Jvot3Nvr7FGBiGOKgkn1CmF4zuCl9VxvEh1nQsdYXtQg+V0etPiED6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2rUSKFM4QZrqDBTTrp4GCmiwUkPaHggv1m0+VJso2hAiEAw4PlFMrnizCHdSo93+ytQNStfOQIzdIhL08JPVITftA="}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.2.0":{"name":"fifo","version":"0.2.0","repository":{"type":"git","url":"git://github.com/mafintosh/fifo"},"license":"MIT","description":"FIFO queue","keywords":["queue","linked","list","fifo","data","structure"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"_id":"fifo@0.2.0","dist":{"shasum":"422f192909f1684ec6d48d7e008ab85067aa2356","tarball":"https://registry.npmjs.org/fifo/-/fifo-0.2.0.tgz","integrity":"sha512-oNeWN0QYE8S6tV50/p642TGOK6HhixBxk662klSIjOt0NdEDH06DySC5JJszrru8rzkkdpCVyvDzFzceZxm9nA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFkpX56bPCAUpbezJLFD5Rzltpa1Nr77cWOfl4In+tCDAiEAhpm9xBs3mtXdy3v6Qh7tzq6PCUuWpAVoVaskbSqbPEA="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"2.0.0":{"name":"fifo","version":"2.0.0","repository":{"type":"git","url":"git://github.com/mafintosh/fifo"},"license":"MIT","scripts":{"test":"tape test.js"},"description":"FIFO queue","keywords":["queue","linked","list","fifo","data","structure"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"devDependencies":{"tape":"^3.0.3"},"gitHead":"ec037e0829e6bd02d38a25fa8031bd62309aeacc","bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"homepage":"https://github.com/mafintosh/fifo","_id":"fifo@2.0.0","_shasum":"82755307c1aa64c27e94e3295d3748cbf2834999","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.10.35","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"82755307c1aa64c27e94e3295d3748cbf2834999","tarball":"https://registry.npmjs.org/fifo/-/fifo-2.0.0.tgz","integrity":"sha512-UajN4gn4ZEYrwcwLdGLd6T2gwbtJmDQQX/BKO7cEwHWSzJP6yxxnwvM9cgSnAsmfjs45zOQ8kU3JTEZkh2fLQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6cSYUVN+I3v/moD6NCyLVT39Om1BiSJWRgW7A9msupAIgbM8qz8xr4ZZc4VDFrtPVbOAIpxiI8L0beF0aO44ibiA="}]},"directories":{}},"2.1.0":{"name":"fifo","version":"2.1.0","repository":{"type":"git","url":"git://github.com/mafintosh/fifo"},"license":"MIT","scripts":{"test":"tape test.js"},"description":"FIFO queue","keywords":["queue","linked","list","fifo","data","structure"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"devDependencies":{"tape":"^3.0.3"},"gitHead":"b1e9b11c23c820790c6ef379ac7a3b850eae3bb1","bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"homepage":"https://github.com/mafintosh/fifo","_id":"fifo@2.1.0","_shasum":"4a772a12133b1d2603c5b5af0f3260a8e29b7f79","_from":".","_npmVersion":"2.7.5","_nodeVersion":"1.6.4","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"4a772a12133b1d2603c5b5af0f3260a8e29b7f79","tarball":"https://registry.npmjs.org/fifo/-/fifo-2.1.0.tgz","integrity":"sha512-jSWZFO9qdxUaVQqn3nz/FX6Wam70nldrZcSk0oY36+liB8z4HH2vZ3olP+sa22zBk47UdqWDWbZxKn9CFgyNDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFj+lrrLMzzNfRmdD2PDY2zerUTH10rnFKtmqdOhi+Q9AiEA/2m/1dYVRSA3LRsk0x5jqSWyqiu3w3lH3vaFGELL7ZU="}]},"directories":{}},"2.2.0":{"name":"fifo","version":"2.2.0","description":"FIFO queue implemented using a double linked-list","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.2.2"},"repository":{"type":"git","url":"https://github.com/mafintosh/fifo.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"homepage":"https://github.com/mafintosh/fifo","gitHead":"710442b1f192fbd63319afd14914f39feb4cd360","_id":"fifo@2.2.0","scripts":{},"_shasum":"6948b9334aaa33a8b01a05ce6b30a29b1ff310df","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"6948b9334aaa33a8b01a05ce6b30a29b1ff310df","tarball":"https://registry.npmjs.org/fifo/-/fifo-2.2.0.tgz","integrity":"sha512-WdHwSDzfsoEgzOxmteMhL7IHJDwMTJIDP7dzYNdZIhnrPnSdqlueSnA4MJqP9PgwlbTYqQBWvTDb5KbcptXIMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBHXWKBWSe+WQVlmBLcqHf1ynDevban3V8kJ1BviCf6EAiBYceoItvp+FicdYf8IzkEqW12bliaRI/S/NoEGSKkshQ=="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"2.2.1":{"name":"fifo","version":"2.2.1","description":"FIFO queue implemented using a double linked-list","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.2.2"},"repository":{"type":"git","url":"https://github.com/mafintosh/fifo.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"homepage":"https://github.com/mafintosh/fifo","gitHead":"056efba06fa17fae62a3d7adca947832ee11f581","_id":"fifo@2.2.1","scripts":{},"_shasum":"e4a49d7446566c3cfb3a05cb6e72217d7dc81a21","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"e4a49d7446566c3cfb3a05cb6e72217d7dc81a21","tarball":"https://registry.npmjs.org/fifo/-/fifo-2.2.1.tgz","integrity":"sha512-oCtxNxgmClarDOSZ6KDByAajbutNd9Vhc2zpzELtCnd/yT9YA9DSF1+rw/yTLysi/fpvJt7T/Ke70GwvLFHuFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSydqg2MmeOqNWAyek12ypy4Vib0Uo7nxd4R3rmHhCwAiBuHREfye3+ChtiYNOo4NIKip6njAWwOUDVxgCKk13LMA=="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"2.3.0":{"name":"fifo","version":"2.3.0","description":"FIFO queue implemented using a double linked-list","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.2.2"},"repository":{"type":"git","url":"https://github.com/mafintosh/fifo.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"homepage":"https://github.com/mafintosh/fifo","gitHead":"5525195f3a89c0c14659acb279219961d13335ac","_id":"fifo@2.3.0","scripts":{},"_shasum":"182de8dd0632aa47cf6816d9bc4323317d5259dc","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"182de8dd0632aa47cf6816d9bc4323317d5259dc","tarball":"https://registry.npmjs.org/fifo/-/fifo-2.3.0.tgz","integrity":"sha512-1ARYUEqd+hlqHBFGROoePtgNSg1I0Ro7uoTnEGseugNkvZmbGGahxu35aoGJc8d8lm85bPkD5e37LiDtsU/fyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFoathRtQY2N62AScCKBr8R8CCpjOmuXdBWA9xzAcVjAIhALmmdO7mUNcBto9ukNdPNocaHqdyc1wJPfHOcwAmhN5t"}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"2.4.0":{"name":"fifo","version":"2.4.0","description":"FIFO queue implemented using a double linked-list","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.2.2"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/fifo.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"contributors":[{"name":"Gabriel Castilho","email":"castilho.gabriel14@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"homepage":"https://github.com/mafintosh/fifo","gitHead":"6ff7eaf25e2ac0c5576e3b7ac74c44eb0077cd5e","_id":"fifo@2.4.0","_nodeVersion":"16.1.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-4wWD6VDJgRQuZLdw6YfJkT6pEYf2SDD2IO7Lq4xj9gRd9KSpDiuvsjmyQW6ng7bxF3hDjR4X8Hr1q2c0TO4oKQ==","shasum":"7743d390357da3680e44d2651923a6270119f6eb","tarball":"https://registry.npmjs.org/fifo/-/fifo-2.4.0.tgz","fileCount":7,"unpackedSize":10377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg409LCRA9TVsSAnZWagAA/YIP/RMepBmboqVMs1mH87j9\nE9yXHqeW19L6/ozAQfO/7ymuAsl/zcrYK68crDctG37xObHvhWPJxBlSDkdZ\nMKlKbja3w6A5RyXgFqAMr0A1KJxpUojMGtGRQWzUwPLYbIWR+6VMTRgmTqMd\n1PUTT1uP1N7Yf8qfohaOBJSEf9jXB2fldyeO/BqNP0KiVh1W+p/u6yU8IooA\nGXEjnxfi1aKx4AqKkM59P53TdElkyzi+lvsn773JA2h8ci14ewgARpSkhmKF\ncfZLW9dhsg/E3gxXLEUv8nSaOD+I5Rk0esZg94pwHYXAZxw/8eNLrDJ1dUS2\nuNiUEi347L9DmsC5Dojii3xyLMfJXKf7xsJ8HpO92jLEV4pylHDZQyv+lfZl\nEHaL1uWFaoFr8SuiaQCib0msTONPxw3C4vpnb6J0gLNYqaJQ2QO0cEXosbli\nQZR6KTb1K5td4/WTOflYoumSF1ge01bpx/PipF3OuphKV1KI4kbtDS0segOk\n1mUDGCenE3FBQwdXYG1B9VTYqpp1if0rVh7eXGxiMoDZVcQ0XkjdXOL96e0J\ndJ6uH276K8CIiBRd1Khwo8OysnBrqbijUvCdGqWjszGcE1cMvVSSZgyTmbiI\nOoDB/f+hAVOvXwfX7HAE+VLOA1kAkOi2/1ti+Lf+oI2MEnb9774HsM0cWYEo\nMbRp\r\n=7vqX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrcTyDjx1NWYvucp/B2GYsZPoEc+aLWFP5cuthFuPeGAiBoqlD+pIFe2w9eXDmkdRq8wI4sTXCdu9PaAvGqdYQaFw=="}]},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fifo_2.4.0_1625509707093_0.49126347889294264"},"_hasShrinkwrap":false},"2.4.1":{"name":"fifo","version":"2.4.1","description":"FIFO queue implemented using a double linked-list","main":"index.js","dependencies":{},"devDependencies":{"tape":"^4.2.2"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/fifo.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"contributors":[{"name":"Gabriel Castilho","email":"castilho.gabriel14@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"homepage":"https://github.com/mafintosh/fifo","gitHead":"1766807b9dc6d22bc7db4c3ea528392029e1d661","_id":"fifo@2.4.1","_nodeVersion":"16.1.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-XTbUCNmo54Jav0hcL6VxDuY4x1eCQH61HEF80C2Oww283pfjQ2C8avZeyq4v43sW2S2403kmzssE9j4lbF66Sg==","shasum":"944d311077da7d6e052834b9088ea3fd6699e156","tarball":"https://registry.npmjs.org/fifo/-/fifo-2.4.1.tgz","fileCount":7,"unpackedSize":10340,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6axQCRA9TVsSAnZWagAAqWcP/A6fMUrTNqydSsU2F8uR\n2dxZnSOWIIw+JjNza5G2JqBeAOyqYy6WeGSfzxwauXcF5/k92eRvqQ3LxlYt\nAo/7o2tT5nUPbsTAwQSy9PNKaSP2cLlszNQzjilHGzU4amB9pSRpwRZpr97b\nspTakn+02+o0OAr1Httij+xNBf9gqXbLajBKDBPSErfUBM55ZzRGkq0GL89p\nUr/UvFjm5vnJ9x2Tveg/rN5uHo0tmXc3/CC/89zFelsDi2SJqJ/wVJM7HV49\nBPyWGKArrCiULbLtroPiphLOKkDUxxUolurMKgZ0jYklGsGXkAYZzeRtqpOl\n/+ca82PpZDRVcaQ2uH19zLJ2bnbCKKw7pywE35CNJFeE+29WFYndGFAlvxsk\nyIArTCRNwIvEJ8uR5BuIsjUfeII3QqP9pKK6MxlvRCCnMdzV/jC61ZN5GLcB\n4eTe20MbidcJnpOOMf3ygfiaYxMbxddK+iBVeP2UN6gXybCYfHqBN/xNxNdK\n64PVcMf7cT3UCfi0NuejaIPNxMV/5G7qXHIRLPcwVmo1Fg/E5QKmpxCFzWGC\nuhYe7IL4finkkRbP1GptUAE5HdgRLBdoRg6TsOJYIH6n0gRvhr+bI8kdqsaK\nqn1j1NZ3IWI86zGr64rVIrJe3Znl9YcFtD/U3veW2yuOzxejW7EIHAFCP3Xt\nTDrK\r\n=Xbv2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5omb27+9ZbFhPb1yUp2HCMA/YK3Ldo/6ipny+e1iATgIhAKwY6JIplA37GeLPzC+JgsvPrPPsbJIp7ERDjPE/I2o5"}]},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fifo_2.4.1_1625926735948_0.6529733175683745"},"_hasShrinkwrap":false}},"readme":"# fifo\n\nFIFO queue implemented using a double linked-list\n\n```\nnpm install fifo\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/fifo.svg?style=flat)](http://travis-ci.org/mafintosh/fifo)\n\n## Usage\n\n``` js\nvar fifo = require('fifo')()\n\nfifo.push('hello')\nfifo.push('world')\n\nconsole.log(fifo.first()) // prints hello\nconsole.log(fifo.last())  // prints world\n\nconsole.log(fifo.shift()) // prints hello\nconsole.log(fifo.shift()) // prints world\n\nvar node = fifo.push('meh')\n\nfifo.remove(node)     // remove 'meh' from the stack\nfifo.unshift('hello') // insert at the beginning\n```\n\n`fifo` uses a linked list behind the scene so all list manipulation methods run in O(1)\n\n## API\n\n#### `fifo = FIFO()`\n\nCreate a new instance\n\n#### `fifo.node`\n\nContains the first node on the list.\n\n#### `fifo.length`\n\nNumber of nodes in the list.\n\n#### `node = fifo.push(value)`\n\nPush a new value to the end of the list. Returns a node that contains this value.\nThe value can be accessed by accessing `node.value`.\n\n#### `value = fifo.shift()`\n\nRemoves the first node and returns the value\n\n#### `value = fifo.pop()`\n\nRemoves the last node and returns the value\n\n#### `value = fifo.remove(node)`\n\nRemoves the node and returns the value\n\n#### `fifo.add(node)`\n\nReadds a node. Should only be done with a node that has been removed.\n\n#### `value = fifo.first()`\n\nPeek at the first value\n\n#### `value = fifo.last()`\n\nPeek at the last value\n\n#### `node = fifo.unshift(value)`\n\nInserts a value at the beginning of the list\n\n#### `node = fifo.next(node)`\n\nReturns the next node relative to the node you pass.\nIf the node was the last node in the list `null` is returned.\n\n#### `node = fifo.prev(node)`\n\nReturns the previous node relative to the node you pass.\nIf the node was the first node in the list `null` is returned.\n\n#### `fifo.bump(node)`\n\nMoves a node to the end of the list\n\n#### `fifo.clear()`\n\nClears the list.\n\n#### `fifo.forEach(fn)`\n\nIterate over all values in the list. Calls the function with `value, node`.\n\n## Iteration\n\nTo iterate the list simply use the following for loop\n\n``` js\nfor (var node = fifo.node; node; node = fifo.next(node)) {\n  console.log('value is', node.value)\n}\n```\n\nOptionally you can call `fifo.forEach(fn)` which does the above internally.\n\n## License\n\nMIT\n","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-18T00:31:36.940Z","created":"2013-07-13T14:03:31.584Z","0.1.0":"2013-07-13T14:03:34.236Z","0.1.1":"2013-07-13T14:14:35.921Z","0.1.2":"2013-07-13T22:43:33.111Z","0.1.3":"2013-07-15T11:00:23.337Z","0.1.4":"2013-07-28T19:36:27.262Z","0.2.0":"2013-09-21T16:17:59.734Z","2.0.0":"2015-01-14T21:51:06.337Z","2.1.0":"2015-04-17T01:16:37.639Z","2.2.0":"2015-11-08T04:47:12.837Z","2.2.1":"2015-11-08T17:05:48.341Z","2.3.0":"2015-11-08T19:03:32.317Z","2.4.0":"2021-07-05T18:28:27.255Z","2.4.1":"2021-07-10T14:18:56.115Z"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/fifo.git"},"homepage":"https://github.com/mafintosh/fifo","bugs":{"url":"https://github.com/mafintosh/fifo/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"Gabriel Castilho","email":"castilho.gabriel14@gmail.com"}]}