Closed LUK3D closed 4 years ago
The append option will produce Newline-delimited JSON, which cannot be read by this module.
@RyanZim then what's the point of readySync option when it doesn't support file read?
It reads normal JSON, not Newline-delemited JSON
jsonfile.writeFileSync(file, obj, { flag: 'a', spaces: 2 }) give an invalid json. Theres no coma between two objects