Check if you're online before working your elm magic.
Elm HTML JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
src
.gitignore
README.md
elm-package.json

README.md

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.

chrisbuttery.com  ·  GitHub @chrisbuttery  ·  Twitter @buttahz  ·  elm-lang slack @butters