Introduction
Excel XLSX document to JSON converter as a Node.js library and a command line utility.
Getting Started
Install the package:
npm install -g node-xlsx2json
Convert the document:
xlsx2json --verbose path/to/sample.xlsx sample.json
Command Line
Usage:
xslx2json [options] <input.xlsx> <output.json>
Options:
--force Force overwrite file
--help Print this message
--verbose Enable detailed logging
--version Print version number
Examples:
xlsx2json --version
xlsx2json --verbose file.xlsx
xlsx2json --force file.xlsx file.json
Using as library
var xlsx2json = ;;
Example of output