E

e18e/@e18e/is-date-object

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

is-date-object Codemod

Introduction

This codemod replaces the usage of the is-date-object npm module with a built-in ES feature for determining if an object is a Date. It leverages Object.prototype.toString.call for this check, thereby reducing dependencies and improving performance.

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.