babelts

1.1.1 • Public • Published

babelts · NPM npm Tests

Use this to run TypeScript code using Babel.

This uses hard-rejection so that unhandled async errors cause the program to exit.

You may wish to use this if:

  • You want to write some scripts in TypeScript but not have a build step to compile them.
  • You use Babel to compile instead of TypeScript in other parts of your codebase.
  • You want to be able to run code without waiting for it to type check (which is how ts-node works).

Install:

yarn add --dev babelts

Use:

node --require babelts myFile.ts

Readme

Keywords

Package Sidebar

Install

npm i babelts

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

2.18 kB

Total Files

3

Last publish

Collaborators

  • dylanvann