ssm-xls-to-json

0.4.8 • Public • Published

ssm-node-xls-json

Converting xls file to json files using nodejs

Install

  npm install ssm-xls-to-json

Usage

  xlsj = require("ssm-xls-to-json");
  xlsj({
    input: "sample.xls",  // input xls
    output: "output.json", // output json
    sheet: "sheetname"  // specific sheetname
  }, 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 77media

Readme

Keywords

Package Sidebar

Install

npm i ssm-xls-to-json

Weekly Downloads

1

Version

0.4.8

License

MIT

Last publish

Collaborators

  • trendoid