localForage-getItems
Adds getItems method to localForage.
Requirements
- localForage v1.4.0+
- for earlier versions of localforage, please use the v1.1.x releases
Installation
npm i localforage-getitems
jsperf links
API
Just like getItem()
but you can pass an array with the keys that need to be retrieved.
var keys = 'asdf''asap''async';localforage;
Invoking getItems()
without arguments (or with null
as the first argument) will retrieve all the items of the current driver instance.
localforage;// or by using callbackslocalforage;