write-large-xlsx
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

write-large-xlsx

NPM

write-large-xlsx is a simple and fast library of writing xlsx file, it is low memory and could write many large data.

this library is inspired by write-excel-file and exceljs.

Feature

  • low memory
  • streaming

Install

npm i write-large-xlsx

Usage

const { Workbook } = require('write-large-xlsx');

async function bootstrap() {
  const workbook = new Workbook(`./output.xlsx`);
  const worksheet = workbook.createWorksheet();

  worksheet.addRow(['string', true, new Date(), 10001]);
  // or
  worksheet.addRow([{ columnIdx: 10, value: 'string' }]);

  worksheet.finish();
  await workbook.finish();
}

bootstrap();

Package Sidebar

Install

npm i write-large-xlsx

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

39.8 kB

Total Files

50

Last publish

Collaborators

  • shenx2021