simple-cache-js

Simple cache class with get, set function

Usage no npm install needed!

<script type="module">
  import simpleCacheJs from 'https://cdn.skypack.dev/simple-cache-js';
</script>

README

Simple cache package for NodeJS

What is this?

Package for using cache in your nodejs application

How to install?

Install using npm install --save simple-cache-js

How to use?

Import: import Cache from 'simple-cache-js';

Initialize: const cache = new Cache();

All methods of this class are available:

cache.get
cache.set
cache.delete
cache.flush
cache.save
cache.delStartsWith