Ee18e

e18e/@e18e/has

No description available

Legacy
e18emodule-replacement
Public
2 downloads
0 stars
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

Replace has with Object.hasOwn

Introduction

This codemod replaces the usage of the has utility from external libraries with the built-in Object.hasOwn method. This transformation reduces the number of dependencies in your codebase and utilizes native JavaScript features for better performance and smaller bundle size.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.