New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@foundriesio/redis-client

Package Overview
Dependencies
Maintainers
2
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foundriesio/redis-client

A redis client for *.foundries.io web apps

  • 4.4.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-74.36%
Maintainers
2
Weekly downloads
 
Created
Source

A redis client wrapper, used on *.foundries.io web applications.

It is based on the redis nodejs client.

How to use it

import redisClient from '@foundriesio/redis-client';

return redisClient();

Configuration

Via a JSON file with the following structure:

{
  "redis": {
    "host": "The redis host, defaults to localhost",
    "port": "The redis port, defaults to 6379",
    "password": "The redis access password"
  }
}

The JSON file can be defined using the FIO_CONFIG_FILE environment variable:

export FIO_CONFIG_FILE="/path/to/config.json"

Or using the following environment variable:

  • FIO_REDIS_HOST: the redis host, defaults to localhost (string).
  • FIO_REDIS_PORT: the redis port, defaults to 6379 (number).
  • FIO_REDIS_PASSWORD: the redis password, not set by default (string).

Keywords

FAQs

Package last updated on 30 Jan 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc