json-fix-stream
Fix malformed JSON stream
Install 🔨
npm install json-fix-stream
Usage 💡
attandance.json
split = 'split'"}\n" // parse json with newlines in attributesjsonFixStream = 'json-fix-stream' // fix the nixed } at the end of each lineinStream = inStream // each record is sucessfully parsed and output
Contributions 💪
😄 Feedback, problem reports, enhancement requests are welcome.
🆙 Example code are better.
🆒 Pull requests are best.