Ee18e

e18e/@e18e/regexp.prototype.flags

No description available

e18emodule-replacement
Public
8 executions

Run locally

npx codemod @e18e/regexp.prototype.flags

RegExp.prototype.flags Codemod

Introduction

This codemod removes the dependency on the regexp.prototype.flags package by eliminating unnecessary import statements and replacing usages of the package with native JavaScript functionality. It not only reduces the bundle size but also enhances performance by relying on built-in language features.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.