Closed jameshfisher closed 2 years ago
node -r @swc-node/register index.ts
See https://github.com/Brooooooklyn/swc-node/tree/master/packages/register
Oh perfect, thanks! 🚀
(I suggest putting this at the top of the https://github.com/Brooooooklyn/swc-node README, since I expect most people are finding this project as an alternative to ts-node)
Sorry if this is a stupid question, but I'm looking to do something like:
I've looked and it seems like the package doesn't include an executable at all. I'm expecting an executable because it advertises itself as an alternative to
ts-node
.