E

e18e/@e18e/array.prototype.slice

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.slice Codemod

Introduction

This codemod replaces instances of the array.prototype.slice module with the native Array.prototype.slice method. By doing this, it eliminates the need for an additional dependency, thus helping to reduce bundle size and improve performance by using built-in JavaScript functionality.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.