Super Useful NPM Module – Open

Forgive the samewhat lame title, and this will be a quick little post, but I’ve recently been using such an incredibly helpful npm module I wanted to share it with others. open by Sindre Sorhus (you must click that link and look at their incredible GitHub profile) is a simple, but powerful utility that… opens things. Ok, that sounds rather obvious, but what it means in practice is that your Node code can open a resource on your computer with the associated app. (It can also open up an app by itself if you want.) I can’t tell you how many scripts I’ve written that generate file-based results, or URL-hosted results, that I then double-click to open. This one little utility... more →
Posted in: JavaScript