An object-oriented abstraction of PouchDB using Backbone models and collections