@amnesia-js/express-cache
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@amnesia-js/express-cache

Short Description: A library to help express suffer from Amnesia.

Long Description: This library provides middleware to help express cache responses using AmnesiaDB

Example:

import { CacheMiddlewareFactory } from '@amnesia-js/express-cache';

let acm = new CacheMiddlewareFactory();
acm.connect({ port: 4224 }) // Connecting to default port and host

app.use(acm.getMiddleware({ nfetch: 2 }));  // Attaching middleware

Package Sidebar

Install

npm i @amnesia-js/express-cache

Weekly Downloads

7

Version

1.1.1

License

AGPL-3.0-or-later

Unpacked Size

59.5 kB

Total Files

12

Last publish

Collaborators

  • nikhilcodes