website/docs/performance.md
These tricks will make ts-node faster.
It is often better to typecheck as part of your tests or linting. You can run tsc --noEmit to do this. In these cases, ts-node can skip typechecking, making it much faster.
To skip typechecking in ts-node, do one of the following:
transpileOnly to skip typechecking without swcIf you absolutely must typecheck in ts-node:
require() which may trigger repeated typechecking; prefer import--files; one may be faster depending on your projecttsc --showConfig; make sure all executed files are includedskipLibChecktypes array to avoid loading unnecessary @types