> For the complete documentation index, see [llms.txt](https://bryan-guner.gitbook.io/my-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bryan-guner.gitbook.io/my-docs/programming-languages/programming-languages/babel.md).

# Babel

## Links

* [Awesome Babel](https://github.com/babel/awesome-babel)
* [ts-babel](https://github.com/andy-hanson/ts-babel) - Example project showing how to use babel with TS with pipelines.
* [Jason Miller on Modern JavaScript and the Future of preset-env (2020)](https://overcast.fm/+S2WFIV_5Y)
* [Nicolò Ribaudo - How to write your first Babel plugin (2019)](https://www.youtube.com/watch?v=UeVq_U5obnE)
* [babel-plugin-transform-define](https://github.com/FormidableLabs/babel-plugin-transform-define) - Compile time code replacement for babel similar to Webpack's DefinePlugin.
* [Babel Docs](https://babeljs.io/docs/en/index.html) ([Code](https://github.com/babel/website))
* [babel-plugin-macros](https://github.com/kentcdodds/babel-plugin-macros) - Allows you to build simple compile-time libraries.
* [Codemods with Babel Plugins (2021)](https://next.egghead.io/learn/javascript/codemods-with-babel-plugins)
* [babel-plugin-codegen](https://github.com/kentcdodds/babel-plugin-codegen) - Generate code at build-time.
* [Building a Debugger: Code Analysis](https://nan.fyi/debugger) - Crash course in writing your own Babel plugin.
* [Babel Polyfills](https://github.com/babel/babel-polyfills) - Set of Babel plugins that enable injecting different polyfills with different strategies in your compiled code.
* [babel-plugin-transform-async-to-promises](https://github.com/rpetrich/babel-plugin-transform-async-to-promises) - Babel plugin to transform async functions containing await expressions to the equivalent chain of Promise calls with use of minimal helper functions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bryan-guner.gitbook.io/my-docs/programming-languages/programming-languages/babel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
