UNPKG

app-base-web

Version:
12 lines (9 loc) 286 B
/** * @module xlsx */ const XLSX = require('xlsx'); const makeCols = function (refstr) { return Array(XLSX.utils.decode_range(refstr).e.c + 1).fill(0).map((x, i) => ({ name: XLSX.utils.encode_col(i), key: i })) } import { UtilXlsx } from "app-base-util" module.exports = UtilXlsx