@danielsimonjr/mathts-numbers 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +25 -25
  2. package/package.json +59 -59
package/README.md CHANGED
@@ -1,25 +1,25 @@
1
- # @danielsimonjr/mathts-numbers
2
-
3
- Standalone numeric types for [MathTS](https://github.com/danielsimonjr/mathts):
4
- `Complex`, `Fraction`, and `BigNumber`.
5
-
6
- A focused entry point over the numeric types in
7
- [`@danielsimonjr/mathts-core`](https://www.npmjs.com/package/@danielsimonjr/mathts-core).
8
- The implementation is re-exported, not duplicated.
9
-
10
- ## Install
11
-
12
- ```sh
13
- npm install @danielsimonjr/mathts-numbers
14
- ```
15
-
16
- ## What it exports
17
-
18
- - `Complex` + `isComplex` + `I`, `COMPLEX_ZERO/ONE/NEG_ONE`.
19
- - `Fraction` + `isFraction` + `FRACTION_ZERO/ONE/NEG_ONE/HALF/THIRD/QUARTER`.
20
- - `BigNumber` + `isBigNumber` + `BIGNUMBER_ZERO/ONE/NEG_ONE/TEN/PI/E/LN2/LN10`.
21
- - Types: `IComplex`, `IFraction`, `IBigNumber`, `BigNumberConfig`, `RoundingMode`.
22
-
23
- ## License
24
-
25
- MIT (c) Daniel Simon Jr.
1
+ # @danielsimonjr/mathts-numbers
2
+
3
+ Standalone numeric types for [MathTS](https://github.com/danielsimonjr/mathts):
4
+ `Complex`, `Fraction`, and `BigNumber`.
5
+
6
+ A focused entry point over the numeric types in
7
+ [`@danielsimonjr/mathts-core`](https://www.npmjs.com/package/@danielsimonjr/mathts-core).
8
+ The implementation is re-exported, not duplicated.
9
+
10
+ ## Install
11
+
12
+ ```sh
13
+ npm install @danielsimonjr/mathts-numbers
14
+ ```
15
+
16
+ ## What it exports
17
+
18
+ - `Complex` + `isComplex` + `I`, `COMPLEX_ZERO/ONE/NEG_ONE`.
19
+ - `Fraction` + `isFraction` + `FRACTION_ZERO/ONE/NEG_ONE/HALF/THIRD/QUARTER`.
20
+ - `BigNumber` + `isBigNumber` + `BIGNUMBER_ZERO/ONE/NEG_ONE/TEN/PI/E/LN2/LN10`.
21
+ - Types: `IComplex`, `IFraction`, `IBigNumber`, `BigNumberConfig`, `RoundingMode`.
22
+
23
+ ## License
24
+
25
+ MIT (c) Daniel Simon Jr.
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
- {
2
- "name": "@danielsimonjr/mathts-numbers",
3
- "version": "0.1.16",
4
- "description": "Standalone numeric types for MathTS -- Complex, Fraction, and BigNumber, re-exported as a focused package",
5
- "author": "Daniel Simon Jr.",
6
- "license": "MIT",
7
- "type": "module",
8
- "main": "./dist/index.js",
9
- "module": "./dist/index.js",
10
- "types": "./dist/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
15
- }
16
- },
17
- "files": [
18
- "dist",
19
- "README.md"
20
- ],
21
- "scripts": {
22
- "build": "tsup src/index.ts --format esm --clean && tsc -p tsconfig.dts.json",
23
- "dev": "tsup src/index.ts --format esm --dts --watch",
24
- "test": "bun test",
25
- "test:watch": "vitest",
26
- "test:coverage": "bun test --coverage",
27
- "typecheck": "tsc --noEmit",
28
- "lint": "oxlint src",
29
- "lint:fix": "oxlint src --fix",
30
- "clean": "rm -rf dist",
31
- "build:prod": "tsup src/index.ts --format esm --dts --clean --minify --treeshake"
32
- },
33
- "dependencies": {
34
- "@danielsimonjr/mathts-core": "^0.15.0"
35
- },
36
- "devDependencies": {
37
- "@types/node": "^26.4.0",
38
- "tsup": "^8.0.0",
39
- "typescript": "^7.0.2",
40
- "vitest": "^5.0.0"
41
- },
42
- "publishConfig": {
43
- "access": "public"
44
- },
45
- "repository": {
46
- "type": "git",
47
- "url": "git+https://github.com/danielsimonjr/MathTS.git",
48
- "directory": "numbers"
49
- },
50
- "keywords": [
51
- "math",
52
- "typescript",
53
- "complex",
54
- "fraction",
55
- "bignumber",
56
- "decimal",
57
- "numbers"
58
- ]
59
- }
1
+ {
2
+ "name": "@danielsimonjr/mathts-numbers",
3
+ "version": "0.1.18",
4
+ "description": "Standalone numeric types for MathTS -- Complex, Fraction, and BigNumber, re-exported as a focused package",
5
+ "author": "Daniel Simon Jr.",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./dist/index.js",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "types": "./dist/index.d.ts"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "README.md"
20
+ ],
21
+ "scripts": {
22
+ "build": "tsup src/index.ts --format esm --clean && tsc -p tsconfig.dts.json",
23
+ "dev": "tsup src/index.ts --format esm --watch --onSuccess \"tsc -p tsconfig.dts.json\"",
24
+ "test": "bun test",
25
+ "test:watch": "vitest",
26
+ "test:coverage": "bun test --coverage",
27
+ "typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
28
+ "lint": "oxlint src",
29
+ "lint:fix": "oxlint src --fix",
30
+ "clean": "rm -rf dist",
31
+ "build:prod": "tsup src/index.ts --format esm --clean --minify --treeshake && tsc -p tsconfig.dts.json"
32
+ },
33
+ "dependencies": {
34
+ "@danielsimonjr/mathts-core": "^0.16.0"
35
+ },
36
+ "devDependencies": {
37
+ "@types/node": "^26.4.0",
38
+ "tsup": "^8.0.0",
39
+ "typescript": "^7.0.2",
40
+ "vitest": "^5.0.0"
41
+ },
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/danielsimonjr/MathTS.git",
48
+ "directory": "numbers"
49
+ },
50
+ "keywords": [
51
+ "math",
52
+ "typescript",
53
+ "complex",
54
+ "fraction",
55
+ "bignumber",
56
+ "decimal",
57
+ "numbers"
58
+ ]
59
+ }