Node
Simplify Node …
I work on some sizable enterprise NodeJS applications and the thing that bites us most often are our configuration files. I like to use a simple configuration file to define static variables that are used throughout my apps to avoid hardcoded values whenever possible. This allows me to easily …
Run Bash Script from Node
I recently needed a way to execute a bash script from a Node application. The premise was simple, to create an authorization protected Node/Express endpoint that could execute a bash script that lives alongside my app. My script does tasks like moving local log files and restarting processes. Node …