@chainsafe/persistent-merkle-tree
Version:
Merkle tree implemented as a persistent datastructure
67 lines (66 loc) • 1.74 kB
JSON
{
"name": "@chainsafe/persistent-merkle-tree",
"version": "1.2.1",
"description": "Merkle tree implemented as a persistent datastructure",
"type": "module",
"exports": {
".": {
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./hasher/hashtree": {
"import": "./lib/hasher/hashtree.js",
"types": "./lib/hasher/hashtree.d.ts"
},
"./hasher/noble": {
"import": "./lib/hasher/noble.js",
"types": "./lib/hasher/noble.d.ts"
},
"./hasher/as-sha256": {
"import": "./lib/hasher/as-sha256.js",
"types": "./lib/hasher/as-sha256.d.ts"
}
},
"typesVersions": {
"*": {
"*": [
"*",
"lib/*",
"lib/*/index"
]
}
},
"files": [
"lib"
],
"scripts": {
"check-types": "tsc --noEmit",
"clean": "rm -rf lib",
"build": "tsc -p tsconfig.build.json",
"benchmark:files": "node --max-old-space-size=4096 --expose-gc --loader ts-node/esm/transpile-only ../../node_modules/.bin/benchmark",
"benchmark": "yarn benchmark:files 'test/perf/*.test.ts'",
"benchmark:local": "yarn benchmark --local",
"test:unit": "vitest run --dir test/unit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ChainSafe/persistent-merkle-tree.git"
},
"keywords": [
"hash",
"ethereum",
"merkle",
"tree"
],
"author": "ChainSafe Systems",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ChainSafe/persistent-merkle-tree/issues"
},
"homepage": "https://github.com/ChainSafe/persistent-merkle-tree#readme",
"dependencies": {
"@chainsafe/as-sha256": "1.2.0",
"@chainsafe/hashtree": "1.0.2",
"@noble/hashes": "^1.3.0"
}
}