Registry
E

e18e/@e18e/function-bind

No description available

e18e35 executions

  • Legacy
  • e18e
  • module-replacement
Connect a repo
npx codemod @e18e/function-bind

Function Bind Codemod

Introduction

This codemod removes the dependency on the function-bind module by eliminating its import statement from the codebase. This change enhances performance by reducing unnecessary dependencies.

Before

javascript
import functionBind from 'function-bind';

const boundFunction = functionBind.call(context, functionName);

After

javascript
const boundFunction = functionName.bind(context);

Ready to evolve your codebase?

Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.