Skip to content

chrisbuttery/is-online

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 

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

About

Check if you're online before working your elm magic.

Resources

Stars

Watchers

Forks

Packages

No packages published