Skip to content

Quick start ​

Installation

bash
$ npm add fast-sheets

or to install v2.0

bash
$ npm add fast-sheets@next

Usage

html
<div id="fast-sheets"></div>
ts
import { FastSheets } from 'fast-sheets'

const elContainer = document.getElementById('fast-sheets')
if (elContainer) {
  const fastSheets = new FastSheets({
    elContainer,
    data: [
      ['cell 1 : 1', 'cell 1 : 2'],
      ['cell 2 : 1', 'cell 2 : 2'],
    ]
  })
}