1.0.0 • Published 6 months ago

isoplatform v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

IsoPlatform

An isomorphic detector for the current process platform.

Only the following platforms are supported: linux, mac, windows, android, ios.

Install

npm install isoplatform

Usage

import platform from 'isoplatform';

// Let's read the current platform

platform // => 'linux' | 'mac' | 'windows' | 'android' | 'ios' | undefined

License

MIT © Fabio Spampinato

1.0.0

6 months ago