Abusing ES6 Promises

At a first look, promises look like a different way to handle callbacks. Working with them for a while, I’ve realized the provided… Read more

Similar

Regular Expressions in a post-ES6 world

In this article we’ll take a look at regular expressions in and after ES6. There’s a couple of regular expressions flags which were introduced in ES6: the /y or sticky flag, and the /u or Unicode flag. Then we’ll discuss five proposals which are making th... (more…)

Read more »

Nifty ES6 tricks

In this blog post, I show six tricks enabled by new ES6 features. At the end of each section, I point to related material in my book “ Expl...

Read more »

Mongoose with ES6 classes

Mongoose is a great way to handle your database connection and model your data without having to worry about performing your own validation and so on. However I found it quite hard to find an example of Mongoose in action with the database connection not... (more…)

Read more »

5 New ES6 Features in Node.js LTS

A couple of weeks ago, Node.js released its latest LTS: version 6.9.0. I realized this was the case because one of our services broke. It used the nodejs:lts image and got upgraded by mistake....

Read more »