broadcastmouseevents

1.0.1 • Public • Published

BroadCast Mouse Position

NodeJS experiment to broadcast your mouse position, mouse click and scroll to all the other clients.

Requirements

  • Express
  • Socket.io
sudo npm install

Demo

To see the effect open this link in multiple browser windows

Broadcast Mouse position Demo

How to start

All experiments can be start with the broadCastMousePosition.js

sudo nodejs broadCastMousePosition.js

How to start this chat as an service:

sudo forever start -l forever.log -o out.log -e err.log -a broadCastMousePosition.js

Problems and fixes

When you got problems with ubuntu server because it can't find the node command execute the following line:

sudo update-alternatives --install /usr/sbin/node node /usr/bin/nodejs 99

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i broadcastmouseevents

    Weekly Downloads

    0

    Version

    1.0.1

    License

    BSD-2-Clause

    Last publish

    Collaborators

    • dutchprogrammer