instant-connection
v0.5.0
Published
A simple connection lib for instant.
Downloads
16
Readme
instant-connection
make connections to instant :D.
this is a sister of the euphoria-connection library and follows the same format.
install
simply download it from npm.
$ npm install instant-connection
usage
Require it and you can proceed to create new connections :D.
const instantConnection = require('instant-connection')
const connection = new instantConnection()
connections will default to the &test room. Once you've created a connection you can send data over it with the send() method.
tests
$ npm test
license
MIT © Kalium