Simple CLI tool using react-dev-tool's open in browser to open any URL in the computers default browser. If the page is already open, activate the tab instead of creating a new window.
npm i -g open-in-browser
open-in-browser http://yahoo.com
Works with npx too; npx open-in-browser http://yahoo.com
This project is a wrapper around react-dev-utils/openBrowser. If writing a node app it may be more efficient to call require("react-dev-utils/openBrowser")(url)
instead.