Using Higher-Order Functions To Pass Data and Functions in Node

When using Node.js it is best practice to separate out one's code into modules. So, instead of having one monolithic index.js or main.js file, instead you have your routes and your utility modules separated out into separate files which then get imported into your main file. This »

First Time Node - #5 Configuring & Writing Tests

Testing your code is important. People disagree about how important it is, but we can all agree that writing at least some tests is a good practice. In this post, I will show you how to write and run tests on your code using Mocha. For this post, we will »

First Time Node - #4 Configuring Your Build Process for ES2015/2016

This is an extremely exciting time to be a JavaScript developer. The language is growing and changing in very positive ways. But, unfortunately, many of the best features of modern JavaScript are not natively available in Node or the browsers. I, along with others, say that it is absolutely essential »