Socket
Socket
Sign inDemoInstall

node-redis

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-redis

Lightweight, fast, Redis client.


Version published
Weekly downloads
1.6K
increased by11.56%
Maintainers
1
Install size
29.6 kB
Created
Weekly downloads
 

Readme

Source

node-redis

A redis client.

Usage

var redis = require('node-redis')

var client = redis.createClient(port, host, auth)

client.get('key', function (error, buffer) { ... })

client.multi()
client.lrange('key', 0, -1)
client.lrange('key', [0, -1])
client.exec(function (error, result) { result[0]; result[1] })

client.subscribe('channel')
client.on('message', function (buffer) { ... })
client.on('message:channel', function (buffer) { ... })
client.unsubscribe('channel')

client.end()

FAQs

Last updated on 12 Jun 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc