UNPKG

@zlooun/exceljs

Version:

Fixes the problem with writing a file using streams and not using RAM based on 'exeljs'

19 lines (14 loc) 271 B
'use strict'; const XLSX = require('../xlsx/xlsx'); class ModelContainer { constructor(model) { this.model = model; } get xlsx() { if (!this._xlsx) { this._xlsx = new XLSX(this); } return this._xlsx; } } module.exports = ModelContainer;