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

https://github.com/maxhoffmann/is-opera-mini

:o: client-side detection of Opera Mini versions with limited JavaScript support
https://github.com/maxhoffmann/is-opera-mini

Last synced: 6 months ago
JSON representation

:o: client-side detection of Opera Mini versions with limited JavaScript support

Awesome Lists containing this project

README

          

# is-opera-mini

Detect Opera Mini versions with limited JavaScript support using the official method [documented on Opera’s blog](https://dev.opera.com/articles/view/opera-mini-and-javascript/#detectingmini).

### Installation

```bash
npm install is-opera-mini
```

## Usage

```js
var isOperaMini = require('is-opera-mini');

isOperaMini // true for Opera Mini with limited JS support
```

It returns `true` for Opera Mini versions that are rendered on Operas Server having limited JavaScript support and return `false` for all other browsers and node as well as Opera Mini versions that have full JS support, e.g. Opera Mini set to “turbo” on iOS.