JSPM

qexport-xlsx

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q16004F
  • License BSD-2-Clause

Super simple Excel (xlsx) exporter with fast cell size spacing for readability.

Package Exports

  • qexport-xlsx
  • qexport-xlsx/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (qexport-xlsx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

qexport-xlsx

async toXLSX(table: Array<Array>, outputPath: string);

Installation

npm install qexport-xlsx

Usage

Example:

import { toXLSX } from 'qexport-xlsx'
// let { toXLSX } = require('qexport-xlsx');

toXLSX([
  ["A", "B"],
  ["C", "D"]
], "./output.xlsx").then(()=>{
  console.log("Done!");
});

License

BSD 2-Clause License