@plugjs/tsrun
TypeScript icon, indicating that this package has built-in type declarations

0.5.48 • Public • Published

A simple TypeScript runner

Used extensively by the PlugJS Build System, tsrun is an extremely simple (but fast) script runner for TypeScript supporting EcmaScript modules and CommonJS modules.

Used as a command line utility, it offers few options:

tsrun [--options] script.ts [...script args]

Options:

    -h --help       Help! You're reading it now!
    -v --version    Version! This one: 0.4.0!
    -e --eval       Evaluate the script
    -p --print      Evaluate the script and print the result
       --force-esm  Force transpilation of ".ts" files to EcmaScript modules
       --force-cjs  Force transpilation of ".ts" files to CommonJS modules

Readme

Keywords

Package Sidebar

Install

npm i @plugjs/tsrun

Weekly Downloads

297

Version

0.5.48

License

Apache-2.0

Unpacked Size

491 kB

Total Files

25

Last publish

Collaborators

  • pfumagalli