xlszipsave

1.0.1 • Public • Published

Xlszipsave

Lightweight JSON to create, zip and save xls file from browsers

How to install

  yarn add xlszipsave
  or
  npm install --save xlszipsave

How to use

  import { xls, filesaver } from 'xlszipsave';

  const sheet = {
    data: [
      [
        {
          value: 'Excel',
          type: 'string'
        },
        {
          value: 1000,
          type: 'number'
        }
      ]
    ]
  };

  xls(sheet).then(blob => {
    filesave.saveAs(blob, 'excel.xlsx');
  })

Excel Table output

Excel 1000

Issues

Should it happen that the tool broke down on you please head to our Issue tracker

  1. Search if the issue is already discussed or explained.
  2. If no luck feel free to open a new issue and we will get back to you as soon as possible.

/xlszipsave/

    Package Sidebar

    Install

    npm i xlszipsave

    Weekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    147 kB

    Total Files

    46

    Last publish

    Collaborators

    • oesukam