@bilig/xlsx-formula-recalc 0.107.8 → 0.119.0
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 +46 -2
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# @bilig/xlsx-formula-recalc
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Recalculate XLSX formula values in Node.js after SheetJS, ExcelJS, or
|
|
4
|
+
xlsx-populate edits without Excel, LibreOffice, or browser automation.
|
|
4
5
|
|
|
5
6
|
This package is the canonical scoped Bilig entrypoint for the high-friction Node
|
|
6
7
|
XLSX workflow:
|
|
@@ -58,7 +59,33 @@ npx --package @bilig/xlsx-formula-recalc xlsx-recalc --demo --json
|
|
|
58
59
|
|
|
59
60
|
That command creates a tiny workbook, changes `Inputs!B2` and `Inputs!B3`,
|
|
60
61
|
recalculates `Summary!B2`, writes `bilig-formula-recalc-demo.xlsx`, and prints
|
|
61
|
-
`verified: true
|
|
62
|
+
a proof object with `verified: true`, the recalculated value, and explicit next
|
|
63
|
+
actions:
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
{
|
|
67
|
+
"reads": {
|
|
68
|
+
"Summary!B2": {
|
|
69
|
+
"value": 72000
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"warnings": [],
|
|
73
|
+
"verified": true,
|
|
74
|
+
"star": "https://github.com/proompteng/bilig/stargazers",
|
|
75
|
+
"watchReleases": "https://github.com/proompteng/bilig/subscription",
|
|
76
|
+
"adoptionBlocker": "https://github.com/proompteng/bilig/discussions/new?category=general",
|
|
77
|
+
"nextStep": {
|
|
78
|
+
"ifUseful": "If this proof fixed your stale XLSX formula workflow, star or bookmark Bilig so you can find it again.",
|
|
79
|
+
"star": "https://github.com/proompteng/bilig/stargazers",
|
|
80
|
+
"watchReleases": "https://github.com/proompteng/bilig/subscription",
|
|
81
|
+
"ifBlocked": "If this is close but blocked by a workbook edge case, open an adoption blocker with a reduced fixture.",
|
|
82
|
+
"adoptionBlocker": "https://github.com/proompteng/bilig/discussions/new?category=general"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Keep the proof first: use the star or release-watch links only after the
|
|
88
|
+
recalculated value and warnings match the workflow you are evaluating.
|
|
62
89
|
|
|
63
90
|
For an existing workbook:
|
|
64
91
|
|
|
@@ -100,6 +127,10 @@ Ambiguous companion matches fail closed: the command preserves existing
|
|
|
100
127
|
external-link cache values, emits a warning, and includes hydration diagnostics
|
|
101
128
|
in JSON output.
|
|
102
129
|
|
|
130
|
+
For a maintained external-workbook proof with companion hydration diagnostics,
|
|
131
|
+
run
|
|
132
|
+
[external workbook recalculation proof in Node.js](https://proompteng.github.io/bilig/external-workbook-recalc-proof.html).
|
|
133
|
+
|
|
103
134
|
## API
|
|
104
135
|
|
|
105
136
|
```ts
|
|
@@ -158,6 +189,19 @@ from `@bilig/workpaper`.
|
|
|
158
189
|
| Excel, LibreOffice, Microsoft Graph | exact spreadsheet application behavior | you cannot depend on an external app or API call |
|
|
159
190
|
| `@bilig/workpaper` | service-owned formula workbook state with JSON storage | the workbook does not have to stay XLSX-first |
|
|
160
191
|
|
|
192
|
+
## After The Proof
|
|
193
|
+
|
|
194
|
+
If `verified: true` matches the Node/XLSX workflow you need, star or bookmark
|
|
195
|
+
the repo so you can find it again:
|
|
196
|
+
<https://github.com/proompteng/bilig/stargazers>.
|
|
197
|
+
|
|
198
|
+
Watch releases if the package is close to a production path:
|
|
199
|
+
<https://github.com/proompteng/bilig/subscription>.
|
|
200
|
+
|
|
201
|
+
If a real workbook edge case blocks adoption, open the smallest reduced
|
|
202
|
+
workbook blocker:
|
|
203
|
+
<https://github.com/proompteng/bilig/discussions/new?category=general>.
|
|
204
|
+
|
|
161
205
|
## Scope
|
|
162
206
|
|
|
163
207
|
Use this when a Node service needs deterministic formula readback after it
|
package/package.json
CHANGED
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bilig/xlsx-formula-recalc",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.119.0",
|
|
4
|
+
"description": "Recalculate XLSX formula values in Node.js after SheetJS, ExcelJS, or xlsx-populate edits without Excel, LibreOffice, or browser automation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bilig",
|
|
7
7
|
"excel",
|
|
8
8
|
"excel-formulas",
|
|
9
9
|
"formula-engine",
|
|
10
10
|
"formula-recalculation",
|
|
11
|
+
"formula-result-not-updating",
|
|
12
|
+
"libreoffice-alternative",
|
|
11
13
|
"node",
|
|
14
|
+
"recalculate-xlsx",
|
|
12
15
|
"sheetjs",
|
|
16
|
+
"sheetjs-recalc",
|
|
13
17
|
"spreadsheet",
|
|
14
18
|
"spreadsheet-formulas",
|
|
19
|
+
"stale-xlsx-cache",
|
|
15
20
|
"workbook",
|
|
16
21
|
"xlsx",
|
|
17
22
|
"xlsx-calc",
|
|
18
23
|
"xlsx-formula",
|
|
19
24
|
"xlsx-formula-recalculation",
|
|
25
|
+
"xlsx-populate",
|
|
20
26
|
"xlsx-recalc",
|
|
21
27
|
"xlsx-recalculation"
|
|
22
28
|
],
|
|
23
|
-
"homepage": "https://proompteng.github.io/bilig/xlsx-
|
|
29
|
+
"homepage": "https://proompteng.github.io/bilig/eval-xlsx-recalc.html",
|
|
24
30
|
"bugs": {
|
|
25
31
|
"url": "https://github.com/proompteng/bilig/issues"
|
|
26
32
|
},
|
|
@@ -63,7 +69,7 @@
|
|
|
63
69
|
"smoke": "node ./dist/cli.js --help"
|
|
64
70
|
},
|
|
65
71
|
"dependencies": {
|
|
66
|
-
"xlsx-formula-recalc": "0.
|
|
72
|
+
"xlsx-formula-recalc": "0.119.0"
|
|
67
73
|
},
|
|
68
74
|
"engines": {
|
|
69
75
|
"node": ">=22.0.0"
|