# @walletconnect/environment

> Environment utilities

Latest version **1.0.1** (published 2022-11-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @walletconnect/environment
pnpm add @walletconnect/environment
yarn add @walletconnect/environment
bun add @walletconnect/environment
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-11-25 |
| First published | 2021-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 221.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 132 |
| Author | WalletConnect, Inc. |
| Maintainers | crypblizz, devceline, gancho_walletconnect, sbc64, iljadoesdev, bkrem, pedrouid |
| Keywords | env, environment, utils, browser, node, react-native |

## Links

- npm: https://www.npmjs.com/package/@walletconnect/environment
- Repository: https://github.com/walletconnect/walletconnect-utils
- Issues: https://github.com/walletconnect/walletconnect-utils/issues
- npm.io page: https://npm.io/package/@walletconnect/environment

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) 1.14.1

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2022-11-25
- 1.0.0-beta.1 (beta) — 2021-07-26
- 1.0.0 — 2021-07-28

## README

# environment [![npm version](https://badge.fury.io/js/%40pedrouid%2Fenvironment.svg)](https://badge.fury.io/js/%40pedrouid%2Fenvironment)

Environment utilities

## Description

This library provides utilties to detect environment for Browser, NodeJS and React-Native

## Usage

```typescript
import * as env from 'environment';

// true for NodeJS
env.isNode();

// true for React-Native
env.isReactNative();

// true for Browser
env.isBrowser();
```

## License

[MIT License](LICENSE.md)

---
_Source: https://npm.io/package/@walletconnect/environment · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
