Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

xls-to-json

0.5.0 • Public • Published

node-xls-json

Build Status

Converting xls file to json files using nodejs

Install

  npm install xls-to-json

Usage

  node_xj = require("xls-to-json");
  node_xj({
    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 @chilijung

Keywords

install

npm i xls-to-json

Downloadsweekly downloads

465

version

0.5.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability