@E18e/Functions Have Names

1.0.5Last update Aug 9, 2024
by@e18e

Functions Have Names Codemod

Introduction

This codemod removes the functions-have-names package from the codebase and replaces its usage with a simple boolean literal. The goal is to reduce dependencies, enhance performance, and simplify the code.

Before

import functionsHaveNames from 'functions-have-names';
const result = functionsHaveNames();

After

const result = true;

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now