Find Internet Explorer on your system.
var locateIe = require('locate-ie');
// Use a callback
locateIe(function(l) {
console.log(l);
});
// Use the returned Promise
locateIe.then(function(l) {
console.log(l);
});
stdout
path to IE (or null
):
> locate-ie
# C:\Program Files\Internet Explorer\iexplore.exe