@chainsafe/persistent-merkle-tree
Version:
Merkle tree implemented as a persistent datastructure
73 lines (72 loc) • 1.89 kB
JSON
{
"name": "@chainsafe/persistent-merkle-tree",
"version": "1.0.2",
"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",
"lint": "eslint --color --ext .ts src/",
"lint:fix": "yarn run lint --fix",
"benchmark:files": "node --max-old-space-size=4096 --expose-gc --loader ts-node/esm ../../node_modules/.bin/benchmark",
"benchmark": "yarn benchmark:files 'test/perf/*.test.ts'",
"benchmark:local": "yarn benchmark --local",
"test": "vitest run --dir test/unit"
},
"pre-push": [
"lint"
],
"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.0.1",
"@chainsafe/hashtree": "1.0.1",
"@noble/hashes": "^1.3.0"
},
"gitHead": "424c3ddaa691e4cd0bad7eb1b119223f7caf9dbc"
}