E

e18e/@e18e/is-string

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-string Codemod

Introduction

This codemod removes the dependency on the is-string npm package by replacing its usage with a built-in JavaScript feature. It transforms all calls to isString into a usage of Object.prototype.toString.call, which improves performance and reduces the overall bundle size by eliminating unnecessary dependencies.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.