0.8.0 • Published 5 months ago

@mconnect/mccache v0.8.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@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