{"_id":"@canvas-js/okra","_rev":"13-41b3a713b0d8df6d3907b567ae888472","name":"@canvas-js/okra","dist-tags":{"latest":"0.4.7"},"versions":{"0.0.1":{"name":"@canvas-js/okra","version":"0.0.1","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.0.1","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"ff8c97065a3d320177b9abe066d363f6db73956d","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.0.1.tgz","fileCount":19,"integrity":"sha512-xQzgU4ehSq9p8545G/1zCKGf/bIinNoSUv0rscbjFTOOupmMU8KlR7yRtcOJEESOdzbfG7yerI55xnuaWYtU0Q==","signatures":[{"sig":"MEQCIGKUKH+I2FpZ8zEqZzIv/JpQoGGU10OUkY5FbKhWb6y4AiAV2VJcSQyxmAzQ7z40TQ4PMOwK9RxOEM7+ERAbFYLbXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkVBygACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo2kg/+IjMCZidyXQ3pI8TzUUNpCnM7kl1Re/N5q1dU37C/nFtkuiOn\r\nE6oIwona2WcdKbtq6kmYZ5FNkEv27tZzTTt4DCnJEcB4zb7hfzSKSCPjUtGH\r\n3FBhGw1p94vBu5zn4h19nP9bz9GngcnqXQfUsF06017u0FGYce5iWIhX5Lhj\r\nIV1iTNskUH4nWh0Jejknv396Hr+1LENU6dAdpLEaOAViF0TmNNgckrVObFw+\r\nqCaNhPzUWqSns2IsTdNYuqF8JXikm2tGM0agTG3NEAXk6JuCuCzx7m16BYH1\r\nD2hW+w8xppU+yEVAMN3qZh5SQgbF5J5o7/LmPzy0fNCGyXqobSgcT1imIDSA\r\nrjK0OcQ5oOWyPufpuROJobBsQR6Jh8/FIrXGjBQQ/6xNoyUn9//5Yju1/w7z\r\nT3rGagw5EY+usFe2mifS3jfDv8n7nXGtGUzeam0aYPdD+ar8FMZfshRJVo2H\r\n2t0pKsXjPb/9gr4fdc8DXIbQOroq0ZPZvRDIezKQLBve8EQYzokQdccuMgkC\r\n+zVtSt3RizkaB/O2lDHXBhF4TotperOjeUS5mvYEgddpDWN/iNZe6R/pyM0u\r\nAqpU7TZaKqZYFFeB0SiYOeV3if3XxHGawu0l14NHGHSoBd7gLUEmdlHEXJji\r\n8AC6tAwRdXSPihRAdKdTKlkYviv8KApPTuY=\r\n=CTy+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"a5c2edffc09c91f350ec36755f3c4899580741fa","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"9.1.1","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"18.7.0","dependencies":{"debug":"^4.3.4","@types/debug":"^4.1.7","@noble/hashes":"^1.3.0","abstract-level":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.2.0","nanoid":"^4.0.2","prando":"^6.0.1","typescript":"^5.0.4","@types/node":"^18.16.3","@ava/typescript":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.0.1_1683233952266_0.43707257797396526","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@canvas-js/okra","version":"0.1.0","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.1.0","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"9558ce3faa5c157ff19027e51aa03a9523a3f76f","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.1.0.tgz","fileCount":19,"integrity":"sha512-6fxzBXqL3qGFJuXuqMV2J47x5SuIhYS9Xbc5YeeTZbeWxBYFSg2lNrbyEYhk8EpHDCEIMU7ajntahNqFTIHacA==","signatures":[{"sig":"MEUCIF3ITh0VDc2R9UK2JPa072lwPAjazi07etWYRux9uMkcAiEA/Fl1Mnn7UafHEVAqDhy0EaS+hJUV4RXXDZhw8TyObQQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39840},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"9d266d51ca5fd85e9823d0959d2bdfea82104353","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"9.7.2","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"18.7.0","dependencies":{"debug":"^4.3.4","@types/debug":"^4.1.8","@noble/hashes":"^1.3.1","abstract-level":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","nanoid":"^4.0.2","prando":"^6.0.1","typescript":"^5.1.6","@types/node":"^18.17.6","@ava/typescript":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.1.0_1692415210362_0.027549984041348452","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@canvas-js/okra","version":"0.1.1","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.1.1","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"d5f9fe019bdfd7f3f63ce97e76b7bc9b53e0bc12","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.1.1.tgz","fileCount":19,"integrity":"sha512-QJjABdLDspQRgJOiDAbPLE1uqmFBQB3g/YC582rgo76gOCUlycu071tq9cRaIZttJM2/PpDgnqDJmy8SskNv+g==","signatures":[{"sig":"MEUCIBHUSGuE9qk+DBvqYci4Pq0RjaB7LWYRKyai3UfwzqpyAiEAwARkUx3xOvQXrJfO5hTNHHbuOjx/ORXy11lWa7jBSI0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39953},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"0e213bdf91cf0401b666395107d14255469b75bd","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"9.7.2","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"18.7.0","dependencies":{"debug":"^4.3.4","@types/debug":"^4.1.8","@noble/hashes":"^1.3.1","abstract-level":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","nanoid":"^4.0.2","prando":"^6.0.1","typescript":"^5.1.6","@types/node":"^18.17.6","@ava/typescript":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.1.1_1692504718353_0.7279355106623482","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@canvas-js/okra","version":"0.2.0","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.2.0","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"c946fdc562c657abaf5c0f015d84fdeb0e424326","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.2.0.tgz","fileCount":20,"integrity":"sha512-1m5PujB1n7chJdf3QZ4Bq1lWrHVABWzxPiaJl9rsIf97wd+nCymwQkttfnTKkr3lYKpHd49Ykbz5xVBWTs/lsQ==","signatures":[{"sig":"MEYCIQDDBlFk9R0h5sPlYXEGoNPOSgC44SQ//xNjtN+zENN45QIhAPpDIYliXBSI1yemzulF966XZEl+BdnrS2JyLnZ1/tDa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40518},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"edbd94c529e34d79cd93e7a1621cf29ad6622568","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"9.7.2","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"18.7.0","dependencies":{"debug":"^4.3.4","@types/debug":"^4.1.8","@noble/hashes":"^1.3.2","abstract-level":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^5.3.1","nanoid":"^5.0.1","prando":"^6.0.1","typescript":"^5.2.2","@types/node":"^20.6.0","@ava/typescript":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.2.0_1694751900061_0.5957469028440989","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@canvas-js/okra","version":"0.3.0","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.3.0","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"13ec42f8fc0a4f988a53163b823640a3d0de9de6","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.3.0.tgz","fileCount":20,"integrity":"sha512-GCF1pr1BbrammUzQlnXf4jfsWo8dRYzo4+lIFfTJaWeL8C+6eRZW/dOUS53bdtbr9HSKJXb9S0qlYijWayRskA==","signatures":[{"sig":"MEUCIQCs2sgBL1PoulC6asBkV37L23hk6QA2tRZeroyL8pHhHgIgDb2Pd4NoteN4b5ZEX9w2BiJ2AIVeBXibnQ1O9A/V/IA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36439},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"16249ff48080ce4c95044bf6e0efcacb2ee691b0","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"10.5.0","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"20.11.1","dependencies":{"debug":"^4.3.4","@types/debug":"^4.1.12","@noble/hashes":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"nanoid":"^5.0.6","prando":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.3.0_1711388787726_0.29637039396264253","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@canvas-js/okra","version":"0.4.0","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.4.0","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"d0c4ab9cdb91ba3ea48dc4ee7bf05ed9c39d20ba","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.4.0.tgz","fileCount":28,"integrity":"sha512-krO0mhf8FtiKEsxPGg+NxeNOp2JaA0SjgWSZREbuX/XjUpwAw3oGAeHS8lUfku1cn5Zy8hcj0H+cgdPL97JUHQ==","signatures":[{"sig":"MEQCIGZJpDlpUTFw0IMDn5E8qFkml9ELYbmJaQ64nwX4J/soAiAmkDYBY9HMmjtVGLVP353VfANP2YwZL52NmJEcZ2Dh5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42689},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"5824a77edb7f31a3799f79acc7e4c2fbeec54ea3","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"10.5.1","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"20.11.1","dependencies":{"debug":"^4.3.5","uint8arrays":"^5.1.0","@types/debug":"^4.1.12","@noble/hashes":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"nanoid":"^5.0.7","prando":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.4.0_1718023096602_0.9865082867177799","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"@canvas-js/okra","version":"0.4.1","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.4.1","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"87199e35f09012f45ffbc50fda13fed6c262bedb","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.4.1.tgz","fileCount":28,"integrity":"sha512-XzHTs2ZWJF8KzzdpN/vah3RC/z2NwBwcJ5SJs+dapvSq3YTUUFvNPOrTErRlTJzTcaZ9wscTZDu3nxtX6LFGsw==","signatures":[{"sig":"MEQCICRSMoQJJtvxj1D1qh/9DBkjAZ8wIs3dnwGQgxVWVhCQAiARglUWL4HJbj9oxgGIiiBYUFldZwIfpZaQSi/Af+a1zw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42742},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"db7162c41e9c60fe33d2d467520ac5bd405ab5f1","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"10.5.1","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"20.11.1","dependencies":{"debug":"^4.3.5","uint8arrays":"^5.1.0","@types/debug":"^4.1.12","@noble/hashes":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"nanoid":"^5.0.7","prando":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.4.1_1718063006356_0.9191103429636167","host":"s3://npm-registry-packages"}},"0.4.2":{"name":"@canvas-js/okra","version":"0.4.2","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.4.2","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"5e73341fb0bc2f00dba94c8fd9959db9882cde0e","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.4.2.tgz","fileCount":28,"integrity":"sha512-fd1FETa743ye2VhsnCg/KMGA0ibBUgX4a25gwCj/zq0cC9SsYj/1k0LvwaLynypUQKCs4yUSOtm2+fp2drFcFA==","signatures":[{"sig":"MEQCIDKi6gPYg4y1LDu09yQPSEYEz/j1mROBzfNqw23qUKPsAiANMPYhTWub/UOTB/YsfnFwqDDSDxUpBJmja1ONEmAD6Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42968},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"494608be81a6177e0e95547e7b060a9f3e8171d0","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"10.5.1","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"20.11.1","dependencies":{"debug":"^4.3.5","uint8arrays":"^5.1.0","@types/debug":"^4.1.12","@noble/hashes":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"nanoid":"^5.0.7","prando":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.4.2_1718196261553_0.31614515266666854","host":"s3://npm-registry-packages"}},"0.4.3":{"name":"@canvas-js/okra","version":"0.4.3","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.4.3","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"8121299bb7b3b8e95ccd13e82d9e571b1aa5abe0","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.4.3.tgz","fileCount":28,"integrity":"sha512-IdMaJP1pXHyo4QhT5lcIU8gj0PXthuR61DchuELans0wCThbzJCOyvcyIa37NH5fScSiX2Y6Ti1N8cUf/TVQBw==","signatures":[{"sig":"MEUCIFT1a7j7WOeVRIy/kaW876oEy+I6hNLXpe+1TSH0bg7BAiEAj7OZvGhg/yMmrS4hBErcUHtXSmO2A6XxGX9/TcRIZ78=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42989},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"89f31b7fb5f2a3315c8d898edc76cfc639a97cfc","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"10.5.1","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"20.11.1","dependencies":{"debug":"^4.3.5","uint8arrays":"^5.1.0","@types/debug":"^4.1.12","@noble/hashes":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"nanoid":"^5.0.7","prando":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.4.3_1718196704707_0.2051097156468522","host":"s3://npm-registry-packages"}},"0.4.4":{"name":"@canvas-js/okra","version":"0.4.4","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.4.4","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"2f6e7ceadd8a242ed31f606ef362d584ff86e73c","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.4.4.tgz","fileCount":28,"integrity":"sha512-YNCeU86KIUIBqJX1Ncs26dSHg3997uptLSBIJbDxAbY6+U2bhdcH+ic4+CS0PYlt72oV5Y1Z9cQFiEYAfvRGNg==","signatures":[{"sig":"MEUCIQDX028mp1PxvJ2g9WnbucLGk1UV86IFBENFM+TO4iYOzwIgJFTpO0xbcHfWb9u5uEUUXrgFkIOh4nQWA0gPov3XJbY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43241},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","gitHead":"acc4d8743cc2e8a4d20195769ce7510ca8b0ffa6","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"10.5.1","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"20.11.1","dependencies":{"debug":"^4.3.5","uint8arrays":"^5.1.0","@types/debug":"^4.1.12","@noble/hashes":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"nanoid":"^5.0.7","prando":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.4.4_1718220174266_0.7458470106685948","host":"s3://npm-registry-packages"}},"0.4.5":{"name":"@canvas-js/okra","version":"0.4.5","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.4.5","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"213b5f393a7e6620fb70a8d6c484c7fd27eea4f0","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.4.5.tgz","fileCount":28,"integrity":"sha512-5c74kB/skTF+JGo/H49Eej/lu/bg98Q3M5uoRhJYbzRJxLwJ31sYsc4E0k75n1XUtv85Wrgtf4Zn+3D9J3iDhA==","signatures":[{"sig":"MEUCIGjOTpsJoqoKogAv2AaE5e2yu3Oc2IsqzMoKopzuuk/OAiEAmsgacyJtjxua3EzBuKxmREsjM/7zMp3XyYt6O8+Zuj4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43138},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","exports":{".":"./lib/index.js","./logger":"./lib/logger.js"},"gitHead":"cd2ef13aa283551a4c4e09bb1e07d84dcb93c085","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"10.5.1","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"20.11.1","dependencies":{"weald":"^1.0.2","uint8arrays":"^5.1.0","@noble/hashes":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"nanoid":"^5.0.7","prando":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.4.5_1725798418825_0.5714957621571384","host":"s3://npm-registry-packages"}},"0.4.6":{"name":"@canvas-js/okra","version":"0.4.6","author":{"name":"Joel Gustafson"},"license":"MIT","_id":"@canvas-js/okra@0.4.6","maintainers":[{"name":"rjwebb","email":"bob.wbb@gmail.com"},{"name":"joelg","email":"joelg@mit.edu"},{"name":"raykyri","email":"raykyri@gmail.com"}],"homepage":"https://github.com/canvasxyz/okra-js#readme","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"dist":{"shasum":"8234231cecf77c2412bf03f3406c1d96144389ae","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.4.6.tgz","fileCount":28,"integrity":"sha512-UrKrTLhtRX1CR/61Yx6Pwq70az8Xn0RJTEEBqYH6ZtBp8lBwsdDWY5t6PxHkAkIkiEoer3HxmyUVTRLoE2N+Dg==","signatures":[{"sig":"MEUCIQC1jmvAnsnQEC7BTwdeQY210KuduqASbLHA76TrNwwRyAIgZRF9fljzdE0OlFfCXMSykYqS8Ugp9E+uQ23J/ENKCXc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43700},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","exports":{".":"./lib/index.js","./logger":"./lib/logger.js"},"gitHead":"61549ec58d262856cf1fc7d17a0d476ca2afc663","scripts":{"test":"ava"},"_npmUser":{"name":"joelg","email":"joelg@mit.edu"},"repository":{"url":"git://github.com/canvasxyz/okra-js.git","type":"git"},"_npmVersion":"10.8.3","description":"A p2p merkle index in pure JavaScript","directories":{},"_nodeVersion":"22.9.0","dependencies":{"weald":"^1.0.4","uint8arrays":"^5.1.0","@noble/hashes":"^1.5.0"},"_hasShrinkwrap":false,"devDependencies":{"nanoid":"^5.0.8","prando":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/okra_0.4.6_1731600295454_0.8207775509805364","host":"s3://npm-registry-packages"}},"0.4.7":{"name":"@canvas-js/okra","description":"A p2p merkle index in pure JavaScript","version":"0.4.7","type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":"./lib/index.js","./logger":"./lib/logger.js"},"scripts":{"test":"ava"},"repository":{"type":"git","url":"git://github.com/canvasxyz/okra-js.git"},"author":{"name":"Joel Gustafson"},"license":"MIT","devDependencies":{"nanoid":"^5.1.3","prando":"^6.0.1"},"dependencies":{"@canvas-js/utils":"^1.0.0","@noble/hashes":"^1.7.1","uint8arrays":"^5.1.0","weald":"^1.0.4"},"_id":"@canvas-js/okra@0.4.7","gitHead":"60e51ddbec413468fcf2de6d0da6245a353661da","bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"homepage":"https://github.com/canvasxyz/okra-js#readme","_nodeVersion":"23.7.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-FETiUEPEX8J33z6tNDZm8mY1/qFqAa9ZFiHY0JI8TQphN70/6362W56lGIqqyZCTA9Ec8j3daxCten7dwX+YYQ==","shasum":"820bc84f75dfd37fbccc82a8c23d6452c0f00cf5","tarball":"https://registry.npmjs.org/@canvas-js/okra/-/okra-0.4.7.tgz","fileCount":28,"unpackedSize":43652,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCFb3xA1lkrUObaYkg0apES15CZypAgGWGzJZDzk4T7EwIgSEsoPkeD30FWZbfppMU0QjqFoKunO4CLZ8bVuz8SilY="}]},"_npmUser":{"name":"joelg","email":"joelgustafson@protonmail.com"},"directories":{},"maintainers":[{"name":"joelg","email":"joelgustafson@protonmail.com"},{"name":"raykyri","email":"raykyri@gmail.com"},{"name":"rjwebb","email":"bob.wbb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/okra_0.4.7_1742412711777_0.6439180823663073"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-04T20:59:12.207Z","modified":"2025-03-19T19:31:52.201Z","0.0.1":"2023-05-04T20:59:12.541Z","0.1.0":"2023-08-19T03:20:10.639Z","0.1.1":"2023-08-20T04:11:58.567Z","0.2.0":"2023-09-15T04:25:00.342Z","0.3.0":"2024-03-25T17:46:27.992Z","0.4.0":"2024-06-10T12:38:16.772Z","0.4.1":"2024-06-10T23:43:26.550Z","0.4.2":"2024-06-12T12:44:21.738Z","0.4.3":"2024-06-12T12:51:44.882Z","0.4.4":"2024-06-12T19:22:54.455Z","0.4.5":"2024-09-08T12:26:58.997Z","0.4.6":"2024-11-14T16:04:55.628Z","0.4.7":"2025-03-19T19:31:51.953Z"},"bugs":{"url":"https://github.com/canvasxyz/okra-js/issues"},"author":{"name":"Joel Gustafson"},"license":"MIT","homepage":"https://github.com/canvasxyz/okra-js#readme","repository":{"type":"git","url":"git://github.com/canvasxyz/okra-js.git"},"description":"A p2p merkle index in pure JavaScript","maintainers":[{"name":"joelg","email":"joelgustafson@protonmail.com"},{"name":"raykyri","email":"raykyri@gmail.com"},{"name":"rjwebb","email":"bob.wbb@gmail.com"}],"readme":"# `@canvas-js/okra`\n\n[![NPM version](https://img.shields.io/npm/v/@canvas-js/okra)](https://www.npmjs.com/package/@canvas-js/okra) ![TypeScript types](https://img.shields.io/npm/types/@canvas-js/okra)\n\n## Install\n\n```\nnpm i @canvas-js/okra\n```\n\n## Usage\n\n```ts\nimport { sync } from \"@canvas-js/okra\"\nimport { MemoryTree } from \"@canvas-js/okra-memory\"\n\nconst source = await MemoryTree.open()\nconst target = await MemoryTree.open()\n\nconst hex = (hex: string) => Buffer.from(hex, \"hex\")\n\nawait source.set(hex(\"00\"), hex(\"aa\"))\nawait target.set(hex(\"00\"), hex(\"aa\"))\n\nawait source.set(hex(\"01\"), hex(\"bb\"))\n\nawait source.set(hex(\"02\"), hex(\"cc\"))\nawait target.set(hex(\"02\"), hex(\"dd\"))\n\nasync function collect<T>(iter: AsyncIterable<T>): Promise<T[]> {\n\tconst values = []\n\tfor await (const value of iter) {\n\t\tvalues.push(value)\n\t}\n\treturn values\n}\n\nconst delta = await collect(sync(source, target))\nconsole.log(delta)\n// [\n//   { key: <Buffer 01>, source: <Buffer bb>, target: null },\n//   { key: <Buffer 02>, source: <Buffer cc>, target: <Buffer dd> }\n// ]\n```\n","readmeFilename":"README.md"}