Ee18e

e18e/@e18e/is-windows

No description available

Legacy
e18emodule-replacement
Public
2 downloads
0 stars
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-windows Codemod

Introduction

This codemod removes the dependency on the is-windows npm package by replacing its usage with a built-in Node.js feature. It converts calls to is-windows() into a direct comparison of process.platform with 'win32', reducing unnecessary dependencies and improving performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.