tfk-json-to-xlsx

2.0.0 • Public • Published

Build Status js-standard-style

tfk-json-to-xlsx

Write an xlsx file from json data.

This is basically just the compiled source from node-xlsx-writestream with an updated version of https://github.com/archiverjs/node-archiver

Usage

const xlsx = require('tfk-json-to-xlsx')
 
const data = [
  {
    'Name': 'Bob',
    'Location': 'Sweden'
  },
  {
    'Name': 'Alice',
    'Location': 'France'
  }
]
 
xlsx.write('mySpreadsheet.xlsx', data, function (error) {
  // Error handling here
  if (error) {
    console.error(error)
  }
})

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i tfk-json-to-xlsx

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

19.8 kB

Total Files

8

Last publish

Collaborators

  • cybermelmac
  • maccyber
  • telemark
  • zrrrzzt