Library to flatten given JSON object
- Tested on Node (v12.19)
- Download using
git clone https://github.com/guptasachin25/jsonflattener.git
npm install
cat data/input.json | node flattener.js
Assumption: JSON input will be correct
node cli.js
Note: CLI only accepts single line json input
npm test