@qubic-js/detect-inapp

1.4.1 • Public • Published

Detect InApp

detect browser or in-app information for mobile

Build Status codecov npm downloads js-standard-style Commitizen friendly semantic-release

Code Example

import InApp from 'detect-inapp';

const inapp = new InApp(navigator.userAgent || navigator.vendor || window.opera);

Installation

yarn add detect-inapp

API Reference

  • inapp.isMobile

  • inapp.isDesktop

  • inapp.isInApp

  • inapp.browser

values: 'messenger', 'facebook', 'line', 'twitter', 'wechat', 'miui', 'instagram', 'chrome', 'safari', 'ie', 'firefox'

License

MIT License

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.4.113latest

Version History

VersionDownloads (Last 7 Days)Published
1.4.113
1.1.10

Package Sidebar

Install

npm i @qubic-js/detect-inapp

Weekly Downloads

13

Version

1.4.1

License

MIT

Unpacked Size

4.69 kB

Total Files

3

Last publish

Collaborators

  • tim101
  • vanitax
  • amis.kevin
  • alanchchen
  • roadmanfong