CrosTab
A light, simple and easy-to-use commonjs library of a class "Cax" to handle 2d-table with side and banner.
Install
npm install crostab
Usage
import { CrosTab } from 'crostab'const crosTab = CrosTab.from({ side: ['Winter','Fall','Summer','Spring'], banner: ['A','B','C'], matrix: [ [ 1, 10,95], [ 8, 64, 1], [25, 32, 1], [74, 0, 1] ] })
Meta
Copyright (c) 2019-present, Haoyang (Vincent) Wang