1.0.0 • Published 4 years ago

vanillish v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

vanillish

What is it?

A brand new package project! It's a CRUD wrapper around @brightsole/vanillite.

It has a number of methods that make setting, getting, querying, and deleting data a dream!

It's ready for you to add some functionality, and publish it!

How to use it?

methodNameargsreturn
setItemStorageItemPromise(StorageItemWithId)
getItemidPromise(StorageItemWithId)
getAllnonePromse(StorageItemWithId)
deleteItemidPromise(none)
deleteAllnonePromise(none)
queryQueryObjectPromise(StorageItemWithId)

TODO:

High priority

  1. type the query object
  2. test it
    1. create
    2. read
    3. update
    4. delete
    5. very thoroughly test querying, especially deep comparisons like 'dingle.bloop.floobo': ['niner']
  3. UNBREAK THE STORAGE LIB - we stopped allowing a variable storage lib to screw down the types and get the dep working. I'd like that unbroken so that you could instantiate it with localforage to remove the caching, or vanillite to optimise speed with an in-memory cache

Low priority

  1. refactor methods to only be CRUD, no named createAll, just look at inputs for what to do
  2. allow for querying using regex queryParam properties :sparkles:
1.0.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.0

4 years ago