npm.io
1.0.2 • Published 8 years ago

default-socket.io-server

Licence
ISC
Version
1.0.2
Deps
7
Size
7 kB
Vulns
1
Weekly
0

Default socket.io server for Node.js

You absolutely need Node.js v6.0.0 or later or this won't work.

Install it from npm

Installing

Using npm:

$ npm install default-socket.io-server

Example

const http = require('http');
const IO = require('default-socket.io-server');
const router = require('node-socket.io-router').Router();

const app = IO({ server: http.createServer().listen(3000), router });

Support

Report bugs on the issue tracker

Keywords