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 6 роки тому
.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 6 роки тому
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) 7 роки тому
.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 8 роки тому
.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 7 роки тому
CODE_OF_CONDUCT.md 11932d6102 removed unnecessary code of conduct. 6 роки тому
CONTRIBUTING.md f0616939fe mostly updated repo 6 роки тому
Gulpfile.js daf0ca8680 Rename "babylon" to "@babel/parser" (#7937) 🎉 6 роки тому
LICENSE aec6e5c370 Update license year (#7141) 6 роки тому
Makefile fb9abb34e1 debian disable-lint.patch 6 роки тому
README.md 18af2a0d19 updated readme 6 роки тому
SONG.md 468aecca21 Add Babel's song: Hallelujah (thanks to Angus) [skip ci] (#6994) 7 роки тому
babel.config.js daf0ca8680 Rename "babylon" to "@babel/parser" (#7937) 🎉 6 роки тому
babel.sublime-project 95e08b6d2a Convert UMD to use new implementation of module logic. 7 роки тому
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