JSPM

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

@wora NetInfo

Package Exports

  • @wora/netinfo

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 (@wora/netinfo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@wora/netinfo

React

Install @wora/netinfo using yarn or npm:

yarn add @wora/netinfo
import { NetInfo } from "@wora/netinfo";

React Native (react-native-community/react-native-netinfo)

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

import { NetInfo } from "@wora/netinfo";