npm

This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

taky-redis-members

0.1.12 • Public • Published

taky-redis-members

install

using npm

npm i taky-redis-members --save

example

Members = require 'taky-redis-members'
 
= new Members {
  redis: redis_instance
  prefix: 'memberships'
  cache_time: '10 mins'
}
 
# add multi 
m.add 'friends'['Doug','Chris','Cody']->
 
  # add one 
  m.add 'friends''John'->
 
    # get list 
    m.list 'friends'(e,friends) ->
      console.log /friends/
      console.log friends
 
      #/friends/ 
      #[ 'Cody', 'Doug', 'Chris', 'John' ] 

Package Sidebar

Install

npm i taky-redis-members

Weekly Downloads

5

Version

0.1.12

License

none

Last publish

Collaborators

  • taky