Ccodemod

codemod/regexp-to-arkregex

using arkregex instead of `new RegExp`

transformationmigrationarkregex
Public
6 downloads
1 stars
How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

regexp-to-arkregex

Migrate new RegExp() constructor calls to arkregex's type-safe regex() function.

What it does

This codemod automatically transforms your code to use arkregex, a type-safe regex library.

Transformation Example

Before:

typescript

After:

typescript

Ready to contribute?

Build your own codemod and share it with the community.