bogo

1.34.0 • Public • Published

bogo

Event Emitter wrapper for Web Sockets (for use in browsers)

Install

  npm install bogo

Usage

const bogo = require('bogo')(8081);

bogo.on('message', function(data) {
  bogo.emit('reply', {name:'message', data:'Hello from Client!!!11!!'});
});

Dependents (1)

Package Sidebar

Install

npm i bogo

Weekly Downloads

18

Version

1.34.0

License

ISC

Unpacked Size

36.2 kB

Total Files

5

Last publish

Collaborators

  • fantasyui.com