0.0.8 • Published 6 years ago

cross-environment v0.0.8

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

cross-environment

GitHub stars

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

MIT License

Jam Risser © 2018

Changelog

Review the changelog

Credits

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!

Liberapay receiving Liberapay patrons

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago