#2167·ts-node

Document Node.js native TypeScript execution as an alternative in supported scenarios

Author: joaopedrodcfCreated Dec 27, 2025Updated Dec 27, 2025

Desired Behavior

Node since 22.6.0 supports the --experimental-strip-types flag allowing to run node if the project doesn't use enums,etc

We could document as a warning that in situations where users don't need those features that node doesn't support they can just use node, instead of ts-node reducing the necessity for an external dependency.

Is this request related to a problem?

Users on these situations with a recent node version and without need enums, etc are using ts-node unnecessarily introducing one more dependency on their project