All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to [Semantic Versioning(http://semver.org/spec/v2.0.0.html).
- Fix window defined
- Fix protect of close idb
- Fix protect set function passin value equal null
- use
stores
to change store cate
- Use new pattern to write logical
- Update package and use webpack
- expire time support params pass in
- Add
src
to npm package
- Use localForage typing in local
- Fix some typing
- Add auto clear keys when the store exceeded quota
- Use localStorage to store meta info, and use indexeddb to store value
- Some functions use utf-16 to replace utf-8
- export typed
- Add
getExpiredKeys
,isOverLength
,getOverLengthKeys
,getOldKeys
,getSortedItems
API - Add
oldItemsCount
option
- Add
gets
,keys
,has
API - Add compress option
- Rename
iterate
toeach
API - Rename
setItem
toset
API - Rename
getItem
toget
API - Rewrite
each
to support LRU
- Remove
autoClear
option
Init project and add all files.