Skip to content

This is NOT the official documentation of @babel/types, just a presentation of it driven by examples.

Notifications You must be signed in to change notification settings

Scipion/babel-types-by-example

Repository files navigation

@babel/types by example

See the website @babel/types by example

See the official website @babel/types

This is a Next.js app to enrich the official documentation.

Motivation

On the process of learing babel and how to develop babel plugins I've used astexplorer.net (as I think everybody learing does) and checking back end forth the babel original documentation.

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:

pnpm run docs # using bun, check script in package.json

pnpm run build

Learn more about Next.js: