@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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.12latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.12
1.1.01
1.0.41
1.0.31
1.0.21
1.0.11
1.0.01

Package Sidebar

Install

npm i @amnesia-js/express-cache

Weekly Downloads

8

Version

1.1.1

License

AGPL-3.0-or-later

Unpacked Size

59.5 kB

Total Files

12

Last publish

Collaborators

  • nikhilcodes