This is a stripped down skeleton of a simple "framework" I made for working with Max for Live in TypeScript. No time for docs now, but see https://github.com/tomduncalf/livefader for an example of it in use.
tomduncalf/max-for-live-typescript-framework
A framework for building Max for Live devices with TypeScript (WIP!)
TypeScript