Issue
I am looking for a CLI tool that can run a .ts file directly, without writing to a file. That would mean it transpiles in memory, and then somehow passes that data to the node.js executable. Does such an executable exist?
Solution
Does such an executable exist?
Yes. Its called ts-node
: https://github.com/TypeStrong/ts-node
Answered By – basarat
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0