AI Briefing
KO

es-toolkit: How a Small Internal Library Became a Global Project

·2026.06.24 12:36

Key point

This covers how es-toolkit, once an internal utility library at Toss, grew into a global project through performance optimization.

1 / 2

Details

There was a need for a library that provides functions commonly used in frontend development, such as throttle, debounce, and uniq. However, the existing lodash contained legacy code and unnecessary defensive logic that didn't fit modern browser environments, and it had efficiency issues such as not supporting tree-shaking.

To solve this, the Toss team began developing es-toolkit, optimized for modern JavaScript environments, based on their internally used @toss/utils. The main goal was to remove lodash's inefficient logic to improve performance and reduce code size.

By actually implementing the core functions and measuring performance, they found that simply removing unnecessary logic achieved a 2x to over 10x speed improvement compared to the existing library. Based on this performance advantage, es-toolkit now records 20 million weekly downloads and has grown into a global project adopted by major libraries such as Yarn and Recharts.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.