E

e18e/@e18e/es-errors

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

es-errors Codemod

Introduction

This codemod replaces the use of the es-errors module and its specific error constructors with built-in JavaScript error types. This change reduces unnecessary dependencies and leads to a more lightweight codebase while ensuring that error handling remains efficient and standard.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.