UNPKG

exactnumber

Version:

Arbitrary-precision decimals. Enables making math calculations with rational numbers, without precision loss.

71 lines (70 loc) 1.98 kB
{ "name": "exactnumber", "description": "Arbitrary-precision decimals. Enables making math calculations with rational numbers, without precision loss.", "version": "2.0.1", "main": "dist/index.umd.js", "module": "dist/index.esm.js", "types": "dist/src/index.d.ts", "scripts": { "build-rollup": "rollup -c", "build": "npm run build-rollup", "biome-check": "npx @biomejs/biome check", "biome-format": "npx @biomejs/biome check --write", "eslint": "eslint ./src --ext .js,.ts", "test": "jest --coverage --", "test-main-coverage": "npx jest --coverage --testPathIgnorePatterns=\"src/approx/*\"", "typedoc": "typedoc", "typedoc-serve": "npm run typedoc && npx serve -n docs" }, "keywords": [ "exact", "math", "arithmetic", "calculation", "repeating", "decimals", "fixed", "point", "fraction", "fractions", "arbitrary", "precision", "float", "double", "bignumber", "biginteger", "bigdecimal", "bigint", "bitwise" ], "bugs": { "url": "https://github.com/Daninet/exactnumber/issues" }, "homepage": "https://github.com/Daninet/exactnumber#readme", "author": "Dani Biró <danibiro93@gmail.com> (https://danibiro.com)", "repository": { "type": "git", "url": "git+https://github.com/Daninet/exactnumber.git" }, "sideEffects": false, "license": "MIT", "devDependencies": { "@biomejs/biome": "^2.1.3", "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", "@types/jest": "^30.0.0", "@types/node": "^24.2.0", "jest": "^30.0.5", "rollup": "^4.46.2", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-license": "^3.6.0", "ts-jest": "^29.4.1", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typedoc": "^0.28.9", "typescript": "^5.9.2" } }