UNPKG

@noble/curves

Version:

Audited & minimal JS implementation of elliptic curve cryptography

104 lines (103 loc) 3.24 kB
{ "name": "@noble/curves", "version": "2.2.0", "description": "Audited & minimal JS implementation of elliptic curve cryptography", "files": [ "*.js", "*.js.map", "*.d.ts", "*.d.ts.map", "abstract", "src" ], "dependencies": { "@noble/hashes": "2.2.0" }, "devDependencies": { "@paulmillr/jsbt": "0.5.0", "@types/node": "25.3.0", "fast-check": "4.2.0", "prettier": "3.6.2", "typescript": "6.0.2" }, "scripts": { "bench": "cd test/benchmark; node secp256k1.ts; node curves.ts; node utils.ts; node bls.ts", "bench:install": "cd test/benchmark; npm install; npm install ../.. --install-links", "build": "tsc", "build:release": "npx --no @paulmillr/jsbt esbuild test/build", "check": "npm run check:readme && npm run check:treeshake && npm run check:jsdoc", "check:readme": "npx --no @paulmillr/jsbt readme package.json", "check:treeshake": "npx --no @paulmillr/jsbt treeshake package.json test/build/out-treeshake", "check:jsdoc": "npx --no @paulmillr/jsbt tsdoc package.json", "build:clean": "rm {.,abstract}/*.{js,d.ts,d.ts.map,js.map} 2> /dev/null", "format": "prettier --write 'src/**/*.{js,ts}' 'test/*.{js,ts}'", "test": "node test/index.ts", "test:bun": "bun test/index.ts", "test:deno": "deno --allow-env --allow-read test/index.ts", "test:node20": "cd test; npx tsc; node compiled/test/index.js", "test:coverage": "npm install --no-save c8@10.1.2 && npx c8 npm test" }, "exports": { ".": "./index.js", "./abstract/bls.js": "./abstract/bls.js", "./abstract/curve.js": "./abstract/curve.js", "./abstract/edwards.js": "./abstract/edwards.js", "./abstract/fft.js": "./abstract/fft.js", "./abstract/frost.js": "./abstract/frost.js", "./abstract/hash-to-curve.js": "./abstract/hash-to-curve.js", "./abstract/modular.js": "./abstract/modular.js", "./abstract/montgomery.js": "./abstract/montgomery.js", "./abstract/oprf.js": "./abstract/oprf.js", "./abstract/poseidon.js": "./abstract/poseidon.js", "./abstract/tower.js": "./abstract/tower.js", "./abstract/weierstrass.js": "./abstract/weierstrass.js", "./bls12-381.js": "./bls12-381.js", "./bn254.js": "./bn254.js", "./ed448.js": "./ed448.js", "./ed25519.js": "./ed25519.js", "./misc.js": "./misc.js", "./nist.js": "./nist.js", "./secp256k1.js": "./secp256k1.js", "./utils.js": "./utils.js", "./webcrypto.js": "./webcrypto.js" }, "engines": { "node": ">= 20.19.0" }, "keywords": [ "cryptography", "secp256k1", "ed25519", "p256", "p384", "p521", "secp256r1", "ed448", "x25519", "ed25519", "bls12-381", "bn254", "alt_bn128", "bls", "noble", "ecc", "ecdsa", "eddsa", "oprf", "schnorr", "fft" ], "homepage": "https://paulmillr.com/noble/", "funding": "https://paulmillr.com/funding/", "repository": { "type": "git", "url": "git+https://github.com/paulmillr/noble-curves.git" }, "type": "module", "main": "index.js", "module": "index.js", "types": "index.d.ts", "sideEffects": false, "author": "Paul Miller (https://paulmillr.com)", "license": "MIT" }