0.1.2 • Published 3 years ago
modernscript v0.1.2
modernscript
Run modern javascript/typescript without thinking about it.
This sets up some sucrase hooks to process typescript and import
/export
statements, including in node_modules
.
Usage
Use the require hook:
node -r modernscript/register myscript.ts
Use runjs
command
runjs myscript.ts