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