Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hughsk/is-ie

Check if your code is running on IE, and what version you're running from.
https://github.com/hughsk/is-ie

Last synced: 12 days ago
JSON representation

Check if your code is running on IE, and what version you're running from.

Awesome Lists containing this project

README

        

# is-ie

Gives you the version of Internet Explorer your code is running in as a float,
or `null` if running in Node/Chrome/Firefox/etc.

## Installation

``` bash
npm install is-ie
```

## Usage

``` javascript
var version = require('is-ie')

if (version === null) {
start()
} else
if (version <= 9) {
throw new Error
}
```