xls-to-pjson
v1.0.0
Published
Exports a script to convert an Excel spreadsheet into valid PJSON.
Downloads
5
Readme
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