Faster Executor for TypeScript using @swc/core
npm i -D rscute
Run a TypeScript file directly:
npx rscute script.ts
await import()
to replace await execute()
import { execute } from 'rscute';
await execute(absolutePath);
Since rscute uses type: module, execution will be limited to ESM.
Supported extensions are .js, .ts, .mjs, .mts, .jsx, .tsx
rscute is MIT licensed.