sandpack-transpiler
v0.3.2
Published
A highly optimised transpiler for JSX/CJS and ESM built for the sandpack ecosystem based on Sucrase
Downloads
14
Readme
Sandpack Transpiler
This is a work in progress, documentation will be provided once we hit a stable release.
Benchmark results
Benchmarking: lodash
Testing against 132.153 LOC
Sandpack 0.12 seconds 1072139 lines per second
swc 0.68 seconds 193490 lines per second
esbuild 0.81 seconds 163682 lines per second
TypeScript 4.07 seconds 32465 lines per second
Babel 3.37 seconds 39181 lines per second
Benchmarking: typescript
Testing against 2.877.336 LOC
Sandpack 4.56 seconds 631048 lines per second
swc 15.63 seconds 184120 lines per second
esbuild 7.29 seconds 394802 lines per second
TypeScript 143.26 seconds 20085 lines per second
Babel 77.93 seconds 36924 lines per second