{"_id":"@ethereumjs/binarytree","_rev":"8-72f50d08671dc6c0f857d644b6cc192f","name":"@ethereumjs/binarytree","dist-tags":{"rc":"10.0.0-dev-rc.1","nightly":"10.1.1-nightly.2","latest":"10.1.3"},"versions":{"10.0.0-dev-rc.1":{"name":"@ethereumjs/binarytree","version":"10.0.0-dev-rc.1","keywords":["binary","tree","trie","ethereum"],"author":{"name":"EthereumJS Team"},"license":"MIT","_id":"@ethereumjs/binarytree@10.0.0-dev-rc.1","maintainers":[{"name":"axic","email":"alex@rtfs.hu"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"},{"name":"g11tech","email":"gajinder@g11.in"}],"contributors":[{"url":"https://github.com/gabrocheleau","name":"Gabriel Rocheleau"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+binarytree%22"},"dist":{"shasum":"550ae1236b58cd68bf20bd5d33206827879b7c96","tarball":"https://registry.npmjs.org/@ethereumjs/binarytree/-/binarytree-10.0.0-dev-rc.1.tgz","fileCount":124,"integrity":"sha512-oH0L+93vHy/ZLpxC/R+6Iqjb+qVgX4XhSh8GWSLdkdcr/6G9ncsG0eVFUyejoTCXTk8E0wEN7zBFWdyA7QwyeQ==","signatures":[{"sig":"MEUCIEDIsGLlKTytkQL6xbaL1MBMDZ4C03OEPq4OfiGdD/jpAiEAuYgrgaLlNfss1j35UCLI4UHZm4sz2oErKMC/a0M2p8w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":384581},"main":"dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"5672c104a2f236d1459533facaf2741dcda3ee14","scripts":{"tsc":"../../config/cli/ts-compile.sh","lint":"npm run biome && eslint  --config ./eslint.config.mjs .","test":"npm run test:node","biome":"npx @biomejs/biome check","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.mts","lint:fix":"npm run biome:fix && eslint  --fix --config ./eslint.config.mjs .","biome:fix":"npx @biomejs/biome check --write","test:node":"npx vitest run","docs:build":"typedoc --options typedoc.cjs","test:browser":"npx vitest run --config=../../config/vitest.config.browser.mts","prepublishOnly":"../../config/cli/prepublish.sh","coverage:istanbul":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.istanbul.mts"},"_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"10.9.2","description":"Implementation of binary trees as used in Ethereum.","directories":{},"sideEffects":false,"_nodeVersion":"23.10.0","dependencies":{"debug":"^4.4.0","lru-cache":"11.0.2","@noble/hashes":"^1.7.1","@ethereumjs/rlp":"^10.0.0-rc.1","@ethereumjs/util":"^10.0.0-rc.1","ethereum-cryptography":"^3.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binarytree_10.0.0-dev-rc.1_1742837730976_0.9840767284312932","host":"s3://npm-registry-packages-npm-production"}},"10.0.0":{"name":"@ethereumjs/binarytree","version":"10.0.0","keywords":["binary","tree","trie","ethereum"],"author":{"name":"EthereumJS Team"},"license":"MIT","_id":"@ethereumjs/binarytree@10.0.0","maintainers":[{"name":"axic","email":"alex@rtfs.hu"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"},{"name":"g11tech","email":"gajinder@g11.in"}],"contributors":[{"url":"https://github.com/gabrocheleau","name":"Gabriel Rocheleau"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+binarytree%22"},"dist":{"shasum":"a4a6094cc19bac200961c75988e838710108f3e2","tarball":"https://registry.npmjs.org/@ethereumjs/binarytree/-/binarytree-10.0.0.tgz","fileCount":124,"integrity":"sha512-ZOfRpMhzt3kukNAzSlA/qAr8BQFw24lVbGLYN8mrILzZIHYYa2/PbhitVdPnCSQaeARSE/bLYBgM4c3+na0x0Q==","signatures":[{"sig":"MEYCIQCnP4ZCRtciOgySRN8a5XQUsmjFihfyG4V1HNpGoZdB7AIhANfso0EM+r1az88OHpjF5Y93nfSCYLX8/fS9qWb2R07G","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":388563},"main":"dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"default":"./dist/esm/index.js","typescript":"./src/index.ts"},"require":"./dist/cjs/index.js"}},"gitHead":"9e461f54312bf20c710b43ab73f7d3ad753f8765","scripts":{"sc":"npm run spellcheck","tsc":"../../config/cli/ts-compile.sh","lint":"npm run biome && eslint  --config ./eslint.config.mjs .","test":"npm run test:node","biome":"npx @biomejs/biome check","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.mts","lint:fix":"npm run biome:fix && eslint  --fix --config ./eslint.config.mjs .","biome:fix":"npx @biomejs/biome check --write","test:node":"npx vitest run -c ../../config/vitest.config.mts","docs:build":"typedoc --options typedoc.mjs","spellcheck":"npm run spellcheck:ts && npm run spellcheck:md","test:browser":"npx vitest run --config=../../config/vitest.config.browser.mts","spellcheck:md":"npx cspell --gitignore -c ../../config/cspell-md.json \"**.md\" --cache --show-suggestions --show-context","spellcheck:ts":"npx cspell --gitignore -c ../../config/cspell-ts.json \"./**/*.ts\" --cache --show-suggestions --show-context","prepublishOnly":"../../config/cli/prepublish.sh","coverage:istanbul":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.istanbul.mts"},"_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"11.2.0","description":"Implementation of binary trees as used in Ethereum.","directories":{},"sideEffects":false,"_nodeVersion":"23.10.0","dependencies":{"debug":"^4.4.0","lru-cache":"11.0.2","@noble/hashes":"^1.7.2","@ethereumjs/rlp":"^10.0.0","@ethereumjs/util":"^10.0.0","ethereum-cryptography":"^3.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/binarytree_10.0.0_1745913469915_0.8530579826304534","host":"s3://npm-registry-packages-npm-production"}},"10.1.0":{"name":"@ethereumjs/binarytree","version":"10.1.0","keywords":["binary","tree","trie","ethereum"],"author":{"name":"EthereumJS Team"},"license":"MIT","_id":"@ethereumjs/binarytree@10.1.0","maintainers":[{"name":"axic","email":"alex@rtfs.hu"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"},{"name":"g11tech","email":"gajinder@g11.in"}],"contributors":[{"url":"https://github.com/gabrocheleau","name":"Gabriel Rocheleau"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+binarytree%22"},"dist":{"shasum":"d5c7b19975fba762ab84937120ec56f6a657ccb3","tarball":"https://registry.npmjs.org/@ethereumjs/binarytree/-/binarytree-10.1.0.tgz","fileCount":124,"integrity":"sha512-54n24oYJqgDk6DtXVjjGohjQCFCDgcvI2+AeNGRZcsQuz6yE2HYvxWq8VrAAcR8ja/gNc9eVYL51DvU93qK8Eg==","signatures":[{"sig":"MEUCIQDjTe4rEGJV/+k+cpkE8v5GDsArqvVQOLFJpPW2z4dqfgIgUGaD8xk9KI7uy0kpH6zC0YNuBmYGWeRnKOhx86dQFeo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":386372},"main":"dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"default":"./dist/esm/index.js","typescript":"./src/index.ts"},"require":"./dist/cjs/index.js"}},"gitHead":"7d5c1304a74002d3ad646cd2f7685b3f320e9a74","scripts":{"sc":"npm run spellcheck","tsc":"../../config/cli/ts-compile.sh","lint":"npm run biome && eslint  --config ./eslint.config.mjs .","test":"npm run test:node","biome":"npx @biomejs/biome check","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.mts","lint:fix":"npm run biome:fix && eslint  --fix --config ./eslint.config.mjs .","biome:fix":"npx @biomejs/biome check --write","test:node":"npx vitest run -c ../../config/vitest.config.mts","docs:build":"typedoc --options typedoc.mjs","spellcheck":"npm run spellcheck:ts && npm run spellcheck:md","test:browser":"npx vitest run --config=../../config/vitest.config.browser.mts","spellcheck:md":"npx cspell --gitignore -c ../../config/cspell-md.json \"**.md\" --cache --show-suggestions --show-context","spellcheck:ts":"npx cspell --gitignore -c ../../config/cspell-ts.json \"./**/*.ts\" --cache --show-suggestions --show-context","prepublishOnly":"../../config/cli/prepublish.sh","coverage:istanbul":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.istanbul.mts"},"_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"11.6.2","description":"Implementation of binary trees as used in Ethereum.","directories":{},"sideEffects":false,"_nodeVersion":"23.10.0","dependencies":{"debug":"^4.4.0","lru-cache":"11.0.2","@noble/hashes":"^1.7.2","@ethereumjs/rlp":"^10.1.0","@ethereumjs/util":"^10.1.0","ethereum-cryptography":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/binarytree_10.1.0_1762449102919_0.10829688478182731","host":"s3://npm-registry-packages-npm-production"}},"10.1.1-nightly.1":{"name":"@ethereumjs/binarytree","version":"10.1.1-nightly.1","keywords":["binary","tree","trie","ethereum"],"author":{"name":"EthereumJS Team"},"license":"MIT","_id":"@ethereumjs/binarytree@10.1.1-nightly.1","maintainers":[{"name":"axic","email":"alex@rtfs.hu"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"},{"name":"g11tech","email":"gajinder@g11.in"}],"contributors":[{"url":"https://github.com/gabrocheleau","name":"Gabriel Rocheleau"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+binarytree%22"},"dist":{"shasum":"c8cc6a484f33e7656bea9e5ffa5fee7f42e55424","tarball":"https://registry.npmjs.org/@ethereumjs/binarytree/-/binarytree-10.1.1-nightly.1.tgz","fileCount":124,"integrity":"sha512-sNrP4F5/6xUcYYs0efJbOrU5atvtGJUOKDs+yZtoxBwkjxJkjFjlQ0x2JfLWiRsJH1grkKfNS49YxGsGr36o4w==","signatures":[{"sig":"MEQCICGbyRI7rC3xOehWbBMdnKCjWUghfdmM6gIizivexHy4AiBYsmzpabJCuYkpeDyRhBzaz3pM1gpkWqwU0VTnWLvezQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":384220},"main":"dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"default":"./dist/esm/index.js","typescript":"./src/index.ts"},"require":"./dist/cjs/index.js"}},"gitHead":"1e9e9d68277afe759592bccc08700c3e9ab2fbc8","scripts":{"sc":"npm run spellcheck","tsc":"../../config/cli/ts-compile.sh","lint":"npm run biome && eslint  --config ./eslint.config.mjs .","test":"npm run test:node","biome":"npx @biomejs/biome check","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.mts","lint:fix":"npm run biome:fix && eslint  --fix --config ./eslint.config.mjs .","biome:fix":"npx @biomejs/biome check --write","test:node":"npx vitest run -c ../../config/vitest.config.mts","docs:build":"typedoc --options typedoc.mjs","spellcheck":"npm run spellcheck:ts && npm run spellcheck:md","test:browser":"npx vitest run --config=../../config/vitest.config.browser.mts","spellcheck:md":"npx cspell --gitignore -c ../../config/cspell-md.json \"**.md\" --cache --show-suggestions --show-context","spellcheck:ts":"npx cspell --gitignore -c ../../config/cspell-ts.json \"./**/*.ts\" --cache --show-suggestions --show-context","prepublishOnly":"../../config/cli/prepublish.sh","coverage:istanbul":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.istanbul.mts"},"_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"11.6.2","description":"Implementation of binary trees as used in Ethereum.","directories":{},"sideEffects":false,"_nodeVersion":"23.10.0","dependencies":{"debug":"^4.4.0","lru-cache":"11.0.2","@noble/hashes":"^2.0.1","@ethereumjs/rlp":"^10.1.1-nightly.1","@ethereumjs/util":"^10.1.1-nightly.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/binarytree_10.1.1-nightly.1_1764845500977_0.031236477621274128","host":"s3://npm-registry-packages-npm-production"}},"10.1.1-nightly.2":{"name":"@ethereumjs/binarytree","version":"10.1.1-nightly.2","keywords":["binary","tree","trie","ethereum"],"author":{"name":"EthereumJS Team"},"license":"MIT","_id":"@ethereumjs/binarytree@10.1.1-nightly.2","maintainers":[{"name":"axic","email":"alex@rtfs.hu"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"},{"name":"g11tech","email":"gajinder@g11.in"}],"contributors":[{"url":"https://github.com/gabrocheleau","name":"Gabriel Rocheleau"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+binarytree%22"},"dist":{"shasum":"803b17629e96bfd9bc7a4fe66dab66c81e38525a","tarball":"https://registry.npmjs.org/@ethereumjs/binarytree/-/binarytree-10.1.1-nightly.2.tgz","fileCount":124,"integrity":"sha512-FdsmMRTpoA3OeiAR2tszJm3vimG1mIznV0NKXfl40S3y22irh6ezIDs8C4k4wEfyJQNXPF+JIEhts/17bAtkNw==","signatures":[{"sig":"MEUCIQDcGIP7REb+pD6GWhoXRphXczKvxIs/2Y0FfNrvpS3hwAIgf9kUu6zUS8Hfzts0/BushQXzvGTo6ed7UnKiYrp8180=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385336},"main":"dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"default":"./dist/esm/index.js","typescript":"./src/index.ts"},"require":"./dist/cjs/index.js"}},"gitHead":"91962440788d070d446f7c32154340d47d7fdc27","scripts":{"sc":"npm run spellcheck","tsc":"../../config/cli/ts-compile.sh","lint":"npm run biome && eslint  --config ./eslint.config.mjs .","test":"npm run test:node","biome":"npx @biomejs/biome check","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.mts","lint:fix":"npm run biome:fix && eslint  --fix --config ./eslint.config.mjs .","biome:fix":"npx @biomejs/biome check --write","test:node":"npx vitest run -c ../../config/vitest.config.mts","docs:build":"typedoc --options typedoc.mjs","spellcheck":"npm run spellcheck:ts && npm run spellcheck:md","test:browser":"npx vitest run --config=../../config/vitest.config.browser.mts","spellcheck:md":"npx cspell --gitignore -c ../../config/cspell-md.json \"**.md\" --cache --show-suggestions --show-context","spellcheck:ts":"npx cspell --gitignore -c ../../config/cspell-ts.json \"./**/*.ts\" --cache --show-suggestions --show-context","prepublishOnly":"../../config/cli/prepublish.sh","coverage:istanbul":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.istanbul.mts"},"_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"11.6.2","description":"Implementation of binary trees as used in Ethereum.","directories":{},"sideEffects":false,"_nodeVersion":"23.10.0","dependencies":{"debug":"^4.4.0","lru-cache":"11.0.2","@noble/hashes":"^2.0.1","@ethereumjs/rlp":"^10.1.1-nightly.2","@ethereumjs/util":"^10.1.1-nightly.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/binarytree_10.1.1-nightly.2_1768826034459_0.5691482090825892","host":"s3://npm-registry-packages-npm-production"}},"10.1.1":{"name":"@ethereumjs/binarytree","version":"10.1.1","keywords":["binary","tree","trie","ethereum"],"author":{"name":"EthereumJS Team"},"license":"MIT","_id":"@ethereumjs/binarytree@10.1.1","maintainers":[{"name":"axic","email":"alex@rtfs.hu"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"},{"name":"g11tech","email":"gajinder@g11.in"}],"contributors":[{"url":"https://github.com/gabrocheleau","name":"Gabriel Rocheleau"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+binarytree%22"},"dist":{"shasum":"5213c6e862ce8b71a2a58a3487601a4d5901d093","tarball":"https://registry.npmjs.org/@ethereumjs/binarytree/-/binarytree-10.1.1.tgz","fileCount":124,"integrity":"sha512-vcU+cDgWJ0YNrJb5gWcKWfMpYJg4W+8benAds7QQo2ayTYZbuMqju3Fq7m5LNG+xqkdF0a901QDbT5xaB7rJLQ==","signatures":[{"sig":"MEUCIQDWs6UA0B0a9N+BlmKLrAcdyJYbWk8oyLGnKSPFiltFRQIgW9d1p+9cIDTE2H3js5+bRo4cAcoT6H2n6R/jFHaCXwQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385274},"main":"dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"default":"./dist/esm/index.js","typescript":"./src/index.ts"},"require":"./dist/cjs/index.js"}},"gitHead":"dbbd61e07023ec8c867dd6c279c6990d43064ed9","scripts":{"sc":"npm run spellcheck","tsc":"../../config/cli/ts-compile.sh","lint":"npm run biome && eslint  --config ./eslint.config.mjs .","test":"npm run test:node","biome":"npx @biomejs/biome check","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.mts","lint:fix":"npm run biome:fix && eslint  --fix --config ./eslint.config.mjs .","biome:fix":"npx @biomejs/biome check --write","test:node":"npx vitest run -c ../../config/vitest.config.mts","docs:build":"typedoc --options typedoc.mjs","spellcheck":"npm run spellcheck:ts && npm run spellcheck:md","test:browser":"npx vitest run --config=../../config/vitest.config.browser.mts","spellcheck:md":"npx cspell --gitignore -c ../../config/cspell-md.json \"**.md\" --cache --show-suggestions --show-context","spellcheck:ts":"npx cspell --gitignore -c ../../config/cspell-ts.json \"./**/*.ts\" --cache --show-suggestions --show-context","prepublishOnly":"../../config/cli/prepublish.sh","coverage:istanbul":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.istanbul.mts"},"_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"11.6.2","description":"Implementation of binary trees as used in Ethereum.","directories":{},"sideEffects":false,"_nodeVersion":"23.10.0","dependencies":{"debug":"^4.4.0","lru-cache":"11.0.2","@noble/hashes":"^2.0.1","@ethereumjs/rlp":"^10.1.1","@ethereumjs/util":"^10.1.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/binarytree_10.1.1_1769607138657_0.07371993685427003","host":"s3://npm-registry-packages-npm-production"}},"10.1.2":{"name":"@ethereumjs/binarytree","version":"10.1.2","keywords":["binary","tree","trie","ethereum"],"author":{"name":"EthereumJS Team"},"license":"MIT","_id":"@ethereumjs/binarytree@10.1.2","maintainers":[{"name":"axic","email":"alex@rtfs.hu"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"},{"name":"g11tech","email":"gajinder@g11.in"}],"contributors":[{"url":"https://github.com/gabrocheleau","name":"Gabriel Rocheleau"}],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+binarytree%22"},"dist":{"shasum":"ee4900ecf2776b252a9dfe40af2023477885a34b","tarball":"https://registry.npmjs.org/@ethereumjs/binarytree/-/binarytree-10.1.2.tgz","fileCount":124,"integrity":"sha512-szugxzYrQHRvlhbu0BrcW/Kw7tg3K0b1HbKCdwRrFhvz80RbGfML2wqDDZhO5NyvHqWpS+Rt9q+qV9LxOHCP6w==","signatures":[{"sig":"MEUCICLUIGjF3DJwq7gdf+vf245tz2F44/N+dMGLsMz+AEHHAiEAwN29N32M12jk48polXkYqewMW+CxlXRHIdL8DjcXUZo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":385403},"main":"dist/cjs/index.js","type":"module","types":"./dist/cjs/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"default":"./dist/esm/index.js","typescript":"./src/index.ts"},"require":"./dist/cjs/index.js"}},"gitHead":"28d6a165971964f239b77004196c6c0e87697835","scripts":{"sc":"npm run spellcheck","tsc":"../../config/cli/ts-compile.sh","lint":"npm run biome && eslint  --config ./eslint.config.mjs .","test":"npm run test:node","biome":"npx @biomejs/biome check","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.mts","lint:fix":"npm run biome:fix && eslint  --fix --config ./eslint.config.mjs .","biome:fix":"npx @biomejs/biome check --write","test:node":"npx vitest run -c ../../config/vitest.config.mts","docs:build":"typedoc --options typedoc.mjs","spellcheck":"npm run spellcheck:ts && npm run spellcheck:md","test:browser":"npx vitest run --config=../../config/vitest.config.browser.mts","spellcheck:md":"npx cspell --gitignore -c ../../config/cspell-md.json \"**.md\" --cache --show-suggestions --show-context","spellcheck:ts":"npx cspell --gitignore -c ../../config/cspell-ts.json \"./**/*.ts\" --cache --show-suggestions --show-context","prepublishOnly":"../../config/cli/prepublish.sh","coverage:istanbul":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.istanbul.mts"},"_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"repository":{"url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git","type":"git"},"_npmVersion":"11.12.1","description":"Implementation of binary trees as used in Ethereum.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"debug":"^4.4.0","lru-cache":"11.0.2","@noble/hashes":"^2.0.1","@ethereumjs/rlp":"^10.1.2","@ethereumjs/util":"^10.1.2"},"_hasShrinkwrap":false,"devDependencies":{"@types/debug":"^4.1.12"},"_npmOperationalInternal":{"tmp":"tmp/binarytree_10.1.2_1780056547342_0.9040721962055138","host":"s3://npm-registry-packages-npm-production"}},"10.1.3":{"name":"@ethereumjs/binarytree","version":"10.1.3","description":"Implementation of binary trees as used in Ethereum.","keywords":["binary","tree","trie","ethereum"],"homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree#readme","bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+binarytree%22"},"repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git"},"license":"MIT","author":{"name":"EthereumJS Team"},"contributors":[{"name":"Gabriel Rocheleau","url":"https://github.com/gabrocheleau"}],"type":"module","sideEffects":false,"main":"dist/cjs/index.js","module":"dist/esm/index.js","exports":{".":{"import":{"typescript":"./src/index.ts","default":"./dist/esm/index.js"},"require":{"typescript":"./src/index.ts","default":"./dist/cjs/index.js"}}},"scripts":{"biome":"npx @biomejs/biome check","biome:fix":"npx @biomejs/biome check --write","build":"../../config/cli/ts-build.sh","clean":"../../config/cli/clean-package.sh","coverage":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.mts","coverage:istanbul":"DEBUG=ethjs npx vitest run -c ../../config/vitest.config.coverage.istanbul.mts","docs:build":"../../config/cli/typedoc.sh --options typedoc.mjs","examples":"tsx ../../scripts/examples-runner.ts -- binarytree","examples:build":"npx embedme README.md","lint":"npm run biome && eslint  --config ./eslint.config.mjs .","lint:fix":"npm run biome:fix && eslint  --fix --config ./eslint.config.mjs .","prepublishOnly":"../../config/cli/prepublish.sh","sc":"npm run spellcheck","spellcheck":"npm run spellcheck:ts && npm run spellcheck:md","spellcheck:ts":"npx cspell --gitignore -c ../../config/cspell-ts.json \"./**/*.ts\" --cache --show-suggestions --show-context","spellcheck:md":"npx cspell --gitignore -c ../../config/cspell-md.json \"**.md\" --cache --show-suggestions --show-context","test":"npm run test:node","test:node":"npx vitest run -c ../../config/vitest.config.mts","test:browser":"npx vitest run --config=../../config/vitest.config.browser.mts","tsc":"../../config/cli/ts-compile.sh"},"dependencies":{"@ethereumjs/rlp":"^10.1.3","@ethereumjs/util":"^10.1.3","@noble/hashes":"^2.0.1","debug":"^4.4.0","lru-cache":"11.0.2"},"devDependencies":{"@types/debug":"^4.1.12"},"engines":{"node":">=20"},"gitHead":"29f404f305be4473907d4aa4f7ece85633bb73da","types":"./dist/cjs/index.d.ts","_id":"@ethereumjs/binarytree@10.1.3","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-XWHuNNVZVtSfr6/2UbAhCXf848s4rNKUuVKFNG6O18lz0anuaMiIADfNQJ5DOhOfflZVIPRvGWegDMoU6xRaBA==","shasum":"a60f7339edc21b6f7eb4481891d0f8a871059a68","tarball":"https://registry.npmjs.org/@ethereumjs/binarytree/-/binarytree-10.1.3.tgz","fileCount":124,"unpackedSize":385018,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCFyZLTU2PmFMV7qyodupuIDaFs9Bovi61mX2LBB6BkCgIhAO+eUI4FS5d80wVJ1ge12icx40LV40nS0mjswQ1yemgD"}]},"_npmUser":{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},"directories":{},"maintainers":[{"name":"axic","email":"alex@rtfs.hu"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"},{"name":"g11tech","email":"gajinder@g11.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/binarytree_10.1.3_1787316783309_0.26786808393815575"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-24T17:35:30.868Z","modified":"2026-08-21T12:53:03.668Z","10.0.0-dev-rc.1":"2025-03-24T17:35:31.175Z","10.0.0":"2025-04-29T07:57:50.098Z","10.1.0":"2025-11-06T17:11:43.156Z","10.1.1-nightly.1":"2025-12-04T10:51:41.123Z","10.1.1-nightly.2":"2026-01-19T12:33:54.648Z","10.1.1":"2026-01-28T13:32:18.875Z","10.1.2":"2026-05-29T12:09:07.497Z","10.1.3":"2026-08-21T12:53:03.509Z"},"bugs":{"url":"https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+binarytree%22"},"author":{"name":"EthereumJS Team"},"license":"MIT","homepage":"https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree#readme","keywords":["binary","tree","trie","ethereum"],"repository":{"type":"git","url":"git+https://github.com/ethereumjs/ethereumjs-monorepo.git"},"description":"Implementation of binary trees as used in Ethereum.","contributors":[{"name":"Gabriel Rocheleau","url":"https://github.com/gabrocheleau"}],"maintainers":[{"name":"axic","email":"alex@rtfs.hu"},{"name":"holgerd77","email":"Holger.Drewes@gmail.com"},{"name":"acolytec3","email":"metroman374@gmail.com"},{"name":"g11tech","email":"gajinder@g11.in"}],"readme":"# @ethereumjs/binarytree `v10` (EXPERIMENTAL)\n\n[![NPM Package][binarytree-npm-badge]][binarytree-npm-link]\n[![GitHub Issues][binarytree-issues-badge]][binarytree-issues-link]\n[![Actions Status][binarytree-actions-badge]][binarytree-actions-link]\n[![Code Coverage][binarytree-coverage-badge]][binarytree-coverage-link]\n[![Discord][discord-badge]][discord-link]\n\n| Implementation of Binary Trees as specified in [EIP-7864](https://eips.ethereum.org/EIPS/eip-7864) |\n| -------------------------------------------------------------------------------------------------- |\n\nBinary Trees are a novel cryptographic data structure proposed for Ethereum state storage with smaller proof sizes than Merkle Patricia Tries. Keys map to a **stem** (first 31 bytes) and **index** (last byte) within a stem node.\n\n**This library is experimental** — APIs are not stable and it must not be used in production.\n\nRunnable examples live in [`examples/`](./examples/).\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Getting Started](#getting-started)\n- [Proofs](#proofs)\n- [Browser](#browser)\n- [API](#api)\n- [EthereumJS](#ethereumjs)\n- [License](#license)\n\n## Installation\n\n```shell\nnpm install @ethereumjs/binarytree\n```\n\n## Getting Started\n\nUse `createBinaryTree()` to instantiate a tree. By default an in-memory `MapDB` is used; pass `db` for persistence.\n\n```ts\n// ./examples/basicUsage.ts\n\nimport { createBinaryTree } from '@ethereumjs/binarytree'\nimport { bytesToHex, hexToBytes } from '@ethereumjs/util'\n\nconst main = async () => {\n  const tree = await createBinaryTree()\n\n  const key = hexToBytes(`0x${'00'.repeat(32)}`)\n  const value = hexToBytes(`0x${'01'.repeat(32)}`)\n  const stem = key.slice(0, 31)\n  const index = key[31]\n\n  await tree.put(stem, [index], [value])\n  const [retrieved] = await tree.get(stem, [index])\n\n  console.log(`Root: ${bytesToHex(tree.root())}`)\n  console.log(`Value match: ${bytesToHex(retrieved!)}`)\n}\n\nvoid main()\n```\n\n`put(stem, indices, values)` accepts parallel arrays of slot indices and 32-byte values within one stem. `get(stem, indices)` returns values in the same order.\n\nOptions (`BinaryTreeOpts`): `db`, `useRootPersistence`, `cacheSize`, `hashFunction` (defaults to BLAKE3).\n\n## Proofs\n\nCreate inclusion proofs with `tree.createBinaryProof(key)`, verify with `verifyBinaryProof()`, and rebuild a sparse tree from proof nodes with `binaryTreeFromProof()`:\n\n```ts\n// ./examples/binaryProof.ts\n\nimport { binaryTreeFromProof, createBinaryTree, verifyBinaryProof } from '@ethereumjs/binarytree'\nimport { bytesToHex, hexToBytes } from '@ethereumjs/util'\nimport { blake3 } from '@noble/hashes/blake3.js'\n\nconst main = async () => {\n  const tree = await createBinaryTree()\n\n  const key = hexToBytes(`0x${'00'.repeat(31)}01`)\n  const hashedKey = blake3(key)\n  const value = hexToBytes(`0x${'02'.repeat(32)}`)\n  const stem = hashedKey.slice(0, 31)\n  const index = hashedKey[31]\n\n  await tree.put(stem, [index], [value])\n\n  const proof = await tree.createBinaryProof(hashedKey)\n  const verified = await verifyBinaryProof(tree.root(), hashedKey, proof)\n  const sparse = await binaryTreeFromProof(proof)\n\n  console.log(`Proof length: ${proof.length} nodes`)\n  console.log(`Verified value: ${bytesToHex(verified!)}`)\n  console.log(`Sparse tree root match: ${bytesToHex(sparse.root()) === bytesToHex(tree.root())}`)\n}\n\nvoid main()\n```\n\nProof keys are typically `blake3(address || treeIndex || subIndex)` as used by the Verkle/binary-tree state layer. A valid proof of non-existence returns `null` / `undefined` from `verifyBinaryProof()`.\n\n## Browser\n\nHybrid ESM/CJS builds are provided. For a browser setup see [./examples/browser.html](./examples/browser.html) (build the package, then `npx vite` from the package root).\n\n## API\n\nGenerated TypeDoc [documentation](./docs/README.md).\n\nMain exports: `BinaryTree`, `createBinaryTree`, `binaryTreeFromProof`, `verifyBinaryProof`, `CheckpointDB`, node types under `./node`.\n\nUsed by [`StatefulBinaryTreeStateManager`](../statemanager) in `@ethereumjs/statemanager` when EIP-7864 is activated on `Common`.\n\n## EthereumJS\n\nThe `EthereumJS` GitHub organization and its repositories are managed by members of the former Ethereum Foundation JavaScript team and the broader Ethereum community. If you want to join for work or carry out improvements on the libraries see the [developer docs](../../DEVELOPER.md) for an overview of current standards and tools and review our [code of conduct](../../CODE_OF_CONDUCT.md).\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n\n[discord-badge]: https://img.shields.io/static/v1?logo=discord&label=discord&message=Join&color=blue\n[discord-link]: https://discord.gg/TNwARpR\n[binarytree-npm-badge]: https://img.shields.io/npm/v/@ethereumjs/binarytree.svg\n[binarytree-npm-link]: https://www.npmjs.com/package/@ethereumjs/binarytree\n[binarytree-issues-badge]: https://img.shields.io/github/issues/ethereumjs/ethereumjs-monorepo/package:%20binarytree?label=issues\n[binarytree-issues-link]: https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aopen+is%3Aissue+label%3A\"package%3A+binarytree\"\n[binarytree-actions-badge]: https://github.com/ethereumjs/ethereumjs-monorepo/workflows/binarytree/badge.svg\n[binarytree-actions-link]: https://github.com/ethereumjs/ethereumjs-monorepo/actions?query=workflow%3A%22binarytree%22\n[binarytree-coverage-badge]: https://codecov.io/gh/ethereumjs/ethereumjs-monorepo/branch/master/graph/badge.svg?flag=binarytree\n[binarytree-coverage-link]: https://codecov.io/gh/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree\n","readmeFilename":"README.md"}