Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hemerajs/hemera-redis-cache
Use Redis with Hemera
https://github.com/hemerajs/hemera-redis-cache
cache hemera redis
Last synced: 3 days ago
JSON representation
Use Redis with Hemera
- Host: GitHub
- URL: https://github.com/hemerajs/hemera-redis-cache
- Owner: hemerajs
- License: mit
- Created: 2017-12-20T16:35:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T13:44:18.000Z (almost 7 years ago)
- Last Synced: 2024-04-25T03:22:22.039Z (9 months ago)
- Topics: cache, hemera, redis
- Language: JavaScript
- Size: 15.6 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hemera-redis-cache package
[![Build Status](https://travis-ci.org/hemerajs/hemera-redis-cache.svg?branch=master)](https://travis-ci.org/hemerajs/hemera-redis-cache)
[![npm](https://img.shields.io/npm/v/hemera-redis-cache.svg?maxAge=3600)](https://www.npmjs.com/package/hemera-redis-cache)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](#badge)This is a plugin to use [Redis](https://redis.io/) as caching layer with Hemera. Underlying driver [Node Redis](https://github.com/NodeRedis/node_redis)
#### Example
```js
const hemera = new Hemera(nats)
hemera.use(require('hemera-joi'))
hemera.use(require('hemera-redis-cache'))
```## Run Redis
```bash
$ docker-compose up
```## Dependencies
- hemera-joi