@krvinay/excel-to-json

1.0.0 • Public • Published

excel-to-json

Converting xlsx/xls/csv file buffer to json buffer using nodejs.

Install

  npm install @krvinay/excel_to_json

Usage

  excel_json = require("@krvinay/excel_to_json");
  fs = require("fs");
  excel_json(fs.readFileSync("<excel file>"), function(err, result) {
    if(err) {
      console.error(err.message);
    }else {
      console.log(result);
    }
  });

Package Sidebar

Install

npm i @krvinay/excel-to-json

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

3.13 kB

Total Files

3

Last publish

Collaborators

  • krvinay