3.0.0 • Published 5 years ago

react-native-network-bandwith-speed v3.0.0

Weekly downloads
299
License
MIT
Repository
github
Last release
5 years ago

react-native-network-bandwidth-speed

Easily check for network bandwidth speed in React Native

Install

$ npm install react-native-network-bandwith-speed --save

or if you're using yarn,

$ yarn add react-native-network-bandwith-speed

Quick Start

import { measureConnectionSpeed } from 'react-native-network-bandwith-speed';

  getNetworkBandwidth = async (): Promise<void> => {
    try {
      const networkSpeed: NetworkBandwidthTestResults = await measureConnectionSpeed();
      console.log(networkSpeed); // Network bandwidth speed 
    } catch (err) {
      console.log(err);  
    }
  }

props

  • ImageURI: Any image URI of an 1.5 Mb image,if not provided default image URI would be used.

Milestones

  • Add demo app
  • Improve npm docs
  • Add CONTRIBUTING.md
  • Add CODE_OF_CONDUCT.md
  • Add CHANGELOG
  • Speed tests for download/upload

Contributor guidelines

  • Fork the repository.
  • Clone the forked repository.
  • Create your own branch.
  • Create a pull request with changes made.

License

MIT

3.0.0

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago