UNPKG

nostr-relaypool

Version:

A Nostr RelayPool implementation in TypeScript using only nostr-tools library as a dependency.

69 lines (68 loc) 2.01 kB
{ "name": "nostr-relaypool", "version": "0.6.30", "description": "A Nostr RelayPool implementation in TypeScript using only nostr-tools library as a dependency.", "type": "module", "repository": { "type": "git", "url": "https://github.com/adamritter/nostr-relaypool-ts.git" }, "main": "lib/nostr-relaypool.cjs", "module": "lib/nostr-relaypool.esm.js", "exports": { "import": "./lib/nostr-relaypool.esm.js", "require": "./lib/nostr-relaypool.cjs" }, "dependencies": { "isomorphic-ws": "^5.0.0", "nostr-tools": "^1.17.0", "safe-stable-stringify": "^2.4.2" }, "keywords": [ "decentralization", "social", "censorship-resistance", "client", "nostr" ], "devDependencies": { "@babel/core": "^7.20.7", "@babel/preset-typescript": "^7.18.6", "@jest/globals": "^29.3.1", "@jest/source-map": "^29.4.3", "@noble/hashes": "^1.3.2", "@noble/secp256k1": "^2.0.0", "@scure/base": "^1.1.1", "@scure/bip32": "^1.1.1", "@scure/bip39": "^1.1.0", "@types/jest": "^29.2.5", "@types/node": "^20.9.2", "@types/ws": "^8.5.4", "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.11.0", "esbuild": "0.19.6", "esbuild-plugin-alias": "^0.2.1", "eslint": "^8.30.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-babel": "^5.3.1", "esm-loader-import-relative-extension": "^1.0.8", "esm-loader-typescript": "^1.0.3", "events": "^3.3.0", "jest": "^29.3.1", "node-esm-loader": "^0.2.5", "node-fetch": "3.3.2", "prettier": "3.1.0", "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "tsd": "^0.29.0", "typescript": "^5.2.2", "ws": "^8.12.0" }, "scripts": { "build": "node build.js", "pretest": "node build.js", "test": "NODE_OPTIONS=--experimental-vm-modules npx jest", "publish": "yarn install && npm run build && npm run test -- --testTimeout 5000 && npm publish", "type-check": "tsc" } }