GoJS
How about some type for JS?
How to get really strong code reuse in TS
interfaces + classes
To Run Single Files
Compile first: tsc <path/to/ts-file>
Run in node: node <path/to/compiled-js-file>
if using ts-node
Compile and run: ts-node <path/to/ts-file>