hokan

Local Storage for Dojo

npm install hokan
1 downloads in the last week
4 downloads in the last month

hokan

hokan is a package of AMD modules that provide tools to work with persistent local storage. In particular it provides a Dojo Store API interface to persistent local storage.

compliant

Requirements

The modules provided here should work with Dojo Core 1.8 or later.

License

This code is licensed under the "New" BSD License.

Installation

hokan can be installed via cpm, volo or npm, or simply downloaded.

Via cpm:

$ cpm install hokan

Via volo:

$ volo add kitsonk/hokan

Via npm:

$ npm install hokan

Modules

Please refer to the documentation for each of the modules for specifics of their usage:

  • LocalStorage - A Dojo Store API interface to DOM Storage's localStorage
  • IndexedDB - A Dojo Store API interface to IndexedDB
  • idbQueryEngine - A Dojo Store API query engine that supports querying IndexedDB cursors
  • util - Utility functions for hokan

Testing

Unit tests require the D.O.H. installed and are located in the tests path.

npm loves you