
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
Allows you to pull together multiple async calls together.
Basic
var CrazyGlue = require('crazy_glue');
var glue = new CrazyGlue(3);
glue.ok('1', 'hello');
glue.ok('2', 'world');
glue.ok('3', 'test');
glue.ok('3', 'test2');
glue.on('done', function(errors, results) {
// Do something with arguments
});
results will be
{ 1: 'hello', 2: 'world', 3: ['test', 'test2'] }
errors will be
{ }
With errors
var CrazyGlue = require('crazy_glue');
var glue = new CrazyGlue(3);
glue.ok('1', 'hello');
glue.error('world', 'failed');
glue.error('test', 'failed');
glue.error('test', 'failed2');
glue.on('done', function(errors, results) {
// Do something with arguments
});
results will be
{ 1: 'hello' }
errors will be
{ world: 'failed', test: ['failed', 'failed2']}
With stats
var CrazyGlue = require('crazy_glue');
var glue = new CrazyGlue(5);
glue.ok('1', 'hello');
glue.ok();
glue.error('world', 'failed');
glue.error('test', 'failed');
glue.error();
glue.on('done', function(errors, results, stats) {
// stats.okCount == 2
// stats.errorCount == 3
});
results will be
{ 1: 'hello' }
errors will be
{ world: 'failed', test: 'failed'}
FAQs
Binding all of your async calls together
We found that crazy_glue 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.