This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.0.1
Check if you're online before working your magic
version 1.0.2
license BSD3
native-modules False
elm-version 0.17.1 <= v < 0.18.0
Tag 1.0.2
Committed At 2016-10-22 07:44:06 UTC
elm-lang/html 1.1.0 <= v < 2.0.0 1.1.0
elm-lang/core 4.0.5 <= v < 5.0.0 4.0.5

Modules

README

is-online

An elm package to check if you're online before working your magic.

Using the path to popular website's favicon.ico, this package will try and load an image and update it's online status when successful.

elm package install chrisbuttery/is-online

Inspired by sindresorhus is-online.

Example

Try the demo

Building example

Install Create Elm App and run elm-app build or elm-app start inside of /example.