Page 2 of Node.js Articles

How to install Node.js v14.x on Ubuntu 18.10

You know your Ubuntu system is a bit behind, but who has time for system upgrades? Any why should that stop you from being able to use the latest version of Node.js? Turns out, it doesn’t, and by following these quick and easy steps you can run Node.js v14.x on […]

How to install Node.js v14.x on Ubuntu 18.04 LTS

Ubuntu LTS releases are built for the long haul and even with Ubuntu 20.04 LTS right around the corner, it may be a while before you upgrade your system. No reason you should be stuck with an older version of Node.js the whole time. Follow these quick and easy steps […]

How to install Node.js v14.x on Ubuntu 17.10

While technically at end of life, if you’re stuck on the older Ubuntu 17.10, you can still enjoy the latest version of Node.js. Follow these quick and easy steps to get Node Version Manager and Node.js v14.x installed on your Ubuntu 17.10 system.<h2 id="getting-started">Getting started</h2> Before we can install Node […]

How to install Node.js v14.x on Ubuntu 17.04

Even though you should be considering upgrading this interim release of Ubuntu, you can still leverage the latest version of Node.js to squeak just a bit more life out of it. Follow these quick and easy steps to install Node Version Manager and Node.js v14.x on your EOL Ubuntu 17.04 […]

How to install Node.js v14.x on Ubuntu 16.10

You consider 2016 to be “your year” so you’ve been reluctant to upgrade from the last version of Ubuntu released that year. Even though it’s well past end of life as an interim release, you can still run the latest version of Node.js. Follow these quick and easy steps to […]

How to install Node.js v14.x on Ubuntu 16.04 LTS

While not quite at end of life, Ubuntu 16.04 LTS is still working hard for some of us. Even on an aging workhorse, you can leverage the power of the latest and greatest version of Node.js. Follow these quick and easy steps to get Node.js v14.x up and running on […]

How to install Node.js v14.x on Debian Testing

You’re living life very close to the bleeding edge on Debian Testing, no reason to not run the latest version of Node.js. Follow these quick and easy steps to install Node.js v14.x on your Debian Testing system.<h2 id="getting-started">Getting started</h2> Before we can install Node.js we need to ensure that we […]

How to install Node.js v14.x on Debian Sid

You’re right on the bleeding edge of Debian, why not be on the bleeding edge with Node.js? Follow these quick and easy steps to get Node.js v14.x up and running on your Debian Sid / Unstable system.<h2 id="getting-started">Getting started</h2> Before we can install Node.js we need to ensure that we […]

How to install Node.js v14.x on Debian 9

Just because you haven’t made the jump to Debian 10 yet, doesn’t mean you shouldn’t enjoy the power of the latest and greatest version of Node.js. Follow these quick and easy steps and you’ll be running Node.js v14 on Debian 9 in no time!<h2 id="getting-started">Getting started</h2> Before we can install […]

How to install Node.js v14.x on Debian 8

Debian 8 still has some long term support life left in it. While you’re deciding on when to schedule your upgrade to Debian 9 or 10, why not give the latest version of Node.js a try? Follow these quick and easy steps to install Node.js v14.x on your aging Debian […]

How to install Node.js v14.x on Debian 10

Already running the latest and greatest version of Debian, version 10, and want to run the latest and greatest version of Node.js? If so, follow these quick and easy steps and you’ll be off to the races with Node.js v14.x.<h2 id="getting-started">Getting started</h2> Before we can install Node.js we need to […]

How to install Node.js v12.x on Debian and Ubuntu

Feels like barely a week goes by without a new release from the Node.js team. This past week v12.0.0 was released promising speed improvements. It’s an important release because it’s slated to become the long-term service release in October 2019 with maintenance ending April 2022. If you’re starting a brand […]

Upgrade to Node.js 10.x or 11.x on Ubuntu 18.10

