hypersim-parser
Streaming ndjson parser and metrics aggregator for hyper-simulator
Install
npm install hypersim-parser
Usage
const createReadStream = const BasicTimeline = const parser = // Register a custom aggregatorparser // 'snapshot' event is emitted once for each tick in the simulation's timelineparser // 'close' is fired once all events has been traversed.parser // The parser implements a Writable stream, and accepts// ndjson in chunks of Buffer | Uint8Array | string const readable = fsreadable
Contributing
Ideas and contributions to the project are welcome. You must follow this guideline.
License
GNU AGPLv3 © Tony Ivanov