Post image

Testing ECMAScript Modules Natively in Jest

In this tutorial, we’ll setup Jest to test a Node.js application that uses ECMAScript modules (ESM). Recent versions of Node.js have full support f...

Posted on

Post image

Introduction to Node.js API Testing with Mocha and Chai

Unit testing is the procedure during which individual parts of a program are tested to determine whether they work as expected.

Posted on

Post image

Adding Syntax Highlighting to Ghost using Prettify

If you are using the Ghost blogging platform for Node.js, you will probably have noticed that code snippets are not automatically styled. That’s be...

Posted on

Post image

Using GraphicsMagick for Image Manipulation in Node.js

GraphicsMagick is a free and open-source command-line utility for manipulating images. It is a fork of ImageMagick, but it is faster and uses fewer...

Posted on

Post image

Running the Ghost Node.js Blogging Platform as an Upstart Service

Ghost is a relatively new and free open source blogging platform for Node.js. If you’re looking for a blogging platform and you are a fan of Node.j...

Posted on

Post image

Running Your Node.js App as an Upstart Service

When you are developing a Node.js application, you typically run it like this: node index.js.

Posted on