E

e18e/@e18e/object.fromentries

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

Object.fromEntries Codemod

Introduction

This codemod replaces calls to the Object.fromentries function with the standard built-in Object.fromEntries method. This not only simplifies the code but also reduces dependency on any custom or unnecessary libraries, contributing to a smaller bundle size and improved performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.