@nearform/trace-events-parser

Fast streaming parser for Node.js trace events

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
Last updated 8 years ago by mafintosh .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @nearform/trace-events-parser 
SYNC missed versions from official npm registry.

@nearform/trace-event-parser

Fast streaming parser for Node.js trace events.

npm install @nearform/trace-event-parser

Usage

const parser = require('@nearform/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.

License

Apache-2.0

Current Tags

  • 1.0.4                                ...           latest (8 years ago)

5 Versions

  • 1.0.4 [deprecated]           ...           8 years ago
  • 1.0.3 [deprecated]           ...           8 years ago
  • 1.0.2 [deprecated]           ...           8 years ago
  • 1.0.1 [deprecated]           ...           8 years ago
  • 1.0.0 [deprecated]           ...           8 years ago
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE