mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
9 lines
243 B
TypeScript
9 lines
243 B
TypeScript
import { build } from 'node-xlsx';
|
|
const data = [
|
|
[1, 2, 3],
|
|
[true, false, null, 'sheetjs'],
|
|
['foo', 'bar', new Date('2014-02-19T14:30Z'), '0.3'],
|
|
['baz', null, 'qux'],
|
|
];
|
|
const buffer = build([{ name: 'mySheetName', data }]);
|