2.0.0 • Published 5 years ago

range-emitter v2.0.0

Weekly downloads
35
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.20

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago