Ee18e

e18e/@e18e/hasown

No description available

e18emodule-replacement
Public
8 executions
Run locally
npx codemod @e18e/hasown
Documentation

hasown Codemod

Introduction

This codemod replaces the use of the hasown function from an external package with the built-in Object.hasOwn method in JavaScript. This transformation reduces the number of dependencies in the codebase while improving performance by utilizing a native feature.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.