Package Exports
- @u-connect/environment
- @u-connect/environment/dist/cjs/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@u-connect/environment) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
environment 
Environment utilities
Description
This library provides utilties to detect environment for Browser, NodeJS and React-Native
Usage
import * as env from 'environment';
// true for NodeJS
env.isNode();
// true for React-Native
env.isReactNative();
// true for Browser
env.isBrowser();