rediss

3.2.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i rediss

Weekly Downloads

5

Version

3.2.0

License

ISC

Unpacked Size

14.2 kB

Total Files

15

Last publish

Collaborators

  • shlomi
  • imatveev