An open API service indexing awesome lists of open source software.

https://github.com/rumkin/singular-redis

Redis factory for singular app
https://github.com/rumkin/singular-redis

Last synced: about 1 year ago
JSON representation

Redis factory for singular app

Awesome Lists containing this project

README

          

# Singular Redis

Redis factory for singular application.

## Install

Via npm:

```bash
npm i singular-redis
```

## Usage

Usage example:

```javascript
const Singular = require('singular');

const app = new Singular({
config: {
redis: {
host: 'localhost',
port: 6379,
},
},
});

app.module(require('singular-redis'));

app.inject('redis', (redis) => {
// ...
});

```