UNPKG

@ethereumjs/devp2p

Version:
92 lines (91 loc) 3.05 kB
{ "name": "@ethereumjs/devp2p", "version": "10.0.0", "description": "A JavaScript implementation of ÐΞVp2p", "keywords": [ "ethereum", "p2p", "networking", "dpt", "rlpx", "eth", "eth64", "eth65", "les", "les2" ], "homepage": "https://github.com/ethereumjs/ethereumjs-monorepo/tree/master/packages/devp2p#readme", "bugs": { "url": "https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aissue+label%3A%22package%3A+devp2p%22" }, "repository": { "type": "git", "url": "https://github.com/ethereumjs/ethereumjs-monorepo.git" }, "license": "MIT", "contributors": [ "Alex Beregszaszi <alex@rtfs.hu>", "Kirill Fomichev <fanatid@ya.ru> (https://github.com/fanatid)", "Martin Becze <mb@ethdev.com>", "Holger Drewes <holger.drewes@gmail.com>" ], "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": "./dist/cjs/index.js" } }, "files": ["dist", "src"], "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": "typedoc --options typedoc.mjs", "examples": "tsx ../../scripts/examples-runner.ts -- devp2p", "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": "vitest run -c ../../config/vitest.config.mts", "test:node": "npm run test", "tsc": "../../config/cli/ts-compile.sh" }, "dependencies": { "@ethereumjs/common": "^10.0.0", "@ethereumjs/rlp": "^10.0.0", "@ethereumjs/util": "^10.0.0", "@scure/base": "^1.2.4", "debug": "^4.4.0", "ethereum-cryptography": "^3.2.0", "eventemitter3": "^5.0.1", "lru-cache": "11.0.2", "scanf": "1.2.0", "snappyjs": "^0.7.0" }, "devDependencies": { "@ethereumjs/block": "^10.0.0", "@ethereumjs/tx": "^10.0.0", "@types/debug": "^4.1.12", "@types/k-bucket": "^5.0.4", "@types/node": "^22.13.10", "chalk": "^5.4.1", "testdouble": "^3.20.2" }, "engines": { "node": ">=18" } }