项目作者: wes-o

项目描述 :
typescript-node with babel preset
高级语言: JavaScript
项目地址: git://github.com/wes-o/ts-node-babel-preset.git
创建时间: 2020-01-12T23:54:46Z
项目社区:https://github.com/wes-o/ts-node-babel-preset

开源协议:MIT License

下载


ts-node-babel-preset

typescript-node with babel preset


Repository File Descriptions

  • tsconfig.json - configuration for type-checking

the fields in this file are targeted for compatability

  • index.js - a base helper module for Typescript & Babel web-based applications

  • package.json - package configuration for npm registry. Includes project metadata.

Additional Info

Why was this made?

I’m glad you are interested!

TL;DR

Typescript does not ship with a runtime, or handle polyfills.


Babel has been used in many Javascript applications, and supports the NodeJS development community by transforming modern Javascript features for different runtimes and browsers. Although, it does not include Type-Checking.

This is where Typescript comes into play. Combined with Babel, Typescript applications can be created to support the diversity of web-based applications.
Large software applications can also benefit greatly from type checking, maintainability through enforced types, and additional intellisense through IDEs.