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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    0
  • 0.1.0
    0
  • 0.0.2
    0
  • 0.0.1
    0

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