1.0.8 • Published 7 months ago

easy-redis-connector v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months 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

7 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago