Category: shell

How to Write Shell Scripts with JavaScript

This week I had to upgrade a client’s website to use SSL. This wasn’t a difficult task in itself — installing the certificate was just the click of a button — yet once I had made the switch, I was left with a lot of mixed content warnings. Part of fixing these meant that I had to go through the theme di...

10 Tips and Tricks That Will Make You an npm Ninja

While there is much excitement about Facebook’s new Yarn project, the continuing success of Node.js owes much to its original package manager, npm. A few simple npm commands is all it takes to initialize a folder (npm init), download packages (npm install) and create tests (npm test) and custom scripts (npm run) ...