E

e18e/@e18e/array.from

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

Codemod: Replace Array.from Import with Built-in ES Feature

Introduction

This codemod transforms instances of array.from by replacing them with the built-in Array.from method. This helps to eliminate the dependency on the array.from package, reducing bundle size and improving performance by utilizing native JavaScript functionality.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.