Miss any of our Open RFC calls?Watch the recordings here! »

transporter.io

0.0.2 • Public • Published

transporter.io

a transporter transport system over websockets

Usage

It's intended to be quite easy:

var dio = require('../')
  , growl = require('transporter.io-growl');

dio.transports.push(growl);
dio.connect('ws://yourWebsocketServer');
dio.subscribe('testEvent');

It doesn't have any security layer yet but it's in my plans to add both bcrypt, BSON and a simple key/secret auth method.

Transports

For the time being a transport is only an object with a publish function that handles the data received by the socket. It's quite easy to make your own one so get creative! Check the growl transport for an example.

Credits

Made with ❤️ by Leandro Ostera

Keywords

none

Install

npm i transporter.io

DownloadsWeekly Downloads

8

Version

0.0.2

License

none

Last publish

Collaborators

  • avatar