Big News: Socket Selected for OpenAI's Cybersecurity Grant Program.Details
Socket
Book a DemoSign in
Socket

remeda

Package Overview
Dependencies
Maintainers
3
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remeda

A utility library for JavaScript and Typescript.

latest
Source
npmnpm
Version
2.33.7
Version published
Weekly downloads
5.3M
8.7%
Maintainers
3
Weekly downloads
 
Created
Source

Remeda

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

GitHub License GitHub top language Codecov GitHub branch status NPM GitHub Release Date NPM Downloads
GitHub Repo stars OpenSSF Scorecard OpenSSF Best Practices Libraries.io SourceRank Commits All contributors

Documentation

Read the full docs and API reference on remedajs.com/docs.

Migrating from other libraries? Check out our migration guides for Lodash and Ramda!

Interested in contributing? Read the contributing guide.

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

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

Usage

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.

Contributors

Made with contrib.rocks.

Keywords

algo

FAQs

Package last updated on 31 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts