@nomicfoundation/ethereumjs-trie

v6.0.4
Implementation of the modified merkle patricia tree as specified in Ethereum's yellow paper.
merkle radix trie ethereum

tsc

../../config/cli/ts-compile.sh

lint

../../config/cli/lint.sh

test

npm run test:node && npm run test:browser

build

../../config/cli/ts-build.sh

clean

../../config/cli/clean-package.sh

coverage

DEBUG=ethjs npx vitest run --coverage.enabled --coverage.reporter=lcov

examples

tsx ../../scripts/examples-runner.ts -- trie

lint:fix

../../config/cli/lint-fix.sh

lint:diff

../../config/cli/lint-diff.sh

profiling

tsc --target ES5 benchmarks/random.ts && 0x benchmarks/random.js

test:node

npx vitest run

benchmarks

node -r tsx/register --max-old-space-size=8024 benchmarks

docs:build

typedoc --options typedoc.cjs

test:browser

npx vitest run --config=./vitest.config.browser.ts --browser.name=chrome --browser.headless
npm i @nomicfoundation/ethereumjs-trie

Metadata

  • MPL-2.0
  • >=18
  • EthereumJS Team
  • released 2/5/2024

Downloads