MSL Notebook is a TypeScript application built with web components based on Lit. It uses the MSL.js Library to connect with WebSocket servers and send and receive asynchronous messages using a "harness" which allows them to be tracked and kept in order as though they were synchronous.
- A webserver that can transpile TS. I recommend Vite.
- An MSL engine to test MSL expressions.
- Download the entire repository to any directory.
- Switch to that directory and run
npx vite
or your chosen webserver against index.html. MSL Notebook is an SPA.
See full instructions.
MSL Notebook uses the MSL.js library to provide message sychronicity and control for websockets. MSL.js has no dependencies and can also be used separately from MSL Notebook.