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

2.3.0 • Public • Published

npm version

@aegenet/belt-platform-detector

Platform detector - isNodeJS ? isMobileDevice?

💾 Installation

yarn add @aegenet/belt-platform-detector@^2.0.0
# or
npm i @aegenet/belt-platform-detector@^2.0.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

1

Version

2.3.0

License

MIT

Unpacked Size

4.16 kB

Total Files

7

Last publish

Collaborators

  • agenet