0.0.8 • Published 6 years ago
cross-environment v0.0.8
cross-environment
Comprehensive cross platform way to get environment details
Please ★ this repo if you found it useful ★ ★ ★
Features
- Completely cross platform
- Get runtime (node, browser)
- Determine if mobile device
- Get os (darwin, win32, linux, freebsd, openbsd, kindle)
- Get JavaScript engine (gecko, webkit, v8, jsc)
- Get environment (development, testing, staging, production)
- Get browser (chrome, firefox, opera, safari, edge, ie)
- Built in memoization
Installation
npm install --save cross-environment
Dependencies
Usage
import crossEnvironment from 'cross-environment';
console.log(crossEnvironment());
Support
Submit an issue
Contributing
Review the guidelines for contributing
License
Jam Risser © 2018
Changelog
Review the changelog
Credits
- Jam Risser - Author
Support on Liberapay
A ridiculous amount of coffee ☕ ☕ ☕ was consumed in the process of building this project.
Add some fuel if you'd like to keep me going!