Skip to content

sleeper/poussr-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poussr-js

Poussr-js is a small Javascript library, that allows for easy interaction with Poussr.

Setup

Each instantiated Poussr object allows for connection to a Poussr channel (after calling the 'connect' method).

Client can then choose to subscribe to some event through the 'subscribe' method.

var mypoussrobj = new Poussr(host, port, channel);
mypoussr.connect();
mypoussrobj.subscribe('event:tofollow', function(data) { /* the callback */ });

About

Javascript client for Poussr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published