0.0.1 • Published 9 years ago
socket.io-txt v0.0.1
socket.io-txt
Socket.IO Adapter implementation by Textfile (for practice)
Example
var io = require('socket.io')(http);
var txt = require("socket.io-txt");
io.adapter( txt({ name: "session.txt" }) );
Options
The following options are arrowed:
name
:the name of text file which you use.
Install
npm install socket.io-txt
License
MIT
0.0.1
9 years ago