systemic-redis

3.0.2 • Public • Published

systemic-redis

A systemic redis component

⚠️ Important notice

Upgrading from version 2.0.1 to versions 2.1.0, 2.1.1 or 2.2.0 is discouraged because the versioning is not correct and there are breaking changes that may break your application.

Please, upgrade directly from version 2.0.1 to version 3.0.0, or keep using version 2.0.1.

Usage

const System = require('systemic')
const redis = require('systemic-redis')

new System()
    .configure({
        redis: {
            url: 'redis://127.0.0.1/1'
        }
    })
    .add('logger', console)
    .add('redis', redis()).dependsOn('config', 'logger')
    .start((err, components) => {
        // Do stuff with components.redis
    })

Readme

Keywords

Package Sidebar

Install

npm i systemic-redis

Weekly Downloads

166

Version

3.0.2

License

ISC

Unpacked Size

13.6 kB

Total Files

17

Last publish

Collaborators

  • cressie176
  • ulisesgascon
  • feliun
  • guidesmiths_bot