@mconnect/mccache
v0.8.0
Published
mConnect In-Memory key and key-hash Caching Package
Downloads
19
Maintainers
Readme
@mconnect/mccache
- In-Memory data/information cache for CRUD and other operations
- Simple Cache: key-value pair storage
- Hash Cache: key-hash-value storage
- See the test folder for different test cases / scenarios and usage
API - Simple Cache
- Simple Cache is key-value caching for number, string and object values
- It exposes the following functions: setCache(), getCache, deleteCache and clearCache
API - Hash Cache
- Hash Cache: key-hash-value storage for caching number, string and object values
- It exposes the following functions: setHashCache(), getHashCache, deleteHashCache and clearHashCache
Installation
npm i @mconnect/mccache