localforage-cordova-sqlcipher-driver
Version:
SQLite driver for Cordova apps using localForage.
20 lines (12 loc) • 1.05 kB
Markdown
# localforage-cordova-sqlcipher-driver
[](https://www.npmjs.com/package/localforage-cordova-sqlcipher-driver)
SQLite driver for [Cordova](https://cordova.apache.org/) apps using [localForage](https://github.com/mozilla/localForage).
## Requirements
* [Cordova](https://cordova.apache.org/)/[ionic](http://ionicframework.com/)
* [Cordova SQLite storage plugin](https://github.com/litehelpers/Cordova-sqlite-storage/) or [Cordova SQLite Plugin 2](https://github.com/nolanlawson/cordova-plugin-sqlite-2)
* [localForage](https://github.com/mozilla/localForage) v1.5.0
## Install Dependencies
* install Cordova-sqlite-storage plugin `cordova plugin add https://github.com/litehelpers/Cordova-sqlite-storage.git`
* install localforage-cordova-sqlcipher-driver
* via npm with: `npm i --save localforage localforage-cordova-sqlcipher-driver` (ionic 2 users might prefer ths one)
* via bower with: `bower install --save localforage localforage-cordova-sqlcipher-driver`