1.0.1 • Published 6 years ago

xlszipsave v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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

Excel1000

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.