0.1.1 • Published 9 years ago

drpx-storage v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

drpx-storage

A minimal wrapper for mozilla localforage.

Why? Because it can store data in indexeddb, websql or localstore.

Install

With bower:

$ bower install --save drpx-storage

add to your module the dependence:

    angular.module('yourModule', ['drpxStorage']);

include the javascript library in your application:

<script src="bower_components/localforage/dist/localforage.nopromises.js"></script>
<script src="bower_components/drpx-storage/drpx-storage.js"></script>

With browserify:

$ npm install --save drpx-storage

and require it in your module:

    angular.module('yourModule', [require('drpx-storage')]);