1.0.8 • Published 3 years ago

easy-redis-connector v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

EasyRedisConnector

EasyRedisConnector is a Node.js library that provides a convenient way to connect to Redis and perform common operations like getting, setting, updating, and removing keys.

Installation

npm install easy-redis-connector
or
yarn add easy-redis-connector

Usage

const EasyRedisConnector = require('easy-redis-connector');

// Create an instance of EasyRedisConnector
const options = {
  // Redis connection options
  // The settings that the async-redis library requests for the connection.
}
const redisConnector = new EasyRedisConnector(options)

// Get
await redisConnector.get('myKey')

// Set
await redisConnector.set('myKey', { name: 'Easy Redis Connector' })

// Update
await redisConnector.update('myKey', { name: 'Easy Redis Connector 2' })

// Delete
await redisConnector.remove('myKey')

Good Works.

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago