Babel
Babel

4.8K
384
385
TypeScript
TypeScript

7.9K
384
1.7K
Add tool

What is Babel?

Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.

What is TypeScript?

TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Babel?
Why do developers choose TypeScript?
What are the cons of using Babel?
What are the cons of using TypeScript?
Be the first to leave a con
Be the first to leave a con
What companies use Babel?
What companies use TypeScript?
What are some alternatives to Babel and TypeScript?
Webpack
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
CoffeeScript
CoffeeScript is a little language that compiles into JavaScript. Underneath that awkward Java-esque patina, JavaScript has always had a gorgeous heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way.
ESLint
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
See all alternatives
What tools integrate with Babel?
What tools integrate with TypeScript?
No integrations found
Decisions about Babel and TypeScript
No stack decisions found
Interest over time
Reviews of Babel and TypeScript
Avatar of lpellegr
Noticeable
Review ofTypeScriptTypeScript

Typed JavaScript is just fantastic for medium to large size projects. The type system is well thought and compatible with standard JavaScript. Almost any new Javascript-based development should use TypeScript to save time and prevent technical debt over time.

How developers use Babel and TypeScript
Avatar of NewCraft
NewCraft uses TypeScriptTypeScript

Typescript has been a win because, in general, it makes codebase maintenance less brittle. It's significantly easier to refactor in TS than JS, which encourages incremental improvements, file re-organizing, etc. Our developers are happier with the overall development experience.

The downside is that TS sometimes exacerbates problems caused by Node's fragmented ecosystem. Sometimes @types/ don't work, other times types are outdated. This can lead to problems with newly-installed libraries.

If your project is big enough, I'd say TS is nearly always worth it, but it can make selecting libraries a pain.

Avatar of Cloudcraft
Cloudcraft uses BabelBabel

Babel is awesome! 100% of the code for Cloudcraft.co is transpiled from ES2015 (even some ES7 extensions, like decorators and class properties!), using Gulp+Browserify for the frontend and on-the-fly translation in the Node.js backend. Babel allows us to use all the features of future JS, today, giving us a efficient and clean codebase. Overall, it has been an exceptionally smooth adoption, everything Just Works(tm), including debugging with source maps, etc.

Avatar of Matt Welke
Matt Welke uses TypeScriptTypeScript

Used for Node.js personal projects that I think will have a longer lifetime than others, or that are combined with a web front end component like Angular (to share types).

Generally a poor developer experience. Usage decreasing recently compared to other preferred programming languages/platforms.

Avatar of Marc3842h
Marc3842h uses TypeScriptTypeScript

TypeScript is used in Kuro (https://github.com/Marc3842h/kuro).

Kuro is the browser facing portion of shiro. Typescript is the language in which the web server and the frontend scripts are written in. They later get compiled down to vanilla JavaScript.

Avatar of Volkan Özçelik
Volkan Özçelik uses BabelBabel

When you are using modern (or sometimes experimental) features of the language, you’ll eventually have to transpile them so that your app works in a wide spectrum of user agents.

Babel is the transpilation tool of my choice.

Avatar of Kent Steiner
Kent Steiner uses BabelBabel

I use babel so I can confidently move forward using ES6 and other more modern Javascript concepts and libraries in development and still maintain compatibility with the current state of web browsers and other viewports.

Avatar of John Harris
John Harris uses TypeScriptTypeScript

Excellent design-time type checking and the ability for the Typescript compiler to attach typing information to metadata at compile time allows for relatively simple type checking at run-time as well.

Avatar of Mick Dekkers
Mick Dekkers uses BabelBabel

Babel transpiles ES6/ES2015+ code to a format older browsers (*cough* IE *cough*) can understand. This allows developers to write modern JS code while remaining compatible with older systems.

Avatar of Blood Bot
Blood Bot uses TypeScriptTypeScript

We, our team can sleep comfortable at night know "x is undefined" will not occur in production. It's also really helpful as IDE help in code completion when they know types.

Avatar of Marc3842h
Marc3842h uses BabelBabel

Babel is used in Kuro (https://github.com/Marc3842h/kuro).

Kuro is the browser facing portion of shiro. We use Babel as a easy to use build system for our frontend stack.

How much does Babel cost?
How much does TypeScript cost?
Pricing unavailable
Pricing unavailable