Check if browser is Internet Explorer
Supports IE6, IE7, IE8, IE9, IE10, IE11 and Edge.
User agent sniffing is considered bad practice and should be avoided if possible.
$ npm install is-iexplorer
const isIexplorer = require('is-iexplorer');
console.log(isIexplorer);
//=> false (hopefully)
MIT © Kevin Mårtensson