web app performance metrics logchop.com

npm install logchop
22 downloads in the last week
120 downloads in the last month


Add this to the very top of your Node.js web app...


...and you'll magically get web app performance metrics.

How about timing some gnarly piece of code?

var logchop = require('logchop')
var event = logchop.event('Gnarly Code')

// gnarly code


What about an asynchronous function?

var logchop = require('logchop')

// do it from the outside by wrapping the callback
someAsyncMethod( logchop.event('My Asyc Method').until( function (err, result) {

// or do from the inside
function someAsyncMethod(callback) {
  callback = logchop.event('My Asyc Method').until(callback)
npm loves you