Skip to content

Detects whether the Node.js Event Loop has choked and what caused it to choke.

License

Notifications You must be signed in to change notification settings

onwd/node-choke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

node-choke

Detects whether the Node.js Event Loop has choked and what caused it to choke.

Installation

$ npm i node-choke

Example

const choke = require('node-choke');

choke((info) => {
  console.log(`Event Loop has choked for ${info.dt}ns, stack trace:`, info.stack);
});

About

Detects whether the Node.js Event Loop has choked and what caused it to choke.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published