Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
event-loop-stats
Advanced tools
Exposes stats about the libuv default loop
npm install --save event-loop-stats
var eventLoopStats = require('event-loop-stats');
console.log('Stats', eventLoopStats.sense());
This will print the following information:
Stats {
max: 5,
min: 0,
sum: 10,
num: 5
}
max
: Maximum number of milliseconds spent in a single loop since last sense call
.min
: Minimum number of milliseconds spent in a single loop since last sense call
.sum
: Total number of milliseconds spent in the loop since last sense call
.num
: Total number of loops since last sense call
.event-loop-stats
depends on C++ extensions which are compiled when the event-loop-stats
module is installed. Compatibility information can be inspected via the Travis-CI build jobs.
FAQs
Exposes stats about the libuv default loop
We found that event-loop-stats demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.