npm

Need private packages and team management tools?Check out npm Orgs. »

stations

1.0.0 • Public • Published

stations Build Status

It's a radio! It's a pub/sub!

Radio docs Channel docs

var Radio = require("stations")
 
var radio = new Radio()
 
radio.subscribe("name", function listener(a, b, c){})
radio.publish("name", a, b, c)
radio.unsubscribe("name", listener)
radio.peek("name", listener)
radio.channelExists("name")
radio.deleteChannel("name")
radio.emptyChannel("name")
radio.hasSubscribers("name")
radio.isSubscribed("name", listener)
radio.channel("name")

install

npm i stations

Downloadsweekly downloads

35

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability