hamstorage

0.1.1 • Public • Published

Hamstorage

Hamster stuffing cheeks

Small, simple module to make using localStorage a little easier and safer.

  • Safe - falls back to object store if localStorage is not available.
  • Serializes/deserializes values by default.
  • As tiny as I can figure out how to make it (~ 0.5K gzipped).

Basically, this is what I keep creating in every frontend project to take the edges off localStorage.

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i hamstorage

    Weekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    11.8 kB

    Total Files

    12

    Last publish

    Collaborators

    • kjs3