wedis

0.1.5 • Public • Published

wedis

NPM Version NPM Downloads Build Status Test Coverage

simple redis implementation as node lib

Installation

npm install wedis

Get Started

const Wedis = require('wedis')
const client = new Wedis

client.setAsync('key', 'value')
client.getAsync('key').then(value=>console.log(value))
client.zaddAsync('key', 'score', 'value')
client.hsetnxAsync('key', 'sub-key', 'value')

// gracefully shutdown
client.store.stop().then(()=>{console.log('Stopped')})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.5
    0
    • latest

Version History

Package Sidebar

Install

npm i wedis

Weekly Downloads

5

Version

0.1.5

License

ISC

Unpacked Size

14.5 kB

Total Files

11

Last publish

Collaborators

  • devfans