ES6 Import & Export – A beginners guide

Importing and exporting modules is a big part of Javascript. Before ES6, importing modules could be included into a script by using the  require() function.  ES6 introduced the import and export keywords which brings Javascript more in line with programming languages like Java and Ruby. Basic Import To import a…

Quick TDD setup with Node, ES6, Gulp and Mocha

Having practised Test Driven Development for the last couple of years, I’ve found testing one of the most frustrating things about Node compared to other programming languages. Laravel, a framework I have used for the past few years, has come with a gulp extension called Elixir since version 5.0 which…

ES6 Promises – 5 Things I Wish I’d Known

Over the past couple of months I’ve started shifting my development focus away from PHP to Node.  Node is a huge departure from PHP development and I’ve uncovered quite a few gotcha’s along the way. One of the major differences is the Asynchronous nature of JavaScript.  If you’ve ever wondered why…