Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

ts-babel

6.1.7 • Public • Published

TypeScript allows you only to set target. If you target to es6, no way to compile rest parameters to ES5. But you have to do it because Node support ES6 features step by step and some features are behind flags.

So, Babel is used to transform code.

Run ts-babel to compile. Compiler options are taken automatically from your tsconfig.json. Specify babel configuration in the package.json.

Related

Install

npm i ts-babel

DownloadsWeekly Downloads

293

Version

6.1.7

License

MIT

Unpacked Size

32.1 kB

Total Files

9

Last publish

Collaborators

  • avatar