@danielsimonjr/mathts-compat 0.1.5 → 0.1.6
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.
- package/README.md +21 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @danielsimonjr/mathts-compat
|
|
2
|
+
|
|
3
|
+
Mathjs compatibility shim for [MathTS](https://github.com/danielsimonjr/mathts).
|
|
4
|
+
|
|
5
|
+
A drop-in [mathjs](https://mathjs.org)-compatible API over MathTS — the quickest migration path for existing mathjs users.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @danielsimonjr/mathts-compat
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## What it provides
|
|
14
|
+
|
|
15
|
+
- `create(all)` builds a math instance with the familiar mathjs surface.
|
|
16
|
+
- Delegates to `@danielsimonjr/mathts-core` types + `@danielsimonjr/mathts-functions` operations.
|
|
17
|
+
- Useful as a single dependency that pulls a working MathTS stack together.
|
|
18
|
+
|
|
19
|
+
## License
|
|
20
|
+
|
|
21
|
+
MIT (c) Daniel Simon Jr.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielsimonjr/mathts-compat",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "mathjs compatibility layer for MathTS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,11 +20,12 @@
|
|
|
20
20
|
"dev": "tsup src/index.ts --format esm --dts --watch",
|
|
21
21
|
"typecheck": "tsc --noEmit",
|
|
22
22
|
"test": "vitest run",
|
|
23
|
+
"test:coverage": "vitest run --coverage",
|
|
23
24
|
"build:prod": "tsup src/index.ts --format esm --dts --clean --minify --treeshake"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"@danielsimonjr/mathts-core": "0.1.3",
|
|
27
|
-
"@danielsimonjr/mathts-functions": "0.2.
|
|
28
|
+
"@danielsimonjr/mathts-functions": "0.2.5",
|
|
28
29
|
"@danielsimonjr/mathts-matrix": "0.1.4",
|
|
29
30
|
"@danielsimonjr/mathts-parallel": "0.2.1"
|
|
30
31
|
},
|