Ee18e

e18e/@e18e/is-regexp

No description available

Legacy
e18emodule-replacement
Public
2 downloads
0 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

is-regexp Codemod

Introduction

This codemod removes the dependency on the is-regexp package by replacing its function calls with a native JavaScript expression that checks if a value is an instance of RegExp. This change ultimately reduces the bundle size and improves the performance of the codebase by eliminating unnecessary imports.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.