E

e18e/@e18e/typed-array-byte-offset

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

Typed Array Byte Offset Codemod

Introduction

This codemod replaces the typed-array-byte-offset npm module with built-in ES features. It eliminates the dependency by transforming calls to the module into direct usage of the byteOffset property from typed array instances. The ultimate goal is to reduce unnecessary dependencies and improve performance within the codebase.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.