UNPKG

congruence-solver

Version:

Single variable linear and quadratic congruence solver

61 lines (60 loc) 1.47 kB
{ "name": "congruence-solver", "description": "Single variable linear and quadratic congruence solver", "sideEffects": false, "version": "0.1.5", "type": "module", "author": { "name": "Péter Pallos" }, "repository": { "type": "git", "url": "git+https://github.com/pallosp/congruence_solver.git" }, "license": "MIT", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "keywords": [ "math", "congruence", "linear congruence", "quadratic congruence", "modular arithmetic", "number theory", "Tonelli-Shanks", "Hensel lifting", "Chinese remainder theorem" ], "scripts": { "benchmark": "tsx benchmark/benchmark", "build": "tsup --format=esm --clean --dts && tsup --format=cjs", "coverage": "jest --coverage", "lint": "eslint", "prepublishOnly": ".husky/pre-commit && npm run build", "prepare": "husky", "test": "jest", "typecheck": "tsc" }, "devDependencies": { "@eslint/js": "^9.21.0", "@swc/jest": "^0.2.37", "@types/jest": "^29.5.14", "@types/minimalistic-assert": "^1.0.3", "eslint": "^9.21.0", "globals": "^16.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "tinybench": "^3.1.1", "tsup": "^8.4.0", "tsx": "^4.19.3", "typescript": "^5.7.3", "typescript-eslint": "^8.25.0" }, "dependencies": { "minimalistic-assert": "^1.0.1" } }