Skip to content
EntityQ55604651· pop 11· linked from 74 articles

JavaScriptトランスコンパイラ

Source code

Babel is a tool that helps you write code in the latest version of JavaScript. When your supported environments don't support certain features natively, Babel will help you compile those features down to a supported version. Mostly a handful of volunteers, funded by you! Please check out our team page! Please read through our CONTRIBUTING.md and fill out the issue template at babel/issues! Check out: Our development Slack channel and say hi! (sign-up) Issues with the good first issue and help wanted label. We suggest also looking at the closed ones to get a sense of the kinds of issues you can tackle.

Excerpt from the source-code README · 7,836 chars · not written by Vinony

Wikidata facts

Instance of
free software
Show 7 more facts
copyright license
MIT License
source code repository URL
github.com/babel/babel
software version identifier
7.29.2
social media followers
58344
official blog URL
babeljs.io/blog
used by
JavaScript
programmed in
JavaScript
Sources (6)

via Wikidata · CC0

Article · 日本語

Babelは、フリーかつオープンソースのJavaScriptトランスコンパイラであり、主にECMAScript 2015+(ES6+)コードを古いJavaScriptエンジンで実行できる下位互換バージョンのJavaScriptに変換するために使用される。Babelは、JavaScriptプログラミング言語の最新機能を使用するための一般的なツールである。 開発者は、Babelを使用して新しいJavaScript言語機能を使用し、発展途上のブラウザが処理できるバージョンのJavaScriptにソースコードを変換できる。Babelのコアバージョンは、2016年の時点で1ヶ月に500万回ダウンロードされ、2019年の時点のダウンロード数は週あたり1600万回にまで増加している。 Babelプラグインは、広くサポートされていない構文を下位互換性のあるバージョンに変換するために使用される。たとえば、ES6で指定されているアロー関数は、通常の関数宣言に変換される。JSXなどの非標準のJavaScript構文を変換することもできる。 Babelはを提供することにより、JavaScript環境では完全に欠けている機能をサポートする。たとえば、Array.fromような静的メソッドやPromiseような組み込みメソッドはES6+でのみ使用できるが、Babel polyfillが使用されている場合、古い環境で使用できる。

Abstract from DBpedia / Wikipedia · CC BY-SA