{"_id":"@andrewrubin/min-heap","_rev":"9-b487cb0134499fa2a9d83fc7082a6419","name":"@andrewrubin/min-heap","dist-tags":{"latest":"1.1.3"},"versions":{"0.0.1":{"name":"@andrewrubin/min-heap","version":"0.0.1","description":"Min Heap data structure in JavaScript","repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"type":"module","source":"min-heap.js","main":"dist/min-heap.js","scripts":{"start":"parcel watch","build":"parcel build"},"keywords":["minheap","binaryheap","tree","heap"],"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"license":"ISC","devDependencies":{"parcel":"~2.0.0"},"gitHead":"72d8e968f257fde4be615803d8c684e9a37f7223","bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"homepage":"https://github.com/andrewrubin/min-heap#readme","_id":"@andrewrubin/min-heap@0.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-54oHyxg2IQckTLLdlQguIbc3tkE9jriD0CzeHm6x9fIvo5TEZcf0eMnuI9NVxX2Agt+FclDj4n3aStoB8qaIvA==","shasum":"4c7077ed99fda816c2cffd21d9fd6ddde6e61e89","tarball":"https://registry.npmjs.org/@andrewrubin/min-heap/-/min-heap-0.0.1.tgz","fileCount":6,"unpackedSize":23281,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCL+Av+EpDC+P/pZ1yME04S3EB0+dUiAqMJkUQNVd7AiQIhAM4uHbs9H+oS/ihbhtLgJcsejAlzyGOszvQopcoAw0QK"}]},"_npmUser":{"name":"andrewrubin","email":"arubin78@gmail.com"},"directories":{},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/min-heap_0.0.1_1635720943635_0.2983542057620783"},"_hasShrinkwrap":false},"1.0.1":{"name":"@andrewrubin/min-heap","version":"1.0.1","description":"Min Heap data structure in JavaScript","repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"type":"module","main":"min-heap.js","scripts":{"start":"parcel watch","build":"parcel build"},"keywords":["minheap","binaryheap","tree","heap"],"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"license":"ISC","devDependencies":{"parcel":"~2.0.0"},"gitHead":"d5673d1cd3ebb4fce7e00daa5c2ea1fcaf5940c0","bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"homepage":"https://github.com/andrewrubin/min-heap#readme","_id":"@andrewrubin/min-heap@1.0.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-4cFlsJzrQtJq8V1ZP9Y5H6bUdVDdNgDVlNoRkwBEL2xYbsdqVyjHP39X5y4WxJYoHNN9Hokxcc4oogUH8UwSyg==","shasum":"0fe6bebb1dbe3bdcf780e9ab7a483ddf1a464737","tarball":"https://registry.npmjs.org/@andrewrubin/min-heap/-/min-heap-1.0.1.tgz","fileCount":4,"unpackedSize":8876,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvvm4AF1paXSNLFSoY+A6prSwy5x16+SE7aR5NpTcyPQIgER1cTcwB5jO1DRHqku+f+jjJX0yyDdihJU+SrweFg+8="}]},"_npmUser":{"name":"andrewrubin","email":"arubin78@gmail.com"},"directories":{},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/min-heap_1.0.1_1635721470069_0.43454323959116303"},"_hasShrinkwrap":false},"1.0.2":{"name":"@andrewrubin/min-heap","version":"1.0.2","description":"Min Heap data structure in JavaScript","repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"type":"module","main":"min-heap.js","scripts":{"dev-tests":"node tests/test-1.js && node tests/test-2.js"},"keywords":["minheap","binaryheap","tree","heap"],"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"license":"ISC","devDependencies":{"parcel":"~2.0.0"},"gitHead":"4e37322e5374680d62da2f77fb56a63f13723860","bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"homepage":"https://github.com/andrewrubin/min-heap#readme","_id":"@andrewrubin/min-heap@1.0.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-X13JuT0y/MztBO0yreToY9hFiVAzDmVkfCt3hE1AxZ7ROFwuQHwu4rhjbu8z5/oKPnGvlKBFOETfj/qdKr6xgw==","shasum":"4215a4f88a62a63f87b70430ac8eb23967e001d4","tarball":"https://registry.npmjs.org/@andrewrubin/min-heap/-/min-heap-1.0.2.tgz","fileCount":4,"unpackedSize":8883,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVFvj0UHcCUO21hyWojPkbGo8G2Jvnwbi1IQOiwPYTRAiEAtnFCiTrO9N2rqsDUusse8iQp7NJhtB5bXPDCEtNv664="}]},"_npmUser":{"name":"andrewrubin","email":"arubin78@gmail.com"},"directories":{},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/min-heap_1.0.2_1635722168235_0.09256704073993172"},"_hasShrinkwrap":false},"1.0.3":{"name":"@andrewrubin/min-heap","version":"1.0.3","description":"Min Heap data structure in JavaScript","repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"type":"module","main":"min-heap.js","scripts":{"dev-tests":"node tests/test-1.js && node tests/test-2.js"},"keywords":["minheap","binaryheap","tree","heap"],"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"license":"ISC","gitHead":"d1b3ce88ff75a72614baa1540f3fe5b1fc2955da","bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"homepage":"https://github.com/andrewrubin/min-heap#readme","_id":"@andrewrubin/min-heap@1.0.3","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-cvaDWUfYhnFvFMxMjYgzhOfHnJXmR7jc/j3P78eIisapz/GUfR8gcGOclD6WGxyZDPv01amk6KwneW6MdsJC/w==","shasum":"3f72ce670b60916ea1316ddc4942d47c4dd87c2d","tarball":"https://registry.npmjs.org/@andrewrubin/min-heap/-/min-heap-1.0.3.tgz","fileCount":4,"unpackedSize":8867,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvi27CRA9TVsSAnZWagAAdnIP/jCNb9fEb7DK+/JvNVQ+\nljBkZJ7b29pGeKslU4cQHORmJiKJs+RTAfb4omU99J00l26ucdz2suZBxQ18\nomZ/pXUmDc492eYC0x1g4jHBwZpUMyVkSPcJhD3R2uGWmuTL2pj5hHSD1jcx\nviwHS5JpkW4IpewgRjUPoCQLt006ShmWdTTJObCOH5XjCsq5xXZOlXXoqOwQ\nNz3EQ2ZOhSVJJXRsKH+bRrhSZIwzTCULE7wDIk5FKECotCsIFkBp5ejSXqZ1\nSTrKZ044YWlQ4J9YKE/Xhnn4imF4EN1E3WtsrLgtE/7EO0H+52kMnjHSb5IO\n51lJhbmkKuAOYUIje2S5eWNkmtCOmwp50GmBl/YP11NL0MqJ2feyVDQGHl5y\nAUKRX2zgAJ3ZLOK0F3exMEarC2nxCvKumGzISH4ggtiDM6Zq8g+1Q4gI4bvp\ncI/5NYmLif/EgCgIRBrsZ7W64/QgqUz0B+inlMr6GTI38O5vhzOXjjyLxoae\nM1aRi2rHs+C0Jh7L2fZvZtXXrqi1iIA97HNPIB6bLhFsAH2zO25GPgndYBGy\nc+RRufXRelzhMfw8th+lgq8tgTE/IhhVjSy953+jsfy2ClnE2IaaQzmiCumw\nGHBuyEin8tRYZeeRugKOjEsbOW3MLmDx8bGc56KmHSfaajr2xnn4fiweF4oE\nth6B\r\n=l8Sp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0T+608hxzYvWFChEkfHE7uTvmRNxeTPrMOnuq2vDG7wIgO8MLwvAZHufsWJsz3UNxm9+GNvGgZz+xhEUHlnazZ2U="}]},"_npmUser":{"name":"andrewrubin","email":"arubin78@gmail.com"},"directories":{},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/min-heap_1.0.3_1639853498909_0.3695814029306368"},"_hasShrinkwrap":false},"1.1.0":{"name":"@andrewrubin/min-heap","version":"1.1.0","description":"Min Heap data structure in JavaScript","repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"type":"module","main":"min-heap.js","scripts":{"dev-tests":"for i in tests/*.js; do node $i; done"},"keywords":["minheap","binaryheap","tree","heap"],"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"license":"ISC","gitHead":"58e6d7bd439270dd522684968a8092bf781dbd13","bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"homepage":"https://github.com/andrewrubin/min-heap#readme","_id":"@andrewrubin/min-heap@1.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-amvttjplAJpW6gwiKWd/XgCYz1gCEhO/jwtuIKo/Xgt4xqjEhF/XH/cjvj3s4zz2qITXhwYaxUXs/reATWRS+w==","shasum":"74985e05af061171827b912130dade55af8ee76e","tarball":"https://registry.npmjs.org/@andrewrubin/min-heap/-/min-heap-1.1.0.tgz","fileCount":4,"unpackedSize":8942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhv5oVCRA9TVsSAnZWagAAmTEP/0E4DKuQFNqcMb4p6qZc\nj9zFCAoTRLyv9Enn/IkS/72nNyMilMOkNIgdyTGrkzRPrdo9YCJYaovGbJIF\nC8mlwVTu8OwGh/8Il0TPvH/UnzEsqxg744cU+8k8IYr+65xwNNT7jSIRbvXB\nYHtyGLP67d1Wpxy91RabYdlDdLhH6Y4rg9TAtWroWDLp6HNi3C3Ifv73Oluz\niibo0lKrf1uDgx5X7c29OWkI0oootUx49CiYWZhhU0kaRXeDbHBLUqsckJQw\nRUVItG2twS4XZ6hafUt9LhYFedk68hzjVlWu2C0d48PVzkkjCN7e9FCGQeGT\nqjtG5au1eZpS2mNhmEyqk1Hxl8aIWsKkaoDZnjEjtvCFFvaNsqpF0k5ORe1W\nQd8raHw2P+RhnaSDCNNjpq5kPzFIjEjxi03ptwzPDtzw9QMYWfwBFgI5GpCv\nWTd4cnW/4hoLxMFOYM5+6N7lOCL6dyeDTlbWIdmmQf2tKRZ1lClsxPO7Nx4+\nqlLpY4TEtK+dxgaixWPPhfq+5rCPb06z5WurqBcOVeIEjYCqWwsjkduir5F3\n/EI5OjATPywAna9jaSd7lUbRr1YcSh7uEGtoBH9TqpjG/MiMQQJqreY63Chk\nvsorC5uAnkWWnfDWCTkR9aCOA/5ENWWOFeuEEgr5YyA3LTtUTu94Yep4igbl\nM4UA\r\n=dYcq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0Pp3Pidk01Yzhi7fmOOZvOcSRkLV7peW7eiVXBRi7zAiEA8grauQKqGNeS6JTT6AMTvVLVtpxg0xuVOTyQ1sVyKnY="}]},"_npmUser":{"name":"andrewrubin","email":"arubin78@gmail.com"},"directories":{},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/min-heap_1.1.0_1639946773467_0.8975169377546817"},"_hasShrinkwrap":false},"1.1.1":{"name":"@andrewrubin/min-heap","version":"1.1.1","description":"Min Heap data structure in JavaScript","repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"issues":"https://github.com/andrewrubin/min-heap/issues","type":"module","main":"index.js","scripts":{"dev-tests":"for i in tests/*.js; do node $i; done"},"keywords":["minheap","binaryheap","tree","heap","queue","priority"],"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"license":"ISC","gitHead":"8989bf46d463b8f661089bedefe077cce4e426fe","bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"homepage":"https://github.com/andrewrubin/min-heap#readme","_id":"@andrewrubin/min-heap@1.1.1","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-xi5/RbNgcPGH6HWuJ4KW+XKUgI4VKhdU//ONl388CdHJzqqDI2OG+vuOmN8ReA7kEO9kMa5xIEX7AtTM2eU45w==","shasum":"3f46f300191f47a9da19911dea4ed95c4ade8eef","tarball":"https://registry.npmjs.org/@andrewrubin/min-heap/-/min-heap-1.1.1.tgz","fileCount":4,"unpackedSize":9020,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEt7nqc3zNpZY6JBsM8hpGzszptm2E+Wb+pNvqfQxErTAiAD5KoedvFct6YJBFApmGMqfCFLswdIk4C0ut6tmAMrgA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIk71ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpISw/+Nmq7LRebn2YB+tUQ//ZmMu7XpDKQXl89yf/n39lorCrxW8bw\r\n42yTsYV3PNp4YoT2JkP1jjzEOEstTGghyx0VWvhkPZ32/z2NdbhHdp2AWNbp\r\nRSaxJ9RNmECl/zqbIv0o66kr/W8IR/Yew5xKE5xcaVJ6eYKe1wCsXVUShFjy\r\nDG9yRyZzfwL/SYldxPFaqFbA2THAW9dbELDdG1Cr0uqnsuFxluqMbcD6poue\r\nsdCM0y/uLEdOIiqQX42m29QY1mm618Wk9NWx/Kc/hBvc5W1w23J5FXR5Skt8\r\nYVFsM6B7lteeEOaa2xe2+sSfXFTupzEglBppAfFZM3eOZuXmVqY0pI5eaF0c\r\nH+ZgF3WjPpzl70W2RWncykxzJmoyKm92smUfHApmqeRd0PfrG9KLXzx7hJNy\r\nGZNDwlr8ncAgal+S7UyEMq4oLdvOf44/hXPLMhfcAljJGb30bhpXYV0crBYO\r\nq7kpPJozvO+HTL+MOy5uKsv9zWqKBv8vEpCYUcLc2iURM8WlcOg5GMq6zheX\r\nUCqmjPVa2RaO6go5rM6Rf7wsb024gbHy0VTasJr3371hY6rRYnZxSec+Rp+w\r\nXmdaZInTxJXwGcPGYvj3pmhzVSSaZCqpLQpI6wsk5bnTSNl2D3sUrXUkVqlR\r\nrX6IE0Z5+magYMa8W3y8uLqOoaETu6pUeIc=\r\n=tB3S\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andrewrubin","email":"arubin78@gmail.com"},"directories":{},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/min-heap_1.1.1_1679970037572_0.970448550994458"},"_hasShrinkwrap":false},"1.1.2":{"name":"@andrewrubin/min-heap","version":"1.1.2","description":"Min Heap data structure in JavaScript","repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"issues":"https://github.com/andrewrubin/min-heap/issues","type":"module","main":"index.js","exports":{".":"./index.js"},"scripts":{"dev-tests":"for i in tests/*.js; do node $i; done"},"keywords":["minheap","binaryheap","tree","heap","queue","priority"],"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"license":"ISC","gitHead":"d65f00b0ea9d0ed6a69f82d0cbc26e349a49df74","bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"homepage":"https://github.com/andrewrubin/min-heap#readme","_id":"@andrewrubin/min-heap@1.1.2","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-pFXlDrQJJnKSptmYEvfcRvuqK7Ft/q0X/bIepbxAlYlfIimX8br8OIkQfmGj1ILyV5ix/8+r044byzMIM64Utw==","shasum":"5b272bae913c9a017712816778ff90f4547fceb5","tarball":"https://registry.npmjs.org/@andrewrubin/min-heap/-/min-heap-1.1.2.tgz","fileCount":4,"unpackedSize":9062,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFDK9h+ohYp9lPA/9my6d0TfP1tDFZ5Ous66b0RnXo9BAiEAmVnWfrvQGK4Roejf8aMSBfLvczL8/Zp4AefZuKOXgxU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIlEVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrg/w//RHxP9qFVTixCT8ZRPvfV4MdycWojZBMtHGp9f2f8hveTCrzv\r\nketyvMbtFE0U1vDxz+K2NPb4SBVrrY2Ej15kvKYouSkfkpeyJK1GTFe/ZbdB\r\nRVcE2pFPkTkMgiuTnNQD2CyskVigfNv76sahXWLgIGbW1PXyITsVG061lboS\r\nLszEDB7Pv0zE0AP1aLwWNRgTJZPJtwiRf5KR5RJ9LZfLus7FDW7PO9Xzr0mz\r\nw1CtB8+AseFqWFhsoWV7av5RmYhjND8lVYH40SX/GCe16uSwYwBwuAIb/neu\r\njnij8Vs9D60BTKCd1lJU8uWfcVs0lZ5/PfpxRXWP4pT6haxzD2xHShLZS78V\r\nRzlInAK5qfyKgAo5iKVcHiSx2q6Bvj9jkyy63Xdrypcjuab8gzEx6stp19e2\r\nYgaQVjZA6lX7XJwn8TKLbB1QmufubIaWFlDx8c4c9ZW3ErPPMT6XtNLGf9gt\r\n7aVplWlfb6lXRURAhZa8+oFqTJPjPjjKgarlu85CCtw5P+HqNy4iNiafKSPA\r\nRFhq7P7HZXWXPZC52hB07eF4/etGYK4WqJRxVD0IY6m8/ahuVxG9KbE+Quv2\r\n23knWC5Fc+HV+enyfNc3ngLtbjAyKnXY1GCibCoe+Bs4oM28WxxGj7qpdJSm\r\n9sVdDD1UbAEcQU8321YDlYSQNFQ5LJlaL/o=\r\n=Xna9\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andrewrubin","email":"arubin78@gmail.com"},"directories":{},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/min-heap_1.1.2_1679970581335_0.23939865015982842"},"_hasShrinkwrap":false},"1.1.3-beta-0":{"name":"@andrewrubin/min-heap","version":"1.1.3-beta-0","description":"Min Heap data structure in JavaScript","repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"issues":"https://github.com/andrewrubin/min-heap/issues","type":"module","source":"index.js","exports":{"require":"./dist/min-heap.cjs","default":"./dist/min-heap.js"},"main":"./dist/min-heap.cjs","module":"./dist/min-heap.module.js","unpkg":"./dist/min-heap.umd.js","scripts":{"build":"microbundle","dev":"microbundle watch","tests":"for i in tests/*.js; do node $i; done","prepare":"npm run tests && npm run build"},"keywords":["minheap","binaryheap","tree","heap","queue","priority"],"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"license":"ISC","devDependencies":{"microbundle":"~0.15.1"},"gitHead":"6ebea8b9cf2805d25f9e6e7ceb2dd8c08539fb43","bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"homepage":"https://github.com/andrewrubin/min-heap#readme","_id":"@andrewrubin/min-heap@1.1.3-beta-0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-gwJgqFfkTPCiPpJnC+Ok6Up4QRx1BiVhLDvIkXYJQ13KfP7/vCYp1ff2aEJP4/W+rWghz0HnYi3Bx3QMhIiAHA==","shasum":"ff876e8abaa7adba873a47748bc57bedfee8e818","tarball":"https://registry.npmjs.org/@andrewrubin/min-heap/-/min-heap-1.1.3-beta-0.tgz","fileCount":12,"unpackedSize":51241,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGlpTxMdGggKHwbb/3BInfah6Sq2TTNQ1Iuvd23+1YEBAiEAw4qy4mWHC3fdyV1nt47waOyoD69qeDku6ZfsPu0c504="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIlcyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp03Q/9FuSsxl+Fh32hjuegGCOY9JRDtEWBf2xvzL6ZVjbfwX1oTmIr\r\nzeHEIb1eVaeA6eoUlEjfYyFfLa6kHjR5DfXPNByRAg4aIkvRsb5tjE0+BIA+\r\nolRJJTfGvwe0LWDC3hweHLWN5bmK85XYMycbLmjoiahQ9nInbQDXSn1FGi86\r\n5Tv+i4cnwVAQOHikKgdVYlG6ei9bd4JPGQXAtDEi9yO1KsZJVWnyT6pydCnd\r\n/pIHZzOsjltiRWEsBqFpuhCMecqx3XgiAfHNtS+f5L0ywVU+qfxOi4EvNM3S\r\n0RH3JVJ6OOYFkG1iXpNkhr4m81VJKXLguvtt9DIW3vN+S4Jj7SyURYhBDOy0\r\nJ/7iu0/XkSLavUmPIMclGitqKgspf2O+iz6DEzaNtECZ6VHNp4g3BaPq6q+V\r\nT8wxLDAAxYQOQ6hkrnFNKfZ3nt68D17Qqav0Yo0tA/L5acz7AX2jsaKnu3kE\r\nX4fPHe9JuAo+xxP0XXgcVqusx/UkwJzZLe2lBU6hRDDmZMEmt8BbcPPVZFy6\r\n0wGF88NAA/ih23t2WhmWq56SXXXeq1UtwrZWf7vATwTg99vDy6vVClT0bbsH\r\nw/SnLeEjhjAQaoweTNsWjulk4RVQ3AHV2i6pMZhndQy+bLeTtyD/VNAAZtum\r\ncCOYRz60gtT6rncSMwYNbB7V9LHIhVBk5xE=\r\n=ndvX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andrewrubin","email":"arubin78@gmail.com"},"directories":{},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/min-heap_1.1.3-beta-0_1679972146573_0.3496422719503025"},"_hasShrinkwrap":false},"1.1.3":{"name":"@andrewrubin/min-heap","version":"1.1.3","description":"Min Heap data structure in JavaScript","repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"issues":"https://github.com/andrewrubin/min-heap/issues","type":"module","source":"index.js","exports":{"require":"./dist/min-heap.cjs","default":"./dist/min-heap.js"},"main":"./dist/min-heap.cjs","module":"./dist/min-heap.module.js","unpkg":"./dist/min-heap.umd.js","scripts":{"build":"microbundle","dev":"microbundle watch","tests":"for i in tests/*.js; do node $i; done","prepare":"npm run tests && npm run build"},"keywords":["minheap","binaryheap","tree","heap","queue","priority"],"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"license":"ISC","devDependencies":{"microbundle":"~0.15.1"},"gitHead":"da8ca621a0b0faeaf6a1ed9fe98f89919139dce6","bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"homepage":"https://github.com/andrewrubin/min-heap#readme","_id":"@andrewrubin/min-heap@1.1.3","_nodeVersion":"16.19.1","_npmVersion":"8.19.3","dist":{"integrity":"sha512-yTTmht2p2OhL34V4mUUdMkvkm1ZhPDk4HTR263YE5QQHdbqfnuj+Z2PXyFhuxIgq9lHy7ieTaWKMwLWv/U+dzA==","shasum":"57ff1a1361be3d5c0cd573d1d3d474db359f5ef7","tarball":"https://registry.npmjs.org/@andrewrubin/min-heap/-/min-heap-1.1.3.tgz","fileCount":12,"unpackedSize":51234,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLyhmYC6R33PKLZodD5p88rB+O6kW9wD8v64V6FIKfAQIgM/osBOv/VWfk9UZ0Tt2gA9UXW2PLZ2sReIdamk57UO0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIlfCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpyrA/+NL0FqWZ15752hoeKEzM2PGiAVATZD1AS5JFnH3rCMeJBqLJJ\r\ntKroiF11EdgFsZluFdJdaDq/BDIUcjFhZyE/x4Eg3HGY5v48cqaZjU5e8cE3\r\nHvxLgODG7urQvHtr25QvwXN/V3AjzupLdzZTUVVKJviiAHCBJRHJ37SntY60\r\nqLA27bFaIwZueQege1SrQJ7CmFqJDrVTy4v+jO9/D8cXmZlyMmyihvGV7hXp\r\nR6CIH1/Yi6LbzvyPlPoEgIJSBibTp3b8feVe45Yy+8jFLZx6qJKrrSIZKCk9\r\neH8mdrqeeQpBPs9JrqbOUt0oQ+Gg90GJWYaK254Nq06VHZu0/HPo19Fcl12q\r\npCIWjjPpkaknlQb/2AkUfFHYt7aEs27/pbFGVVGaBhc543K+ksvH8TX1D8Ai\r\nWHIgfPmIcnvx26/kq1TXLJot/A0bIbqI94NP/uIoDs+rwIUdjDZEErBG2hbN\r\ni7iChXHCNaWJgatqUkBEV8z43o4WvAEpbUuB8hhhI63krYIRUaQRDpehuKbj\r\nFivBEjLWf44sXvHq4d6VMjxAihqFhBWEMumf9AwglQ2N/WyKi/1/O8JHtgwW\r\nSSOt+2zq1DPBoOIJXyBiw2ZkdBvGh/5ikf6SGmIDLu9qDMU/an/GEHQQo29p\r\nNY+4hI7FXNjvPEMpTjKJ/ZIEeAHX9gfe2ho=\r\n=W8wu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andrewrubin","email":"arubin78@gmail.com"},"directories":{},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/min-heap_1.1.3_1679972290564_0.9169166158082673"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-31T22:55:43.566Z","0.0.1":"2021-10-31T22:55:43.775Z","modified":"2023-03-28T02:58:10.936Z","1.0.1":"2021-10-31T23:04:30.200Z","1.0.2":"2021-10-31T23:16:08.412Z","1.0.3":"2021-12-18T18:51:39.052Z","1.1.0":"2021-12-19T20:46:13.605Z","1.1.1":"2023-03-28T02:20:37.730Z","1.1.2":"2023-03-28T02:29:41.528Z","1.1.3-beta-0":"2023-03-28T02:55:46.707Z","1.1.3":"2023-03-28T02:58:10.837Z"},"maintainers":[{"name":"andrewrubin","email":"arubin78@gmail.com"}],"description":"Min Heap data structure in JavaScript","homepage":"https://github.com/andrewrubin/min-heap#readme","keywords":["minheap","binaryheap","tree","heap","queue","priority"],"repository":{"type":"git","url":"git+https://github.com/andrewrubin/min-heap.git"},"author":{"name":"Andrew Rubin","email":"arubin78@gmail.com"},"bugs":{"url":"https://github.com/andrewrubin/min-heap/issues"},"license":"ISC","readme":"# 🥞 min-heap\n\nA Min Heap data structure for use in JavaScript\n\n## Usage\n\nInstall it:\n\n```\nnpm install @andrewrubin/min-heap\n```\n\nImport it:\n\n```js\nimport MinHeap from \"@andrewrubin/min-heap\";\n```\n\nUse it:\n\n```js\nconst minHeap = new MinHeap();\n\nminHeap.insert(22);\nminHeap.insert(6);\nminHeap.insert(-2);\n\nminHeap.peek(); // -2\n\nminHeap.pull(); // removes and returns -2\n\nminHeap.isEmpty(); // false\n```\n\n---\n\n## Optional: custom comparison\n\nMinHeap's default behavior is to directly compare the values of nodes (consider the usage example above, where the inserted values are integers). However, if your data takes on a different form, MinHeap allows you to pass a custom comparison callback to its constructor.\n\nThe comparison callback receives two arguments: each is a node to compare within the heap. The comparison function is expected to return `true` if the second node passed is greater than the first, and false otherwise (technically \"greater than\" could mean anything — how you prioritize your data is up to you!).\n\n\"Nodes\" in this implementation of a min heap are always objects (specifically, instances of the `HeapNode` class defined in the source code) which MinHeap creates upon calling `insert(value)`. You can access a node's value for comparison via `node.value`.\n\nIn the example below, we need the priority of nodes to be based on their values' birth year.\n\n### Custom comparison example:\n\n```js\nimport MinHeap from \"@andrewrubin/min-heap\";\n\n// First, some sample data…\n\nconst john = {\n  firstName: \"John\",\n  lastName: \"Lennon\",\n  birthDate: {\n    month: 10,\n    day: 9,\n    year: 1940,\n  },\n};\n\nconst paul = {\n  firstName: \"Paul\",\n  lastName: \"McCartney\",\n  birthDate: {\n    month: 6,\n    day: 18,\n    year: 1942,\n  },\n};\n\nconst george = {\n  firstName: \"George\",\n  lastName: \"Harrison\",\n  birthDate: {\n    month: 2,\n    day: 25,\n    year: 1943,\n  },\n};\n\n// Create our custom compare function, based on our known data shape:\nconst comparisonFunction = (nodeA, nodeB) => {\n  const yearA = nodeA.value.birthDate.year;\n  const yearB = nodeB.value.birthDate.year;\n  return yearB > yearA;\n};\n\n// Instantiate the min heap, passing our compare function as the sole argument:\nconst minHeap = new MinHeap(comparisonFunction);\n\nminHeap.insert(paul);\nminHeap.insert(john);\nminHeap.insert(george);\n\nminHeap.peek();\n// => returns the John object, as it is at the root of the min heap.\n```\n","readmeFilename":"README.md"}