1.1.5 • Published 7 months ago

to-spreadsheet v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

to-spreadsheet

npm package to create spreadsheet in node environment and in browser

npm version minified minified + gzipped

GitHub stars GitHub watchers

NPM

npm i to-spreadsheet

Usage

Open in CodeSandbox

import { generateExcel , EnvironmentType, skipCell, writeEquation } from 'to-spreadsheet/lib/index';

const sampleData = [
  {
    title: 'Maifee1', content: [
      ['meaw', 'grrr'],
      ['woof', 'smack'],
      [1],
      [1, 2],
      [1, 2, 3, writeEquation('SUM(A5,C5)')],
    ]
  },
  { title: 'Maifee2', content: [[1], [1, skipCell(3), 2]] },
  { title: 'Maifee3', content: [['meaw', undefined, "meaw"], ["woof", 'woof']] }
]

generateExcel(sampleData); // <-- by default generate XLSX for node
generateExcel(sampleData, EnvironmentType.BROWSER); // <-- for browser

Features

  • Multiple sheet support
  • Equations
  • Cell styling
  • Sheet styling
1.1.1

7 months ago

1.1.0

7 months ago

1.0.0

8 months ago

1.1.5

7 months ago

1.1.4

7 months ago

1.1.3

7 months ago

1.1.2

7 months ago

0.1.0

1 year ago

0.0.3

1 year ago

0.0.2

2 years ago

0.0.1

2 years ago