Skip to content

icezeros/xls-write

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json2excel

Quick start

Install

npm install xls-write

Example

const jexcel = require('./index');
const path = require('path');
const filename = Date.now() + '.xlsx';
var data = {
  sheets: [
    {
      header: [{ author: 'mapName' }, { title: 'maptitle' }],
      items: [
        {
          author: 'icezeros',
          title: 'how to use this',
        },
        {
          author: 'ice',
          title: 'so Easy',
        },
      ],
      sheetName: 'sheet1',
    },
  ],
  filepath: path.join(__dirname, filename),
};
//
jexcel.writeXlsx(data);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published