Node.js Articles
Last week we discussed converting CSV to JSON in JavaScript. This week, we’re going to talk about going in the opposite direction, converting JSON back to CSV. Similar to last week, we’re going to use the immensely popular papaparse library. As it turns out, even though it’s touted as the
[…]
Parsing CSV data isn’t as easy as splitting the string up into individual lines, then splitting it by the delimited (in this case commas). Some of the values may have quotes around them, sometimes the values themselves have line breaks. Then there’s the potential that the data itself is malformed.
[…]
It’s that time of year again, for not just a new version of Node.js, but for a new version of Ubuntu as well! Sadly though, my preferred method of installing Node.js on Ubuntu isn’t quite ready for Ubuntu 22.04 LTS. That’s okay though, I don’t like to upgrade to a
[…]
I’ved used Axios a ton, but I’ve only ever used it to make AJAX requests. In fact, I don’t ever remember a time when I’ve needed to download a file and save it to disk in Node.js. That changed recently with a new side gig I’ve been helping out with.
[…]
As All Hallows Eve approaches, we are greeted with a brand new “current” release of Node.js, version 17. For those out there are aren’t aware of how Node.js releases work, even numbered releases eventually get promoted to long-term support (LTS) status, while odd numbered releases, will not. They are effectively
[…]
While I’m a pretty big fan of TypeScript, there’s some stuff that drives me up a wall. One of those things recently came to light during the release of TypeScript 4.4 on a Friday afternoon. So it was nearing both end of day and end of week, and we were
[…]
As the meme goes, the object with the largest mass in our universe is the node_modules directory. Generally speaking, storage is cheap, and while an unkept set of dependencies can be quite messy (and often times a security hazard), the size of your node_modules directory tends to not be of
[…]
Ubuntu tends to drop a new version of their April release shortly after a new version of Node.js drops. Every other year, this Ubuntu release is a long-term support release, which has a longer shelf life in terms of support and maintenance compared to their interim releases. True to form
[…]
As much as I love to sling code, I love that we live in a world where you can stand on the shoulders of giants and easily leverage other people’s hard work by way of Open Source libraries. Simply referred to as “dependencies”, these little code gems can save a
[…]
While looking into some deployment issues recently, I ran into some logic that was in dire need of being refactored. The logic in the build process was installing all dependencies with npm, then removing the node_modules directory, just to install the production dependencies again. Yes, you read that right, the
[…]
Recently, while working on a new project, I needed to create a series of nested directories. From the command-line, it’s easy enough, just pass -p to mkdir and it will create all of the parent directories automatically. With modern versions of Node.js, specifically 10 and above, you can achieve the
[…]
For the most part, I do the majority of my debugging with Node.js / JavaScript’s console.log(). It’s quick and dirty but it gets me what I’m looking for. The exception being when I am working with larger objects, specifically any object that is nested three or more levels deep. Here’s
[…]
New Ubuntu and Node.js versions released recently. While neither is a long-term service (LTS) release, they still represent the best that both parties have to offer. Even though Ubuntu 20.10 is here, it’s still shipping with an older version of Node.js, v12.x to be exact. If you’re like me, you
[…]
Generally speaking, I don’t use dots (periods, full stops, whatever else they may be called) in the URI for a website. That was, until I made the . an allowable character for user names on one of my projects. Allowing the character was a big deal at all with Express.js
[…]
Big week for both the Node.js universe and the Ubuntu universe. Node.js version 14.x dropped on Tuesday the 21st with Ubuntu 20.04 LTS coming in hot on Thursday the 23rd. Both releases are important because they are both long term support releases. Node.js v14.x isn’t currently LTS, but it will
[…]
The latest and greatest long term service release of Ubuntu is here and there’s no reason that you shouldn’t get to enjoy the latest and greatest (soon to be) long term service release of Node.js as well. Follow these quick and easy steps to install Node.js v14.x on your shiney
[…]
Even though Ubuntu 20.04 LTS is right around the corner, that doesn’t mean you’re going to jump right on it. If you’re waiting for that first point release but still want to harness the power of the latest and greatest version of Node.js, you can follow these quick and easy
[…]
Just because you’re a couple of versions behind the current Ubuntu release doesn’t mean you shouldn’t get to take advantage of the latest version of Node.js. Follow these quick and easy steps to install Node.js v14.x on your Ubuntu 19.04 system.<h2 id="getting-started">Getting started</h2> Before we can install Node.js we need
[…]
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
[…]
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
[…]
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
[…]
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
[…]
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
[…]
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
[…]
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
[…]