E

e18e/@e18e/array-buffer-byte-length

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-buffer-byte-length Codemod

Introduction

This codemod replaces the use of the array-buffer-byte-length library with the native byteLength property of ArrayBuffer instances. This transformation helps reduce dependencies and enhances performance by leveraging built-in JavaScript features.

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.