1.0.6 • Published 3 years ago

scroll.io v1.0.6

Weekly downloads
5
License
ISC
Repository
github
Last release
3 years ago

scroll.io

This module allows to share the same document and events scroll between all connected users. Scroll.io use "debug" module with "scroll" namespace

Updates

2016/07/18 now support for ratio screen!. New examples. Fixes Doc.

install

$ npm install scroll.io

Run examples

Simple http server

$ cd scroll.io
$ node examples/http.js

open you browser and goto http://localhost:3058

Using own socket.io instance and redis (for balance).

Balance

If you want use AWS Balance, this is should be able using nginx: http://socket.io/docs/using-multiple-nodes/

example

const scrollio = require("scrollio");
const http = require("http");
const socket = require('socket.io');
const fs = require("fs");

const server  = http.createServer((req, res)=>{
    res.end(fs.readFileSync("./public/index.html"));
});

new scrollio(server);
server.listen(3000);
1.0.6

3 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago