Krypty
Krypty is an express middleware helping you to prevent running consuming APIs multiple times.
🐌 Without using the library, the response time
will be like:
🚀 Using the library, the response is much better:
See it in action:
🚀🚀 Using Redis strategy is even better. In the demo bellow, we start an express app in two different ports (3000
and 3001
), then we launch a request that takes 10 seconds
multiple times.
Install
npm install --save krypty
How to use
const krypty = ;const express = ;const app = ; app; app;
Using Redis Strategy
const redis = ;const express = ;const createClient = ; const app = ; app; app;
License
MIT © Mohamed IDRISSI