A module with functions for working asynchronously with JavaScript that can be used both in NodeJS and in the browser.
0
votes
0answers
21 views
Using Async.js 'auto' method, checks two different databases/sources for matches, and manipulates the final results
Is there a way to abstract the final callback of the async.auto section of the testZip function below? My issues is that that I am repeating that section as the callback for a handful of other ...
0
votes
0answers
32 views
Retrieve YouTube user's subscriptions and store them in database
I've written this small algorithm and I'm not really proud of it.
...
0
votes
0answers
21 views
Handling callbacks and errors Nodejs
I wrote a script for reading a csv, parsing it and saving data to mongodb. I would love some input on how I'm handling errors and dealing with callbacks. I wrote it with nested without using async and ...
0
votes
0answers
42 views
Async boolean expression evaluator in ES6
This is a pretty simple Node package designed to accept a "boolean expression" and evaluate it asynchronously. The full project is on GitHub.
Essentially, an expression like ...
1
vote
0answers
58 views
Async process to send a contact email and confirmation message
Using nodemailer and node-email-templates to send a contact email and confirmation message. As is, I can catch any errors, but (if a file attachment is included), this process can take up to 30 secs ...
2
votes
1answer
229 views
Handling callbacks when doing async programming and dealing with scope
I'm using HapiJS to create a little backend for my side-project. In grabbing RSS feeds, I want to loop through my list of website URLs, grab the correct RSS links in the ...
4
votes
1answer
739 views
Shorten my asynchronous DB queries, using async.js module
I am using
Node.js
Express.js
node-mysql.js
async.js
I am making multiple asynchronous queries to my DB, but every query relies on the previous one's results, so I decided to use the ...