UPDATE: Add node bindings
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
ec4e7b1ca3
commit
5d429b1660
11
bindings/nodejs/main.mjs
Normal file
11
bindings/nodejs/main.mjs
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Model } from './index.js'
|
||||
|
||||
const model = new Model("Workbook1", "en", "UTC");
|
||||
|
||||
model.setUserInput(0, 1, 1, "=1+1");
|
||||
let t = model.getFormattedCellValue(0, 1, 1);
|
||||
|
||||
console.log('From native', t);
|
||||
|
||||
let t2 = model.getCellStyle(0, 1, 1);
|
||||
console.log('From native', t2);
|
||||
Reference in New Issue
Block a user