line-json
Parses and stringifies JSON arrays delimited by lines.
This is useful when you have a large amount of data in an array, and you feel that the bracket expression is too clumsy.
Installation
npm install line-json
Usage
var lineJSON = var result = lineJSON// '"a"\n"b"\n{"c":"d"}' lineJSON// [ 'a', 'b', { c: 'd' } ]
License
MIT