Skip to content

Compilers

Compilers

Common Prefix Regex Optimizer

Generate optimized regex patterns from strings by consolidating common prefixes.

Compilers

Writing a JavaScript Codemod with JSCodeShift

Learn how jscodeshift transforms code by writing a small codemod that strips React.memo from functional components.

Compilers

How a pretty printer works

Understand how a pretty printer works and how we can write a very basic one to help us automate code formatting.

Compilers

Code Dive: babel-loader

A deep look into how the babel-loader library works to learn how you too can write a webpack plugin.