Skip to content

shlomisas/rediss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Friendly Redis Toolkit

NPM version Downloads Build Status node

Use Redis' commands straight-forward, with no need to remember the complicated Redis API in mind.

Motivation

let redisList = new RedisList('mykey');

let index = await redisList.push('str1');
let data = await redisList.pop();

console.log(index); // Will print 0
console.log(data); // Will print 'str1'

Contribute

Since wrap all Redis commands can take long time, you're welcome to contribute ;)

Support

  • Node > 10
  • Tested on Redis 2.8.2400

Install

npm i rediss -S

Docs

Data types

Note: objects can save mixed JavaScript data, it's means that when saving a value will fetch exactly as saved - with the same type, objects will internally JSON.stringify before save and JSON.parse after fetch

Errors

RedisError

A readonly error that contain the reason something has failed

About

User Friendly Redis Toolkit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •