ganapativs / pure-cache

Cache with confidence πŸŽ‰ Ultra fast & tiny in-memory JavaScript cache with near realtime cache expiry feature ⚑
MIT License
11 stars 0 forks source link
browser cache flash node pure speed ultra-fast

pure-cache

Cache with confidence πŸŽ‰

Ultra fast & tiny(around 1.28kb gzipped) in-memory JavaScript cache with near realtime cache expiry feature ⚑

Works in any JavaScript runtime(node or browser) ✨

MIT Licence Open Source Love Build Status npm version GitHub version Greenkeeper badge

Table of Contents

Install

NPM

npm install pure-cache

Yarn

yarn add pure-cache

UMD build

<script src="https://unpkg.com/pure-cache/dist/pure-cache.umd.js"></script>

Basic usage

Checkout API for advanced usage.

Events

Events are triggered when operations like add, get, remove, clear are performed on cacheStore or when the cache expires.

API

Contribute

Thanks for taking time to contribute, please read docs and checkout src to understand how things work.

Reporting Issues

Found a problem? Want a new feature? First of all see if your issue or idea has already been reported. If don't, just open a new clear and descriptive issue.

Submitting pull requests

Pull requests are the greatest contributions, so be sure they are focused in scope, and do avoid unrelated commits.

Credits

License

MIT License Β© Ganapati V S