package
Fast streaming parser for Node.js trace events
npm install @clinic/trace-events-parserGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Registry package owners.
Fast streaming parser for Node.js trace events.
npm install @clinic/trace-event-parserconst parser = require('@clinic/trace-events-parser')
const fs = require('fs')
fs.createReadStream('node_trace.log')
.pipe(parser())
.on('data', function (data) {
console.log('traceEvent:', data)
})You can also use JSONStream to parse trace events, but this uses a specialised parser to achive a much higher throughput.
Apache-2.0
Estimated unpacked size across 4 packages.
61.8 kB
Includes dependencies.