UNPKG

nano-pow

Version:

Proof-of-work generation and validation with WebGPU/WebGL/WASM for Nano cryptocurrency.

80 lines (79 loc) 2.06 kB
{ "name": "nano-pow", "version": "5.1.4", "description": "Proof-of-work generation and validation with WebGPU/WebGL/WASM for Nano cryptocurrency.", "keywords": [ "nemo", "nano", "cash", "crypto", "currency", "cryptocurrency", "coin", "nonce", "pow", "proof of work", "webgpu", "webgl", "webgl2" ], "homepage": "https://zoso.dev", "bugs": "bug-nano-pow@zoso.dev", "license": "(GPL-3.0-or-later AND MIT)", "author": "Chris Duncan <chris@zoso.dev>", "funding": { "type": "nano", "url": "nano:nano_1zosoqs47yt47bnfg7sdf46kj7asn58b7uzm9ek95jw7ccatq37898u1zoso" }, "files": [ "/dist", "/docs", "/LICENSES", "AUTHORS.md", "package.json.license" ], "main": "./dist/main.min.js", "browser": { "./dist/main.min.js": true, "node:fs/promises": false, "node:worker_threads": false }, "bin": { "nano-pow": "dist/bin/nano-pow.sh" }, "man": "./docs/nano-pow.1", "repository": { "type": "git", "url": "git+https://zoso.dev/nano-pow.git" }, "scripts": { "benchmark": "npm run build && ./dist/bin/nano-pow.sh --benchmark 10 --debug", "build": "rm -rf {dist,types} && tsc && npm run generate && node esbuild.mjs && cp -p src/bin/nano-pow.sh dist/bin", "build:dev": "NODE_ENV=development npm run build", "generate": "node ./scripts/blake2b-gen.js && asc src/lib/generate/wasm/asm/index.ts", "prepare": "npm run build", "score": "npm run build && ./dist/bin/nano-pow.sh --effort 4 --benchmark 10 --score 10", "start": "node --max-http-header-size=1024 --max-old-space-size=256 ./dist/bin/server.js", "test": "npm run build:dev && ./test/script.sh" }, "devDependencies": { "@types/node": "^24.0.3", "@webgpu/types": "^0.1.61", "assemblyscript": "^0.28.2", "esbuild": "^0.25.5", "esbuild-plugin-glsl": "^1.4.0", "typescript": "^5.8.3" }, "optionalDependencies": { "puppeteer": "^24.10.1" }, "type": "module", "exports": { ".": { "types": "./dist/types.d.ts", "default": "./dist/main.min.js" } }, "types": "./dist/types.d.ts", "unpkg": "./dist/main.min.js" }