Using the node-open module you can open files or URLs in the user’s preferred application.
For example this piece code will open CSSDeck in the user’s default browser (for me it’s Google Chrome) –
What's the one thing every developer wants? More screens! Enhance your coding experience with an external monitor to increase screen real estate.
var open = require('open'); open('http://cssdeck.com');
You can also open mailto
URLs in the browser or the email client (depending upon user’s preferences) –
var open = require('open'); open('mailto:[email protected]');
The module handles cross-platform issues pretty well!