es-toolkit

Provide tree-shakable JavaScript/TypeScript utility functions for arrays, objects, strings, math, functions, and promises.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/Teages/skills --skill es-toolkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: es-toolkit
Source: https://github.com/Teages/skills/tree/main/skills/es-toolkit
Command: npx skills add https://github.com/Teages/skills --skill es-toolkit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive suite of modern, tree-shakable JavaScript/TypeScript utility functions to streamline common development tasks, offering a more performant and type-safe alternative to libraries like Lodash.

Core Features & Use Cases

  • Utility Functions: Offers a wide range of helpers for array, object, string, math, function, and promise manipulation.
  • Optimization: Designed for small bundle sizes and improved performance through tree-shaking.
  • Type Safety: Provides strong TypeScript support for enhanced developer experience and fewer runtime errors.
  • Use Case: Refactor legacy code using Lodash by replacing individual functions with es-toolkit equivalents, improving bundle size and maintainability. Use array utilities like chunk or groupBy for efficient data processing.

Quick Start

Use the es-toolkit skill to chunk the array [1, 2, 3, 4, 5] into arrays of size 2.

Frequently Asked Questions about es-toolkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is a modern tree-shakable alternative to Lodash for JavaScript utilities?

A modern tree-shakable alternative to Lodash provides JavaScript utility functions for array, object, and string manipulation while reducing bundle size and improving runtime performance.

How do I refactor Lodash utilities to reduce bundle size in TypeScript?

Refactor Lodash utilities by replacing individual functions with modern, tree-shakable equivalents to achieve type-safe development, smaller bundle sizes, and improved runtime performance.

Can I use these JavaScript utilities for array chunking and grouping?

Yes, you can use these JavaScript utilities for array chunking and grouping, offering optimized helpers for efficient data processing and common array manipulation tasks.

Does es-toolkit provide strong TypeScript support for utility functions?

es-toolkit provides strong TypeScript support for utility functions, ensuring type-safe development and reducing runtime errors across array, object, string, math, and promise manipulations.

What's the best way to handle promise manipulation without increasing bundle size?

The best way to handle promise manipulation without increasing bundle size is using modern, tree-shakable utility libraries designed for efficient and type-safe JavaScript development.

Why should I replace Lodash with a modern utility library in my web application?

Replace Lodash with a modern utility library to achieve smaller bundle sizes through tree-shaking, gain stronger TypeScript support for type-safe development, and improve overall runtime performance.