Offline First Javascript Libraries

I wanted to keep track off all the offline first javascript libraries I’ve been seeing and evaluating.

IndexedDb API

IndexedDB

A full database supported by most major browsers.

DexieJS

DexieJS A well designed, thin javascript wrapper around IndexedDb that makes IndexedDB easier to use cross-platform

PouchDb / CouchDb

PouchDB

PouchDb is a fully JS compliant offline db that is backed by Indexeddb. It syncs with CouchDB implementations and handles conflicts fairly well. This is the only solution that I saw that handles most offline issues out of the box. However, it does add more complexity as you now have to host a CouchDB server.

Realm

Realm

An offline-first database that is mostly designed for mobile, but not web.

GunJS

GunJS

An open source offline first database with javascript clients. Focuses on simplicity of API.

Firebase

Firebase

Has support for offline - not offline first, but can handle network disruptions.

Parse

Parse

Open source platform similar to Firebase in that it can handle network disruptions, but is not designed for offline-first.

Find a problem or mistake? File a bug or better yet, submit a pull request