Async patterns in Node.js: only 4+ different ways to do it

TL;DR: callbacks, async module, promises, async/await, coroutines/generators, which to use and when. Read more

Similar

Contact Form with Node.js, Lambda and SES

AWS Lambda functions are extremely efficient at handling small, focused tasks. If you manage to break your entire application in small services then you don’t have to bother maintaining and scaling virtual instances. Having a couple of functions that run ... (more…)

Read more »

Securing a Node.js Pipeline with Snyk

npm is a great tool for building and distributing Node.js packages. It’s also a handy way to make sure that people who use your app are getting all the Node.js dependencies that the app requires to run. But getting software to your users is only half th...

Read more »

Stronger Encryption and Decryption in Node.js

If your encryption method produces the same encrypted result given the same original text input, your encryption is broken. Yet this is what I see in most other examples around the web on how to do encryption in Node.js. Strong encryption should always p...

Read more »