Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hughsk/is-ie
- Owner: hughsk
- License: other
- Created: 2013-08-07T03:59:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-07T03:59:20.000Z (over 11 years ago)
- Last Synced: 2024-04-29T08:21:16.837Z (6 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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
}
```