"Professional JavaScript" (which I've a co-authored), has recently been published with Packt, it's cu...
How to use Yarn Workspaces to manage applications/coding examples. Lerna isn’t required when you d...
JavaScript import/require module testing do’s and don’ts with Jest The example repository is avail...
Hugo “The world’s fastest framework for building websites” is a great option for JAMStack (JavaScript...
JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programm...
How to set Tailwind CSS up with a static site hosted on Netlify See the full starter repository at...
In computer science, test coverage is a measure used to describe the degree to which the source code...
One of my mentees just asked me "When working for a company, what is the expected timeline for a new...
An example Netlify Lambda to fetch all “newsletter” posts from Pocket. Pocket is an application an...
A case-study on where recursion can be useful for enterprise Node.js applications and how to avoid it...
When asked to handle data in a request body, developers who have used Express (th...
With Jest it’s possible to assert of single or specific arguments/parameters of a mock function call...
The why and how of enterprise-style Node.js application. A setup that’s easy to test and extend using...
Despite the JavaScript Date warts, it’s straightforward to add days to a date in JavaScript. While i...
Static site generators like Hugo, Jekyll, Hexo, Gatsby or other JAMstack alternative are a great opti...
This post goes through how to reduce the amount of static assets served through Netlify by leveraging...
A solution to serve your Dockerized application on Docker Compose with TLS/SSL locally by leveraging...
Settling on a Netlify + Dokku on DigitalOcean (for US) or Hetzner Cloud (for EU) deployment stack fo...
This post goes through how to use Object.defineProperty to mock how constructors create methods, ie....
When working with git a selection of GitLab, GitHub, BitBucket and rebase-trigg...
When sending requests from client-side JavaScript, by default cookies are not passed. By default, f...
When asked to handle data in a request body, developers who have used Express (the “Fast, unopinionat...
To test an Express handler, it’s useful to know how to successfully mock/stub the request and respons...
The config npm package is great (npmjs.com/package/config), but it encourages confusing and non-12-fa...
There are occasions when running a Python/Ruby/PHP shell script from Node.js is necessary. This post...
A look at the history, patterns and gotchas of asynchronous operations in JavaScript. We’ll go throu...
The Dokku mongo plugin provides a mongo:connect command, which opens a tunnelled connection to you Mo...
DataTypes are core to the Sequelize 4 library. This is a practical and complete guide to make up for...
tl;dr : here are the tools used to power, build and publish codewithhugo.com: Dropbox Paper becaus...
If you want to ship, use the tools you know. — A lot of people Let’s apply that principle: I’m bui...