NodeJS

Update JSON File with …

In this (very) short post I’ll show you a quick way to make simple edits to a .json file from the command line or using bash and NodeJS. Let’s say we want to update a value in a data.json file. With NodeJS installed on our system we can leverage the -p or --print command to evaluate a …

Serverless Framework and …

I recently upgraded my development workflow for serverless functions to include using a Docker container that hosts the Serverless Framework CLI. I didn’t pay much attention to versions when I built the Dockerfile and selected the latest NodeJS base image, which is NodeJS version 16. When I …

NodeJS Troubleshooting …

There are times when you might need to know information about your running NodeJS server. Here is a simple way to create an endpoint to expose valuable system for your production NodeJS application. Being able to quickly access system information allows for quick troubleshooting and triaging of …