2.0.0 • Published 7 years ago

range-emitter v2.0.0

Weekly downloads
35
License
MIT
Repository
github
Last release
7 years ago

range-emitter

range emitter using levelup ranges.

Inspired by multileveldown

js-standard-style build status npm downloads Greenkeeper badge

Sauce Test Status

methods

var re = require('range-emitter')

re.subscribe (range, cb, [resend=false])

range in the format of ltgt

cb callback(key, type) type can be put or delete

resend if true will resend the subscriptions to the server

re.subscribe (key, cb, [resend=false])

key single key to subscribe to

cb callback(key, type) type can be put or delete

resend if true will resend the subscriptions to the server

re.subscribe (cb, [resend=false])

subscribe to all keys

cb callback(key, type) type can be put or delete

resend if true will resend the subscriptions to the server

re.unsubscribe (rangeOrKey, cb)

unsubscribe a range or key

re.publish (key, type)

2.0.0

7 years ago

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago