0.0.12 • Published 2 years ago
@involves/redis2-lib v0.0.12
@involves/redis2-lib
Install
npm install @involves/redis-lib2 --save
Example usage
const express = require('express')
const { RedisMiddleware } = require('@involves/redis2-lib')
const app = express()
app.use(RedisMiddleware.setRedisIntegration)
app.get('/:id', (req, res) => {
const record = await req.integrations.redis.get(req.query.id)
res.send(record)
})
How to run the tests
At the terminal, just type the command:
make test