@jswork/app-cache

1.0.2 • Public • Published

app-cache

An app scripts cache solution based on localStorage.

version license size download

snapshot

installation

npm i @jswork/app-cache

usage

AppCache.load([
  '//cdn.bootcss.com/antd/3.1.0/antd.min.css',
  '//cdn.bootcss.com/zepto/1.0rc1/zepto.min.js',
  '//cdn.bootcss.com/q.js/1.4.1/q.min.js'
]);

resources

lt ie9 polyfill

<!--[if lt IE 9]>
<script type="text/javascript" src="https://cdn.polyfill.io/v2/polyfill.js?features=Array.prototype.indexOf,Array.prototype.filter,Object.keys"></script>
<![endif]-->

license

Code released under the MIT license.

Package Sidebar

Install

npm i @jswork/app-cache

Weekly Downloads

93

Version

1.0.2

License

MIT

Unpacked Size

14.9 kB

Total Files

5

Last publish

Collaborators

  • afeiship