E

e18e/@e18e/is-npm

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 is-npm Module Codemod

Introduction

This codemod replaces the is-npm npm module with a more efficient implementation using built-in Node.js environment variables. It eliminates the dependency on the library, reducing bundle size and improving performance by leveraging native features.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.