fake-json-stream
Streaming fake json data
Install
npm i fake-json-stream
Use
const Fake = const rs = rs
Since fake-json-stream
returns a readable stream you can also pipe to a write stream.
const fs = const Fake = const rs = // creates a million products!const ws = fsrs
This is great for creating a ton of sample json without the process crashing because you aren't keeping the entire thing in memory, but just each readable chunk.