🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

runsv-redis

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runsv-redis

runsv redis service wrapper

latest
Source
npmnpm
Version
3.0.4
Version published
Maintainers
1
Created
Source

pipeline status coverage report

runsv Redis service

This is a service wrapper around the excellent node-redis for runsv.

Install

$ npm install runsv-redis

Usage with node-redis >= v4

import redis from 'redis';
import * as runsv from 'runsv';
import {create} from 'runsv-redis';
const nodeRedisOptions = {
    url:'...'
};
const redis = create(nodeRedis, nodeRedisOptions);

runsv.addService(redis);

await runsv.start();

const redisClient = runsv.getClients().redis;

await redisClient.hmset(["key", "foo", "bar"]);

Configure node-redis

You can configure your connection to Redis the same way you you do it with node-redis.

FAQs

Package last updated on 12 Sep 2025

Did you know?

Socket

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