# @wora/netinfo

> @wora NetInfo

Latest version **2.1.1** (published 2021-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @wora/netinfo
pnpm add @wora/netinfo
yarn add @wora/netinfo
bun add @wora/netinfo
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.1 |
| Published | 2021-04-27 |
| First published | 2019-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 176 |
| Author | morrys |
| Maintainers | morrys |
| Keywords | wora, react-native, detect, network, react, hooks, netinfo |

## Links

- npm: https://www.npmjs.com/package/@wora/netinfo
- Repository: https://github.com/morrys/wora
- Issues: https://github.com/morrys/wora/issues
- Funding: https://github.com/sponsors/morrys
- npm.io page: https://npm.io/package/@wora/netinfo

## Dependencies (1)

- [fbjs](https://npm.io/package/fbjs.md) ^3.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.1.1 (latest) — 2021-04-27
- 2.1.0 — 2021-01-09
- 2.0.0 — 2020-04-18
- 1.1.1 — 2020-04-04
- 1.1.0 — 2019-10-13
- 1.0.1 — 2019-08-22
- 1.0.0 — 2019-07-14

## README

# [@wora/netinfo](https://github.com/morrys/wora)

## React

Install @wora/netinfo using yarn or npm:

```
yarn add @wora/netinfo
```

```ts
import { NetInfo } from "@wora/netinfo";
```


## React Native ([react-native-community/react-native-netinfo](https://github.com/react-native-community/react-native-netinfo/blob/master/README.md))

Install @wora/netinfo using yarn or npm:

```
yarn add @wora/netinfo react-native @react-native-community/netinfo
```

You then need to link the native parts of the library for the platforms you are using. The easiest way to link the library is using the CLI tool by running this command from the root of your project:

`react-native link @react-native-community/netinfo`


```ts
import { NetInfo } from "@wora/netinfo";
```

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