New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

get-redis-client

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-redis-client

Get Redis Client

latest
Source
npmnpm
Version
1.0.5
Version published
Weekly downloads
10
Maintainers
1
Weekly downloads
 
Created
Source

get-redis-client

npm version

Get Redis Client

About

Redis helper function to get Redis client. Useful in combination with do-redis-request.

Installation

npm install get-redis-client --save

Set Up

Your Redis URL can be set using the environment variable process.env.REDIS_URL. The default Redis URL is 127.0.0.1:6379.

Example

'use strict';

const getRedisClient = require( 'get-redis-client' );


(() => {

    const redisClient = getRedisClient();

    redisClient.quit();
})();

Keywords

get

FAQs

Package last updated on 26 Jul 2020

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