Neoteric Plumbing Mishap

    zetta-event-stream

    0.0.2 • Public • Published

    Zetta Event Stream

    npm install zetta-event-stream

     
    var ZettaEvent = require('zetta-event-stream');
     
    var c = new ZettaEvent('ws://localhost:3000/events');
    c.on('open',function(){
      console.log('on open')
     
      c.subscribe('_logs',function(log){
        console.log(log.time,log.msg)
      });
      
    });
     

    Keywords

    none

    Install

    npm i zetta-event-stream

    DownloadsWeekly Downloads

    3

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • adammagaluk
    • kevinswiber
    • mdobs