1.1.0 • Published 8 years ago

databae v1.1.0

Weekly downloads
6
License
MIT
Repository
github
Last release
8 years ago

DATABAE

a simple localStorage abstraction. There are many like it but this one is mine.


auto JSON.(stringify/parse)'s stuff so you don't have to care about squat


DOES NOT ACCEPT PLAIN STRING INPUT DO NOT EVER PUT A STRING INTO THE DATABAE Y WOULD U DO THAT LOCALSTORAGE JUST DOES THAT


npm install databae


general

  • get(key)
  • set(key, val)

numeric

  • inc(key, amt || 1)
  • dec(key, amt || 1)

arrays

  • push(key, el)
  • remove(key, el)

TODO: add whatever other methods i end up needing for this other project lol do some try/catch magics to test for error handling

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago