UNPKG

nano-pow

Version:

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

80 lines (79 loc) 2.08 kB
{ "name": "nano-pow", "version": "5.2.2", "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://git.codecow.com/?p=nano-pow.git", "bugs": "bug-nano-pow@codecow.com", "license": "(GPL-3.0-or-later AND MIT)", "author": "Chris Duncan <chris@codecow.com>", "funding": { "type": "nano", "url": "nano:nano_1zosoqs47yt47bnfg7sdf46kj7asn58b7uzm9ek95jw7ccatq37898u1zoso" }, "files": [ "dist/**/*.js", "dist/**/*.d.ts", "dist/bin/*.sh", "docs/", "LICENSES/", "AUTHORS.md", "package.json.license" ], "bin": { "nano-pow": "dist/bin/nano-pow.sh" }, "man": "./docs/nano-pow.1", "repository": { "type": "git", "url": "git+https://codecow.com/nano-pow.git" }, "scripts": { "benchmark": "npm run build && ./dist/bin/nano-pow.sh --benchmark 10 --debug", "build": "npm run clean && npm run generate && node esbuild.mjs && cp -p src/bin/nano-pow.sh dist/bin", "build:dev": "NODE_ENV=development npm run build", "clean": "rm -rf dist types && tsc", "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": "^26.1.1", "@webgpu/types": "^0.1.71", "assemblyscript": "^0.28.19", "esbuild": "^0.28.1", "esbuild-plugin-glsl": "^1.4.2", "typescript": "5.x" }, "optionalDependencies": { "puppeteer": "^25.3.0" }, "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./utils": { "types": "./dist/utils/index.d.ts", "default": "./dist/utils/index.js" } }, "types": "./dist/index.d.ts" }