szubtsovskiy / localstorage

Elm effect manager for local storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LocalStorage

Local storage for Elm.

This library offers access to the browser's localstorage, which is limited to string keys and values. It uses Elm Tasks for storage IO.

It also provides a Subscription to localstorage events.

Installing the beta version

Since this module is not available as a package you'll have to use it from source. See the example/elm-package.json file for the necessary configuration. Even the repository name has to match for the native code to build.

Another way is to "self publish" this module using elm-ops-tooling. See an example.

Credits

This work is derived directly from the LocalStorage.elm module in elm-flatris.

About

Elm effect manager for local storage

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Elm 82.4%Language:JavaScript 11.4%Language:HTML 5.2%Language:Makefile 1.0%