Open
Description
📝 Issue Description
Some projects import lodash functions via individual packages, such as:
import sortBy from "lodash.sortby";
We should support codemodding these cases by converting them to the corresponding es-toolkit
compat import:
import sortBy from "es-toolkit/compat/sortBy";
Tasks:
- Detect individual
lodash.*
package imports (e.g.,lodash.clonedeep
,lodash.uniqby
, etc.) - Map them to
es-toolkit/compat/<functionName>
paths - Ensure the import name and path are transformed correctly
- Add tests to validate transformation for various function packages
Goal:
Ensure seamless migration for projects using function-level lodash packages, improving compatibility and adoption of es-toolkit
.
Metadata
Metadata
Assignees
Labels
No labels
Activity
hyesungoh commentedon Jun 15, 2025
I can handle this too! please assigned me 👍