dragonnodejs-redis

4.0.0 • Public • Published

DragonNode.js Redis

Bundle with services to develop applications with Redis

  • Initialize client service with the Redis connection
  • Opportunity to set and get values with JSON encoding
  • Initialize cache service to abstract the caching logic with Redis
  • Let the keys being arrays and returns the first found value

Installation

  • Run npm install dragonnodejs-redis --save
  • Add the bundle to the "app.js":
let modules = [
    [require('dragonnodejs-redis'), [
        ['client', { createClient: [process.env.REDISCLOUD_URL] }],
        ['json'],
        ['cache', { disabled: process.env.CACHE_DISABLED }],
        ['recursive']
    ]]
];

Readme

Keywords

none

Package Sidebar

Install

npm i dragonnodejs-redis

Weekly Downloads

1

Version

4.0.0

License

MIT

Last publish

Collaborators

  • dragonnodejs