@truecalc/core 5.0.3 → 6.0.1
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 +4 -10
- package/package.json +1 -1
- package/truecalc_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
# @truecalc/core
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@truecalc/core)
|
|
4
|
+
[](https://www.npmjs.com/package/@truecalc/core)
|
|
4
5
|
[](https://crates.io/crates/truecalc-core)
|
|
5
6
|
[](https://docs.rs/truecalc-core)
|
|
6
7
|
[](LICENSE)
|
|
8
|
+
[](https://truecalc.github.io/core/)
|
|
7
9
|
|
|
8
10
|
WebAssembly-powered spreadsheet formula engine for JavaScript/TypeScript.
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
A comprehensive library of spreadsheet functions (see the live count above). Runs in Node.js, Bun, Deno, and the browser — no server needed. Ground-truth conformance against real Google Sheets. The same engine is also available as a [Rust crate](https://crates.io/crates/truecalc-core) and as an [MCP server](https://crates.io/crates/truecalc-mcp) for AI assistants.
|
|
11
13
|
|
|
12
14
|
```js
|
|
13
15
|
const { evaluate } = require('@truecalc/core');
|
|
@@ -162,15 +164,7 @@ const fns = list_functions();
|
|
|
162
164
|
// ]
|
|
163
165
|
```
|
|
164
166
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
| Category | Functions |
|
|
168
|
-
|------------|-----------|
|
|
169
|
-
| math | SUM, AVERAGE, PRODUCT, ROUND, ROUNDUP, ROUNDDOWN, INT, ABS, SIGN, MOD, POWER, SQRT, LOG, LOG10, LN, EXP, CEILING, FLOOR, RAND, RANDBETWEEN, PI, SIN, COS, TAN, QUOTIENT |
|
|
170
|
-
| logical | IF, AND, OR, NOT, IFERROR, IFNA, IFS, SWITCH, ISNUMBER, ISTEXT, ISERROR, ISBLANK, ISNA |
|
|
171
|
-
| text | LEFT, MID, RIGHT, LEN, LOWER, UPPER, TRIM, CONCATENATE, FIND, SUBSTITUTE, REPLACE, TEXT, VALUE, REPT |
|
|
172
|
-
| financial | PMT, NPV, IRR, PV, FV, RATE, NPER |
|
|
173
|
-
| statistical | COUNT, COUNTA, MAX, MIN, MEDIAN |
|
|
167
|
+
See the full, live function list at [truecalc.github.io/core](https://truecalc.github.io/core/).
|
|
174
168
|
|
|
175
169
|
## Documentation
|
|
176
170
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@truecalc/core",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Spreadsheet formula engine for the browser — Google Sheets–compatible formula evaluator compiled to WebAssembly",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "6.0.1",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
package/truecalc_wasm_bg.wasm
CHANGED
|
Binary file
|