The standard transpiler for tscircuit with other utilities and a server.
tscircuit has a standard transpilation system (basically React + Typescript babel presets)
The package encapsulates the transpilation system so that it can easily be used in different contexts, e.g. the browser, vs code extensions, local development.
The compiler can also output tscircuit soup which is the result of rendering tscircuit code, allowing browsers or other clients to avoid unsafe eval.
The compiler supports imports of community tscircuit repos without any additional configuration.
To install dependencies:
bun installTo run:
bun run cli.ts