@aegenet/belt-platform-detector
TypeScript icon, indicating that this package has built-in type declarations

1.5.0 • Public • Published

npm version

@aegenet/belt-platform-detector

Platform detector - isNodeJS ? isMobileDevice?

💾 Installation

yarn add @aegenet/belt-platform-detector@^1.4.0
# or
npm i @aegenet/belt-platform-detector@^1.4.0

📝 Usage

import { isNodeJS } from '@aegenet/belt-platform-detector';

isNodeJS(); // true or false :-)
import { isMobileDevice } from '@aegenet/belt-platform-detector';

isMobileDevice(); // true or false :-)

Package Sidebar

Install

npm i @aegenet/belt-platform-detector

Weekly Downloads

0

Version

1.5.0

License

MIT

Unpacked Size

3.92 kB

Total Files

7

Last publish

Collaborators

  • agenet