Security News
UK Officials Consider Banning Ransomware Payments from Public Entities
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
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
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.