UPDATE: Add node bindings
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
ec4e7b1ca3
commit
5d429b1660
18
bindings/nodejs/README.md
Normal file
18
bindings/nodejs/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# IronCalc nodejs bindingds
|
||||
|
||||
|
||||
Example usage:
|
||||
|
||||
```javascript
|
||||
import { Model } from '@ironcalc/wasm';
|
||||
|
||||
const model = new Model("Workbook1", "en", "UTC");
|
||||
|
||||
model.setUserInput(0, 1, 1, "=1+1");
|
||||
const result1 = model.getFormattedCellValue(0, 1, 1);
|
||||
|
||||
console.log('Cell value', result1);
|
||||
|
||||
let result2 = model.getCellStyle(0, 1, 1);
|
||||
console.log('Cell style', result2);
|
||||
```
|
||||
Reference in New Issue
Block a user