xtsr
v0.2.2
Published
A CLI program that runs your Typescript file directly in Nodejs. IMMEDIATLY ⚡️
Downloads
9
Readme
XTsr
EXtreme-fast Typescript Runner.
A CLI program that runs your Typescript file directly in Nodejs. IMMEDIATLY. ⚡️
Install
npm install -g xtsr
Usage
Run typescript file simply
// sample.ts
console.log('Hello world')
> tsr sample.ts
Hello world
Run typescript file with arguments
// sample.ts
console.log(process.argv.slice(2))
> tsr sample.ts --foo --bar=baz
[
'--foo',
'--bar=baz'
]