Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scipion/babel-types-by-example
This is NOT the official documentation of @babel/types, just a presentation of it driven by examples.
https://github.com/scipion/babel-types-by-example
ast babel babel-types babeljs ecmascript specification
Last synced: 27 days ago
JSON representation
This is NOT the official documentation of @babel/types, just a presentation of it driven by examples.
- Host: GitHub
- URL: https://github.com/scipion/babel-types-by-example
- Owner: Scipion
- Created: 2023-11-30T11:46:32.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-01T12:22:49.000Z (9 months ago)
- Last Synced: 2024-10-11T23:03:34.230Z (27 days ago)
- Topics: ast, babel, babel-types, babeljs, ecmascript, specification
- Language: MDX
- Homepage: https://scipion.github.io/babel-types-by-example/
- Size: 597 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @babel/types by example
See the website [@babel/types by example](#)
See the official website [@babel/types](https://babeljs.io/docs/babel-types)
This is a [Next.js](https://nextjs.org/) app to enrich the official documentation.
## Motivation
On the process of learing babel and how to develop babel plugins I've used [astexplorer.net](https://astexplorer.net/) (as I think everybody learing does) and checking back end forth the [babel original documentation](https://babeljs.io/docs/babel-types).
At some point I thought it would be nice to have them both together. This Docs are the @babel/types generated MD's, but guided by examples of code highlighting each token in a example.
## Getting Started
I'm using _pnpm_ to build the site and _bun_ to build the main page in _src/app/page.mdx_:
```bash
pnpm run docs # using bun, check script in package.jsonpnpm run build
```## Learn more about Next.js:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.