swc-jit
v0.2.0
Published
Just in time swc transpiler for node's experimental loader functionality.
Downloads
1
Maintainers
Readme
swc-jit
Use typescript in node without having to transpile beforehand or use ts-node.
It even has source-map support.
Install
npm install swc-jit
Usage
node --experimental-loader swc-jit --enable-source-maps index.ts
Testing
node --experimental-loader ./index.mjs index.ts