JSPM

@walletconnect/environment

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 592535
  • Score
    100M100P100Q189351F
  • License MIT

Environment utilities

Package Exports

  • @walletconnect/environment

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 (@walletconnect/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 npm version

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();

License

MIT License