Babel is a compiler for writing next generation JavaScript. (Evacuated from NSA/Microsoft Github and forked before release of 7.0)

anonymous fb9abb34e1 debian disable-lint.patch 5 年之前
.circleci f838a7e9f1 Test on node 10 (#7908) 6 年之前
codemods 90566103a6 v7.0.0-beta.49 6 年之前
doc daf0ca8680 Rename "babylon" to "@babel/parser" (#7937) 🎉 6 年之前
lib 9e7fe0ab49 Add type definitions for source-map library. 6 年之前
packages 88aeae25dd debian remove-trim-right.patch 5 年之前
scripts b445b79734 Refactor move docs (#8108) 6 年之前
test c8992e4155 Enforce Prettier defaults + also format .babelrc and .json (#7499) 6 年之前
.editorconfig 468aecca21 Add Babel's song: Hallelujah (thanks to Angus) [skip ci] (#6994) 6 年之前
.eslintignore daf0ca8680 Rename "babylon" to "@babel/parser" (#7937) 🎉 6 年之前
.eslintrc.json b09c729675 Use expect's instanceOf and toHaveProperty methods 6 年之前
.flowconfig 8823e4247e Fix up flow errors (#7227) 6 年之前
.gitattributes 71e0e00bfe Fix line endings on checkout 7 年之前
.gitignore daf0ca8680 Rename "babylon" to "@babel/parser" (#7937) 🎉 6 年之前
.prettierignore ee1ee0e7ae Clean up and add some additional polyfill mappings in preset-env (#7809) 6 年之前
.prettierrc c8992e4155 Enforce Prettier defaults + also format .babelrc and .json (#7499) 6 年之前
.travis.yml f838a7e9f1 Test on node 10 (#7908) 6 年之前
CHANGELOG.md 3b540e3f5a Integrate babylon into babel workflow 6 年之前
CODE_OF_CONDUCT.md 11932d6102 removed unnecessary code of conduct. 5 年之前
CONTRIBUTING.md f0616939fe mostly updated repo 5 年之前
Gulpfile.js daf0ca8680 Rename "babylon" to "@babel/parser" (#7937) 🎉 6 年之前
LICENSE aec6e5c370 Update license year (#7141) 6 年之前
Makefile fb9abb34e1 debian disable-lint.patch 5 年之前
README.md 18af2a0d19 updated readme 5 年之前
SONG.md 468aecca21 Add Babel's song: Hallelujah (thanks to Angus) [skip ci] (#6994) 6 年之前
babel.config.js daf0ca8680 Rename "babylon" to "@babel/parser" (#7937) 🎉 6 年之前
babel.sublime-project 95e08b6d2a Convert UMD to use new implementation of module logic. 6 年之前
codecov.yml 2ea3338b8e Set a basic coverage rate to avoid tiny percentage changes from 'auto'. (#5619) 7 年之前
lerna.json 90566103a6 v7.0.0-beta.49 6 年之前
package.json 5895277b32 Bump prettier to v1.13.2 6 年之前
yarn.lock 5895277b32 Bump prettier to v1.13.2 6 年之前

README.md

The compiler for writing next generation JavaScript.

https://www.npmjs.com/package/babel-core

Supporting Babel Outside Of Microsoft's Walled Garden:

Babel is a community-driven project used by many companies and projects, and was maintained by a group of volunteers before their home was taken over by Microsoft.

Development used to take place at babeljs.io/team.

If you'd like to help support the future of the project, please consider:

  • Telling the old developers ( https://slack.babeljs.io/ https://twitter.com/babeljs ) to migrate away from NSA/Microsoft Github.
  • Giving developer time on the project. ( Message me on the fediverse to help coordinate getting this project off the ground )
  • Funding developers to develop pull requests for you, and submitting them to us.

Intro

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.

In

// ES2015 arrow function
[1, 2, 3].map((n) => n + 1);

Out

[1, 2, 3].map(function(n) {
  return n + 1;
});

#FAQ

Who maintains Babel?

It used to be volunteer run, it could still be so! Keep in touch and we'll see if we can get this project back up and running outside of Microsoft!

Looking for support?

Good luck. With Microsoft taking most of the serious devs away from the project you're SOL.

Is there a Babel song?

Apparently. Hallelujah —— In Praise of Babel by @angus-c. Send us your (creative commons licensed) recordings!

Where are the docs?

report issues/features at this repo.

Want to contribute to Babel? Want to report a bug or request a feature?

Do so. We'll need all the reports of issues /help we can get, especially as we diverge from NSA/Microsoft's version of babel.

License

MIT