@novo-x/xlsx
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

XLSX Service

Available methods

  • exportJsonToXlsx: exports json data into a .xlsx file
  • parseXlsxSheetByPositionToJson: parse specific sheet in xml defined by the sheet's position into json
  • parseXlsxSheetByNameToJson: parse specific sheet in xml defined by the sheet's name into json
  • parseXlsxFullToJson: parse full xlsx file into json

Usage examples

yarn add @novo-x/xlsx

import {XlsxService} from "@novo-x/xlsx"

const MyService = new XlsxService();

MyService.exportJsonToXlsx(
    jsonData,
    sheetName,
    fileName
);

const importedDataByPosition = MyService.parseXlsxSheetByPositionToJson(
    filePath, 
    sheetNumber
);

const importedDataByName = MyService.parseXlsxSheetByNameToJson(
    filePath,
    sheetName
);

const importedFullXlsx = MyService.parseXlsxFullToJson(
    filePath
);

Dependencies

xlsx

Readme

Keywords

Package Sidebar

Install

npm i @novo-x/xlsx

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

23.4 kB

Total Files

6

Last publish

Collaborators

  • lautarobruno
  • agustin-novolabs
  • novo-tincho
  • nicolas.novolabs
  • mati-novolabs
  • alejitowow
  • nahuelprieto