Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 673 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 673 Bytes

node-xlsx-json

Build Status

Converting xlsx file to json files using nodejs

Install

  npm install xlsx-to-json

Usage

  xlsxj = require("xlsx-to-json");
  xlsxj({
    input: "sample.xlsx", 
    output: "output.json"
  }, function(err, result) {
    if(err) {
      console.error(err);
    }else {
      console.log(result);
    }
  });

In config object, you have to enter an input path. But If you don't want to output any file you can set to null.

License

MIT @chilijung