One of the difficulties with developing hybrid apps is passing data between views and persisting information between app sessions.
Minimongo is an implementation of a MongoDB like database that can run within the browser. The database can be stored in memory, in IndexedDB (browser based storage), or persisted with SQLite using the Cordova plugin for SQLite. The syntax is very simple with no SQL used just like with Mongo.
If you’re familiar with Meteor.js this implemenetation is based on the Minimongo database within Meteor, with some additional querying capabilities and easier packaging.
You can add Minimongo using npm with:
npm i minimongo
A great library for storing data within hybrid apps.