Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
async-measured
Advanced tools
A drop in replacement for async that adds measured timings to functions
A drop in replacement for async that adds timings to functions.
I eventually want this to give measured timings on all functions. For now it just gives basic timings.
Currently it only supports basic measurements for async.series. Feel free to submit PR's for your own measurements.
var async = require("async-measured");
var timer = async.series([
function (next) {
setTimeout(next, 100);
},
function (next) {
setTimeout(next, 50);
}
], function () {
console.log(timer);
});
After the async.series is done timer will be an object like:
{
start: <timestamp>
time: 150
tasks: [
{
start: <timestamp>
time: 100
},
{
start: <timestamp>
time: 50
}
]
}
MIT
FAQs
A drop in replacement for async that adds measured timings to functions
The npm package async-measured receives a total of 4 weekly downloads. As such, async-measured popularity was classified as not popular.
We found that async-measured demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.