A simple interface to connect to a WebSocket in the broswer and send basic commands without server authentication.
Just for fun and learning purposes.
You can see it in action on the project's GitHub page.
- NPM as package manager
- NPM scripts to watch and build assets
- TypeScript as JavaScript superset
- Sass as CSS pre-processor
- Webpack for handling JavaScript's uglifying.
- WebSockets API as HTML5 feature
Run npm install to install development dependencies
Run npm run watch to start watch tasks (watch for TypeScript, JavaScript and Sass changes). Builds development assets.
Run npm run prod to build assets for production use
TypeScript documentation: https://www.typescriptlang.org/docs/home.html
Kraken WebSockets API documentation: https://docs.kraken.com/websockets-beta
MDN documentation for the WebSocket Web API: https://developer.mozilla.org/en-US/docs/Web/API/WebSocket