# remeda

> A utility library for JavaScript and Typescript.

Latest version **2.50.0** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install remeda
pnpm add remeda
yarn add remeda
bun add remeda
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.50.0 |
| Published | 2026-09-14 |
| First published | 2018-05-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.0.0 |
| Dependencies | 0 |
| Unpacked size | 2.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 5427 |
| Author | Łukasz Sentkiewicz |
| Maintainers | eranhirsch, tkdodo, lsentkiewicz |
| Keywords | algo, algorithm, curried, fp, functional, generics, lodash, ramda, stdlib, toolkit, ts, types, typescript, underscore, util, utilities, utility, utils |

## Links

- npm: https://www.npmjs.com/package/remeda
- Repository: https://github.com/remeda/remeda
- Homepage: https://remedajs.com/
- Issues: https://github.com/remeda/remeda/issues
- Funding: https://github.com/sponsors/remeda
- npm.io page: https://npm.io/package/remeda

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 2.50.0 (latest) — 2026-09-14
- 2.0.0-beta.29 (beta) — 2024-05-10
- 2.49.0 — 2026-09-14
- 2.48.0 — 2026-09-09
- 2.47.0 — 2026-09-07
- 2.46.0 — 2026-09-06
- 2.45.0 — 2026-08-25
- 2.44.0 — 2026-08-24
- 2.43.0 — 2026-08-23
- 2.42.0 — 2026-08-18
- 2.41.0 — 2026-08-17
- 2.40.0 — 2026-08-14
- 2.39.0 — 2026-06-09
- 2.38.0 — 2026-06-07
- 2.37.0 — 2026-05-26
- … 264 more at https://npm.io/package/remeda/versions

## README

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/remeda/remeda/main/packages/brand/assets/remeda-lockup-dark.svg" />
  <img alt="Remeda" src="https://raw.githubusercontent.com/remeda/remeda/main/packages/brand/assets/remeda-lockup-light.svg" width="400" />
</picture>

# Remeda

The first "data-first" and "data-last" utility library designed especially for TypeScript.

[![GitHub License](https://img.shields.io/github/license/remeda/remeda?style=flat-square)](https://github.com/remeda/remeda?tab=MIT-1-ov-file#readme)
![GitHub top language](https://img.shields.io/github/languages/top/remeda/remeda?logo=typescript&style=flat-square)
[![Codecov](https://img.shields.io/codecov/c/github/remeda/remeda?logo=codecov&style=flat-square)](https://codecov.io/gh/remeda/remeda)
[![GitHub branch status](https://img.shields.io/github/checks-status/remeda/remeda/main?logo=github&style=flat-square)](https://github.com/remeda/remeda/actions/workflows)
[![NPM](https://img.shields.io/npm/v/remeda?logo=npm&style=flat-square)](https://www.npmjs.org/package/remeda)
[![GitHub Release Date](https://img.shields.io/github/release-date/remeda/remeda?logo=npm&style=flat-square)](https://github.com/remeda/remeda/releases)
[![NPM Downloads](https://img.shields.io/npm/dm/remeda?logo=npm&style=flat-square)](https://npmtrends.com/remeda)
<br />
![GitHub Repo stars](https://img.shields.io/github/stars/remeda/remeda?logo=github&style=flat-square)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/remeda/remeda/badge)](https://scorecard.dev/viewer/?uri=github.com/remeda/remeda)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/11909/badge)](https://www.bestpractices.dev/projects/11909)
[![Libraries.io SourceRank](https://img.shields.io/librariesio/sourcerank/npm/remeda?logo=librariesdotio&style=flat-square)](https://libraries.io/npm/remeda/sourcerank)
[![Commits](https://img.shields.io/github/commit-activity/y/remeda/remeda?logo=github&style=flat-square)](https://github.com/remeda/remeda/commits/main/)
[![All contributors](https://img.shields.io/github/contributors/remeda/remeda?logo=github&style=flat-square)](https://github.com/remeda/remeda/graphs/contributors)

## Documentation

Read the full docs and API reference on [remedajs.com/docs](https://remedajs.com/docs).

Migrating from other libraries? Check out our migration guides for [Lodash](https://remedajs.com/migrate/lodash) and [Ramda](https://remedajs.com/migrate/ramda)!

Interested in contributing? Read the [contributing guide](https://github.com/remeda/remeda/blob/main/CONTRIBUTING.md).

## Features

- First-class TypeScript support, with types that are as specific as possible.
- Supports data-first (`filter(array, fn)`) and data-last (`filter(fn)(array)`) approaches.
- Lazy evaluation support with `pipe` and `piped`.
- Runtime and types are both extensively tested, with full code coverage.
- Tree-shakable, supports CJS and ESM.
- Fully documented with JSDoc, supports in-editor function documentation.

## Getting started

### Installation

```bash
npm install remeda
pnpm add remeda
yarn add remeda
bun install remeda
deno add jsr:@remeda/remeda
```

### Usage

```js
import { pipe, forEach, unique, take } from "remeda";

pipe(
  [1, 2, 2, 3, 3, 4, 5, 6],
  forEach((value) => console.log(`Got ${value}`)),
  unique(),
  take(3),
); // => [1, 2, 3]

// Console output:
// Got 1
// Got 2
// Got 2
// Got 3
```

### Getting help

Questions, bug reports, and feature requests are tracked in [GitHub issues](https://github.com/remeda/remeda/issues).

## Contributors

<a href="https://github.com/remeda/remeda/graphs/contributors">
  <img src="https://contrib.rocks/image?repo=remeda/remeda" />
</a>

Made with [contrib.rocks](https://contrib.rocks).

---
_Source: https://npm.io/package/remeda · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
