0.1.12 • Published 9 years ago

taky-redis-members v0.1.12

Weekly downloads
188
License
-
Repository
github
Last release
9 years ago

taky-redis-members

install

using npm

npm i taky-redis-members --save

example

Members = require 'taky-redis-members'

m = 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' ]
0.1.12

9 years ago

0.1.11

9 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago