remeda
A utility library for JavaScript and Typescript.
Last updated a year ago by tkdodo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install remeda 
SYNC missed versions from official npm registry.

Remeda

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

GitHub License GitHub top language NPM NPM Downloads GitHub Repo stars Libraries.io SourceRank
Codecov GitHub branch status GitHub Release Date 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!

Features

  • First-class TypeScript support, with types that are as specific as possible.
  • Supports data-first (R.filter(array, fn)) and data-last (R.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

Usage

// Import everything:
import * as R from "remeda";

// Or import methods individually:
// import { pipe, tap, unique, take } from "remeda";

R.pipe(
  [1, 2, 2, 3, 3, 4, 5, 6],
  R.tap((value) => console.log(`Got ${value}`)),
  R.unique(),
  R.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.

Current Tags

  • 2.0.0-beta.29                                ...           beta (6 months ago)
  • 2.16.0                                ...           latest (25 days ago)

203 Versions

  • 2.16.0                                ...           25 days ago
  • 2.15.2                                ...           a month ago
  • 2.15.1                                ...           a month ago
  • 2.15.0                                ...           a month ago
  • 2.14.0                                ...           2 months ago
  • 2.13.0                                ...           2 months ago
  • 2.12.1                                ...           2 months ago
  • 2.12.0                                ...           2 months ago
  • 2.11.0                                ...           3 months ago
  • 2.10.1                                ...           3 months ago
  • 2.10.0                                ...           3 months ago
  • 2.9.1                                ...           3 months ago
  • 2.9.0                                ...           3 months ago
  • 2.8.0                                ...           3 months ago
  • 2.7.2                                ...           3 months ago
  • 2.7.1                                ...           3 months ago
  • 2.7.0                                ...           3 months ago
  • 2.6.0                                ...           4 months ago
  • 2.5.0                                ...           4 months ago
  • 2.4.0                                ...           4 months ago
  • 2.3.0                                ...           4 months ago
  • 2.2.2                                ...           4 months ago
  • 2.2.1                                ...           5 months ago
  • 2.2.0                                ...           5 months ago
  • 2.1.0                                ...           5 months ago
  • 2.0.12                                ...           5 months ago
  • 2.0.11                                ...           5 months ago
  • 2.0.10                                ...           5 months ago
  • 2.0.9                                ...           5 months ago
  • 2.0.8                                ...           5 months ago
  • 2.0.7                                ...           5 months ago
  • 2.0.6                                ...           5 months ago
  • 2.0.5                                ...           5 months ago
  • 2.0.4                                ...           5 months ago
  • 2.0.3                                ...           5 months ago
  • 2.0.2                                ...           5 months ago
  • 2.0.1                                ...           5 months ago
  • 2.0.0                                ...           6 months ago
  • 2.0.0-beta.29                                ...           6 months ago
  • 2.0.0-beta.28                                ...           6 months ago
  • 2.0.0-beta.27                                ...           7 months ago
  • 1.61.0                                ...           7 months ago
  • 2.0.0-beta.26                                ...           7 months ago
  • 2.0.0-beta.25                                ...           7 months ago
  • 1.60.1                                ...           7 months ago
  • 1.60.0                                ...           7 months ago
  • 1.59.0                                ...           7 months ago
  • 1.58.3                                ...           7 months ago
  • 1.58.2                                ...           7 months ago
  • 1.58.1                                ...           7 months ago
  • 2.0.0-beta.24                                ...           7 months ago
  • 1.58.0                                ...           7 months ago
  • 2.0.0-beta.23                                ...           7 months ago
  • 2.0.0-beta.22                                ...           7 months ago
  • 1.57.2                                ...           7 months ago
  • 2.0.0-beta.21                                ...           7 months ago
  • 1.57.1                                ...           7 months ago
  • 1.57.0                                ...           7 months ago
  • 1.56.2                                ...           7 months ago
  • 1.56.1                                ...           7 months ago
  • 2.0.0-beta.20                                ...           8 months ago
  • 2.0.0-beta.19                                ...           8 months ago
  • 2.0.0-beta.18                                ...           8 months ago
  • 2.0.0-beta.17                                ...           8 months ago
  • 2.0.0-beta.16                                ...           8 months ago
  • 2.0.0-beta.15                                ...           8 months ago
  • 2.0.0-beta.14                                ...           8 months ago
  • 2.0.0-beta.13                                ...           8 months ago
  • 2.0.0-beta.12                                ...           8 months ago
  • 2.0.0-beta.11                                ...           8 months ago
  • 2.0.0-beta.10                                ...           8 months ago
  • 2.0.0-beta.9                                ...           8 months ago
  • 2.0.0-beta.8                                ...           8 months ago
  • 2.0.0-beta.7                                ...           8 months ago
  • 1.56.0                                ...           8 months ago
  • 2.0.0-beta.6                                ...           8 months ago
  • 2.0.0-beta.5                                ...           8 months ago
  • 1.55.0                                ...           8 months ago
  • 2.0.0-beta.4                                ...           8 months ago
  • 2.0.0-beta.3                                ...           8 months ago
  • 1.54.0                                ...           8 months ago
  • 1.53.0                                ...           8 months ago
  • 1.52.0                                ...           8 months ago
  • 1.51.0                                ...           8 months ago
  • 1.50.1                                ...           8 months ago
  • 2.0.0-beta.2                                ...           8 months ago
  • 1.50.0                                ...           8 months ago
  • 1.49.0                                ...           8 months ago
  • 2.0.0-beta.1                                ...           8 months ago
  • 1.48.0                                ...           8 months ago
  • 1.47.2                                ...           8 months ago
  • 1.47.1                                ...           8 months ago
  • 1.47.0                                ...           8 months ago
  • 1.46.2                                ...           8 months ago
  • 1.46.1                                ...           8 months ago
  • 1.46.0                                ...           8 months ago
  • 1.45.2                                ...           9 months ago
  • 1.45.1                                ...           9 months ago
  • 1.45.0                                ...           9 months ago
  • 1.44.1                                ...           9 months ago
  • 1.44.0                                ...           9 months ago
  • 1.43.0                                ...           9 months ago
  • 1.42.0                                ...           9 months ago
  • 1.41.0                                ...           9 months ago
  • 1.40.2                                ...           9 months ago
  • 1.40.1                                ...           9 months ago
  • 1.40.0                                ...           9 months ago
  • 1.39.0                                ...           10 months ago
  • 1.38.1                                ...           10 months ago
  • 1.38.0                                ...           10 months ago
  • 1.37.0                                ...           10 months ago
  • 1.36.0                                ...           10 months ago
  • 1.35.0                                ...           10 months ago
  • 1.34.0                                ...           10 months ago
  • 1.33.0                                ...           a year ago
  • 1.32.0                                ...           a year ago
  • 1.31.0                                ...           a year ago
  • 1.30.0                                ...           a year ago
  • 1.29.0                                ...           a year ago
  • 1.28.0                                ...           a year ago
  • 1.27.1                                ...           a year ago
  • 1.27.0                                ...           a year ago
  • 1.26.0                                ...           a year ago
  • 1.25.2                                ...           a year ago
  • 1.25.1                                ...           a year ago
  • 1.25.0                                ...           a year ago
  • 1.24.1                                ...           a year ago
  • 1.24.0                                ...           a year ago
  • 1.23.0                                ...           a year ago
  • 1.22.1                                ...           a year ago
  • 1.22.0                                ...           a year ago
  • 1.21.0                                ...           a year ago
  • 1.20.0                                ...           a year ago
  • 1.19.0                                ...           a year ago
  • 1.18.1                                ...           a year ago
  • 1.18.0                                ...           a year ago
  • 1.17.1                                ...           a year ago
  • 1.17.0                                ...           a year ago
  • 1.16.0                                ...           a year ago
  • 1.15.2                                ...           a year ago
  • 1.15.1                                ...           a year ago
  • 1.15.0                                ...           a year ago
  • 1.14.0                                ...           2 years ago
  • 1.13.0                                ...           2 years ago
  • 1.12.0                                ...           2 years ago
  • 1.11.0                                ...           2 years ago
  • 1.10.0                                ...           2 years ago
  • 1.9.4                                ...           2 years ago
  • 1.9.3                                ...           2 years ago
  • 1.9.2                                ...           2 years ago
  • 1.9.1                                ...           2 years ago
  • 1.9.0                                ...           2 years ago
  • 1.8.1                                ...           2 years ago
  • 1.8.0                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.2                                ...           2 years ago
  • 1.6.1                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.5.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.35                                ...           2 years ago
  • 0.0.34                                ...           2 years ago
  • 0.0.33                                ...           2 years ago
  • 0.0.32                                ...           3 years ago
  • 0.0.31                                ...           3 years ago
  • 0.0.30                                ...           3 years ago
  • 0.0.29                                ...           3 years ago
  • 0.0.28                                ...           3 years ago
  • 0.0.27                                ...           4 years ago
  • 0.0.26                                ...           4 years ago
  • 0.0.25                                ...           4 years ago
  • 0.0.24                                ...           4 years ago
  • 0.0.23                                ...           4 years ago
  • 0.0.22                                ...           4 years ago
  • 0.0.21                                ...           4 years ago
  • 0.0.20                                ...           5 years ago
  • 0.0.19                                ...           5 years ago
  • 0.0.18                                ...           5 years ago
  • 0.0.17                                ...           5 years ago
  • 0.0.16                                ...           5 years ago
  • 0.0.15                                ...           5 years ago
  • 0.0.14                                ...           5 years ago
  • 0.0.13                                ...           5 years ago
  • 0.0.12                                ...           5 years ago
  • 0.0.11                                ...           6 years ago
  • 0.0.10                                ...           6 years ago
  • 0.0.9                                ...           6 years ago
  • 0.0.8                                ...           6 years ago
  • 0.0.7                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (2)
Downloads
Total 2
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (12)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE