E

e18e/@e18e/array.prototype.unshift

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

array.prototype.unshift Codemod

Introduction

This codemod replaces occurrences of the array.prototype.unshift function from an npm package with the built-in Array.prototype.unshift method. This change reduces unnecessary dependencies, thus optimizing the codebase's size and performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.