holdtime

0.1.1 • Public • Published

holdtime

Measure time spent waiting for a callback.

Usage

var holdtime = require("holdtime");
 
fs.readFile("./package.json", holdtime(function(err, body, time) {
  console.log("Read package.json in %dms", time);
}));

Readme

Keywords

none

Package Sidebar

Install

npm i holdtime

Weekly Downloads

2

Version

0.1.1

License

ISC

Last publish

Collaborators

  • mojodna