1.0.0 • Published 7 years ago

xls-to-pjson v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

xls-to-pjson

Flat

let convert = require('xls-to-pjson');

// Last parameter is the number pertaining to the header row in the excel file if it exists.
convert.flat('input.xls', 'output.json', 1);

workflow

let convert = require('xls-to-pjson');

// Last parameter is the number pertaining to the header row in the excel file if it exists.
convert.workflow('input.xls', 'output.json', 1);

CLI

Use -r for the header row (see the javascript version for more info). node cli.js -i input.xls -o output.json -r 1

If you want to create a workflow just supply the option --workflow