@indepthwebsolutions/cache-layer
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Indepth Solutions - Server Cache Layer

Will temporary store values on server memory while the server is running.

Usage

import { default as cacheLayer } from '@indepthwebsolutions/cache-layer';
cacheLayer.set('key-string', 'value-any');
const cachedValue1 = cacheLayer.get('key-string'); // 'value-any'
const cachedValue2 = cacheLayer.get('not-existing'); // undefined

Package Sidebar

Install

npm i @indepthwebsolutions/cache-layer

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

1.65 kB

Total Files

4

Last publish

Collaborators

  • entrpyc