@prograpedia/ts-node
v1.0.0
Published
A modern drop-in replacement for ts-node
Readme
@prograpedia/ts-node
This is a modern replacement for the barely maintained ts-node.
How to use
First you need to remove ts-node from the project:
npm uninstall ts-nodeThen, install the replacement:
npm install @prograpedia/ts-nodeUse ts-node as always:
ts-node src/index.tsHopefully nothing breaks.
Options
@prograpedia/ts-node is just a wrapper that injects a script registering resolve and load hooks, previous to the execution of the program. All the other flags passed to ts-node will be passed to node.
other options accepted are -p, --project which will be parsed by ts-node and not passed to node.
