npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cascon-node

v0.0.7

Published

Collaborative whiteboard app

Downloads

8

Readme

Cascon 2015 Demo


A collaborative whiteboard written in NodeJS

Install

You may install the package using npm install command:

npm install cascon-node

Dependencies

  • express.io - https://www.npmjs.com/package/express.io
  • appmetrics-dash - https://www.npmjs.com/package/appmetrics-dash

Within the cascon-node directory, use npm install command in order to install dependencies listed in package.json:

npm install

Server

You will need to implement the server.js file.

Implement all of the @TODO comments We use the express.io module in order to communicate between the client and server. Server side functionality needs to be implemented here. As http requests are received you will need to implement different methods in order to correctly respond to them.

SERVER OBJECTIVES:

  • We need to recognize when a client is connecting to the server and serve them the client.html file.
  • We need to create the correct functionality when clients connect and disconnect
  • We need to route different events that are emitted by the clients and broadcast them accordingly.
  • The server must be made aware of other directories and files.
  • The server must listen to the specified port

Server Solution

you can find a fully implemented server.js file in server_solution\server.js refer to this file if you are completely stuck.

client.html

The client.html file is the front end client side html portion of the demo. it uses different javascript files such as:

  • Jquery
  • Socket.io
  • jscolor/jscolor.js
  • lib/room_selector.js
  • lib/draw.js

draw.js

This is the file found in the lib directory. Draw.js is where any client-side functionality, including the drawing functions are implemented. Events and data are emitted from here and given to the server to broadcast. Events that are broadcasted by the server are also received here.

Fake Connections

Fake connections directory contains a seperate server which creates multiple connections and emits many draw events. This is used to show a spike in memory use.