singular-redis
v0.1.1
Published
Redis module for singular application
Downloads
3
Maintainers
Readme
Singular Redis
Redis factory for singular application.
Install
Via npm:
npm i singular-redis
Usage
Usage example:
const Singular = require('singular');
const app = new Singular({
config: {
redis: {
host: 'localhost',
port: 6379,
},
},
});
app.module(require('singular-redis'));
app.inject('redis', (redis) => {
// ...
});
License
MIT.