@mconnect/mccache
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

@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

Package Sidebar

Install

npm i @mconnect/mccache

Weekly Downloads

20

Version

0.8.0

License

MIT

Unpacked Size

43.5 kB

Total Files

27

Last publish

Collaborators

  • abbeymart