CodeVetter · Repo Unpack · Feature catalog
remeda/remeda
The primary user-facing product is the exported utility API, spanning arrays, objects, strings, arithmetic, predicates, and function composition. Selected operations offer stronger output typing and lazy pipeline execution in addition to their runtime transformations. The website presents generated API documentation, migration content, search, and theme controls. Developer-facing companion features include a console playground, PR preview template, and reproducible brand assets.
- map returns a newly mapped array with a Mapped<T,U> output type; filter supports type predicates and FilteredArray outputs; both expose eager and lazy implementations.
- Array APIs also export chunking, flattening, set operations, sorting, ranking, sampling, slicing, partitioning, and zipping; groupBy specifically permits undefined keys to exclude items.
- Object APIs include pick, omit, merge, entries, and path operations; prop accepts variadic keys with nullish early return, while setPath clones each traversed object or array branch.
- The public API exports arithmetic and aggregation, random number/string helpers, case conversion, trimming-related truncation, and type predicates; conditional evaluates the first matching case and throws when no case or fallback matches.
- funnel provides configurable debouncing, throttling, and batching through triggerAt, minQuietPeriodMs, maxBurstDurationMs, minGapMs, and an optional reducer; callers receive call, cancel, flush, and isIdle.
- Website routes include the homepage, a single-page function reference with anchors, generated per-library migration pages, and legacy V1 documentation; /v1 redirects to /migrate/v1.
- The header provides Algolia DocSearch and light/dark/system selection; missing search results generate a GitHub issue URL, and function cards display calling-style signatures, parameters, return labels, examples, and source links.
- The website exposes Remeda as window.R for console experimentation, the StackBlitz start script loads exports into a Node REPL, and brand scripts generate SVG lockups plus favicon, social-preview, and avatar assets.