The latest and greatest, albeit not a long-term support release, from Canonical is here! Ubuntu 18.10, Cosmic Cuttlefish, was released this month and shipped with the current LTS version of Node.js, version 8. Actually, it’s a minor revision behind at the moment with 8.11.x being what’s available. Not that there’s […]

Speed up your shell prompt when using Node Version Manager

I absolutely hate using version managers like nvm and rvm. These days I don’t run any project session management like tmuxinator and tend to forget that I need to be switching Node.js versions depending on the project I am on. I know, I know… I really should get back to […]

Unique indexes with MongoDB and Mongoose

Even though I’ve been using MongoDB for the last few years, I’m still very much a noob when it comes to a lot of things. One of those things would be unique indexes. Generally speak, I interact with MongoDB three different ways: I write code that explicitly creates something with […]

How to POST to a webhook in 5 different programming languages

With the release of inbound webhooks for CrowdSync workflows last week, it seemed fitting to do a write up on how to POST to a webhook. So what is a webhook, anyway? The Wikipedia definition is that webhooks are “used-defined HTTP callbacks”. Kind of a stuffy definition if you ask […]

How to install Node.js 10 on Ubuntu 18.04 LTS

Two days before Canonical dropped the latest and greatest long term service release of Ubuntu, the Node.js Foundation dropped the latest and greatest (and eventually long term service release) of Node.js. Due to the timing of things, Ubuntu 18.04 LTS was shipped with the current long term service release of […]

How to install the latest version of Node.js 8 on Ubuntu 18.04 LTS

Right on schedule, Canonical has released the latest long term service release of Ubuntu, version 18.04. This particular release is shipping with Node.js 8 which is the current long term service release of Node.js. Unfortunately, the version which shipped (8.10.0) is already a bit behind the latest version, 8.11.1 (at […]

Upgrade to Node.js 8.x on Debian and Ubuntu

Not too long ago I wrote a post on how to upgrade to Node.js 8.x on Ubuntu 17.10. Post has done well but it’s generated quite a few inquiries on if it would work on other versions of Ubuntu, specifically LTS versions. This guide should work for both Debian (Wheezy, […]

Configuring Jest to show code coverage for all of your files

Jest is a great tool. It’s fast, actively maintained and has been working well for us with both our front-end and back-end systems. Simply put, Jest helps us make CrowdSync better and more stable. Out of the box though, code coverage is only shown for the files that you’ve written […]

Upgrade to Node.js 8.x on Ubuntu 17.10

Ubuntu 17.10, codenamed “Artful Aardvark” was released yesterday… … with Node.js v6.11.4 #sadtrombone It could be worse though, Debian 9.x (Stretch) still ships with Node v4… but I’ll save how to remedy that for another post ;) Now, I can’t imagine you came here to listen to me throw shade […]

Setting defaults for all your SuperAgent requests

SuperAgent is an HTTP request library for both Node.js and client-side JavaScript. It’s our current choice here at CrowdSync for making requests because it’s lightweight and easy to use. Unfortunately, out of the box, it doesn’t support setting defaults on all of your requests. The simplest approach would be to […]

Switching from Mac OS X back to Linux, Part 4: The Development Environment

New around here? You may want to catch up: Part 1: The Motive Part 2: The Distro Part 3: The Desktop Environment Before switching to OS X, I was running Ubuntu codename whatever and had my local system built out as close to my production environment as possible. I would […]

Programming the same thing in multiple programming languages

Recently I set out on an interesting journey. I wanted to build programming libraries for my API, HolidayAPI. Some of the languages I know like the back of my hand. Others, have never even touched them before. Before you start sending me hate comment, I am fully aware of Swagger. […]

Node.js on the command-line

To start, let me put it out there that I’ve drank the kool-aid and have been doing a ton of hacking with Node.js (and soon enough, IO.js). I’m going to save the details for another post though. So an observation I’ve been making recently is that it seems like the […]