Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/swayangjit/cordova-plugin-networkspeed

Cordova plugin to get network speed (Android)
https://github.com/swayangjit/cordova-plugin-networkspeed

android cordova-android-plugin cordova-plugin cordova-plugin-networkspeed internet internetspeed network networkspeed speed

Last synced: about 2 months ago
JSON representation

Cordova plugin to get network speed (Android)

Awesome Lists containing this project

README

        

# `cordova-plugin-networkspeed`


npm version




License

> Cordova plugin to get network speed (Android)

## API

The plugin exposes the following method:

```javascript
networkspeed.getNetworkSpeed(success, error);
```

#### Parameters:
* __success:__ success callback which returns network speed in **KB/s**
* __error:__ error callback

## Installation

The plugin can be installed via [Cordova-CLI](https://cordova.apache.org/docs/en/dev/guide/cli/index.html#The%20Command-line%20Interface) and is publicly available on [NPM](https://www.npmjs.com/package/cordova-plugin-networkspeed).

Execute from the projects root folder:

$ cordova plugin add cordova-plugin-networkspeed

Or install a specific version:

$ cordova plugin add cordova-plugin-networkspeed@VERSION

Or install the latest head version:

$ cordova plugin add https://github.com/swayangjit/cordova-plugin-networkspeed.git

Or install from local source:

$ cordova plugin add --nofetch --nosave --link