swc-project / swc-node

Faster ts-node without typecheck
MIT License
1.72k stars 71 forks source link

How to run via npx #676

Closed cjz9032 closed 2 weeks ago

cjz9032 commented 1 year ago

I guess npx is for most scenario, but I can't find the support of it.

lucianmachado commented 1 year ago

@cjz9032 I got the same issue and made a simple wrapper try running npx swc-run hello.ts

yeliex commented 4 months ago

it is unnecessary. just run with node https://github.com/swc-project/swc-node?tab=readme-ov-file#usage