E

e18e/@e18e/has-own-prop

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

has-own-prop Codemod

Introduction

This codemod replaces the usage of the has-own-prop npm module with the built-in Object.hasOwn method. This change aims to reduce unnecessary dependencies and improve performance by utilizing native JavaScript features.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.