Shim/polyfill for IDBObjectStore.getAll, IDBIndex.getAll, IDBObjectStore.getAllKeys, and IDBIndex.getAllKeys
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
test IDBIndex.getAllKeys should return primary keys, not index keys - fixes Aug 14, 2018
.gitignore Unit tests courtesy of fake-indexeddb, and support for the new count … Feb 6, 2016
.travis.yml Forgot file! Feb 6, 2016
IndexedDB-getAll-shim.js Remove dead code Aug 14, 2018
LICENSE.txt Rename Jun 30, 2018
TODO Seems to work Sep 3, 2012
example.html Indent with spaces, not tabs. Sep 3, 2012
package.json 1.3.5 Aug 14, 2018

IndexedDB-getAll-shim Build Status

A shim/polyfill for supporting IDBObjectStore.getAll, IDBIndex.getAll, IDBObjectStore.getAllKeys, and IDBIndex.getAllKeys. Currently (February 2016) the latest versions of Firefox and Chrome have getAll built in, but other browsers do not.


Just include IndexedDB-getAll-shim.js on your page and you're good to go. To see an example of how it works, look in example.html.

If you're using CommonJS, you can install it through npm:

npm install indexeddb-getall-shim

and include it like this:


Unit Tests

npm test



MIT License