@typester/big-rational
Version:
BigRational is a ~1kB arbitrary precision rational number library powered by the native BigInt type.
43 lines (42 loc) • 953 B
JSON
{
"name": "@typester/big-rational",
"version": "0.2.0",
"description": "BigRational is a ~1kB arbitrary precision rational number library powered by the native BigInt type.",
"keywords": [
"bigfraction",
"bigint",
"bigrational",
"fraction",
"math",
"rational"
],
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"sideEffects": false,
"files": [
"dist",
"src"
],
"scripts": {
"build": "tsc && tsup src/index.ts --format cjs,esm --dts --clean",
"test": "tsc && vitest",
"prepare": "pnpm build"
},
"devDependencies": {
"@types/node": "20.12.11",
"@typester/tsconfig.json": "0.0.1",
"tsup": "8.1.0",
"typescript": "5.4.5",
"vitest": "1.6.0"
}
}