Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jorgecasar/network-information
Implements Network Information API, which enables web applications to access information about the network connection in use by the device.
https://github.com/jorgecasar/network-information
Last synced: 1 day ago
JSON representation
Implements Network Information API, which enables web applications to access information about the network connection in use by the device.
- Host: GitHub
- URL: https://github.com/jorgecasar/network-information
- Owner: jorgecasar
- Created: 2017-06-19T09:44:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-19T11:01:12.000Z (over 7 years ago)
- Last Synced: 2024-10-23T21:33:35.289Z (16 days ago)
- Language: HTML
- Homepage:
- Size: 1.87 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/jorgecasar/network-information)
# \
Implements Network Information API, which enables web applications to access information about the network connection in use by the device.
## Installation
First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your element locally.
## Viewing Your Element
```
$ polymer serve
```## Running Tests
```
$ polymer test
```Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.
## Usage
```html
- API supported: [[apiSupported]]
- OnLine: [[onLine]]
- Type: [[type]]
- Efective type: [[effectiveType]]
- Downlink Max: [[downlinkMax]]
- Downlink: [[downlink]]
- Rtt: [[rtt]]
```
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## Credits
Spec. [Network Information API](https://wicg.github.io/netinfo/).
## License
MIT is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).