cordova-plugin-cache-json

1.0.2 • Public • Published

cordova-plugin-cache-json

Cache content into json files

把文字内容缓存至json文件

Usage

Add the plugin

cordova plugin add cordova-plugin-cache-json  

Methods

like localStorage's methods

  • CacheJson.setItem(key, content, callback)

  • CacheJson.getItem(key, callback)

  • CacheJson.removeItem(key, callback)

  • CacheJson.clear(callback)

Package Sidebar

Install

npm i cordova-plugin-cache-json

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • vaenow