Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logchop

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logchop

web app performance metrics logchop.com

  • 0.1.6
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

LogChop

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

require('logchop').start()

...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

event.stop()

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)
}

Keywords

FAQs

Package last updated on 15 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc