@worksheet-js/formula
v1.6.2
Published
A comprehensive, Excel-compatible formula calculation engine supporting 300+ functions.
Readme
@worksheet-js/formula
Industrial-grade spreadsheet formula engine.
Install
npm install @worksheet-js/formulaQuick start
import { FormulaEngine } from '@worksheet-js/formula';
const grid = [
[10, 20, 30],
[40, 50, 60],
['=SUM(A1:B2)', '', ''],
];
const engine = new FormulaEngine({
getValue: (x, y) => grid[y]?.[x] ?? '',
});
engine.evaluate(0, 2); // 120Full API, custom functions, dependency tracking, and the function library on worksheetjs.com.
License
Proprietary. Usage is subject to the EULA.
