0.1.2 • Published 8 years ago

leitstand-socket.io v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

leitstand-socket.io NPM version Build Status Dependency Status

socket.io plugin for Leitstand

Installation

First, install leitstand-cli, if you haven't done yet. Then install the plugin as dependency into your Leitstand app via:

npm install leitstand-socket.io --save

Usage

leitstand
  .plugin('socket.io', {
    settings: {
      uri: '<URI>'
    }
  })
  .callback(function () {
    leitstand.widget('sockets-demo', {
      plugin: 'socket.io',
      events: 'example'
    });
  });

API

socket.io-client

License

MIT © Sebastian Krüger