typescript-run

Run TypeScript files at lightning speed ⚡️ esbuild ftw! [deprecated]

Downloads
37
Stars
51
Committers
2
typescript-run - v0.1.0 - Forward parent parameters Latest Release

Published by saurabhdaware about 3 years ago

  • First minor release (should be usable now in small applications or for testing out typescript)
  • Forward parent arguments from cli

For this command-

typescript-run example.ts randomstring anotherrandomstring

process.argv will contain following output

[
  '/Users/saurabhdaware/.nvm/versions/node/v15.9.0/bin/node',
  '/Users/saurabhdaware/Desktop/projects/libraries/ts-run/example/.temp-bundle.ts-run.js',
  'randomstring',
  'anotherrandomstring'
]

Note: the example.ts is not forwarded because while executing script, we run the bundled version which is a javascript file

Package Rankings
Top 7.13% on Npmjs.org
Related Projects