Skip to content

Deal with structures in Redis like local objects.

Notifications You must be signed in to change notification settings

jreina/redis-objects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redis Objects

Interact with Redis structures as local objects

Installing

npm i @johnny.reina/redis-objects

Usage

const { RedisObjects } = require('@johnny.reina/redis-objects');
const Redis = require('ioredis');

interface Person {
    name: string;
    age: number;
}

const redis = new Redis();
const factory = new RedisObjects(redis);

const list = factory.getList<Person>('people');
// TODO - Docs

About

Deal with structures in Redis like local objects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published