xls-to-pjson

1.0.0 • Public • Published

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

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i xls-to-pjson

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • egucciar