{"name":"remeda","version":"2.45.0","keywords":["algo","algorithm","curried","fp","functional","generics","lodash","ramda","stdlib","toolkit","ts","types","typescript","underscore","util","utilities","utility","utils"],"author":{"name":"Łukasz Sentkiewicz"},"license":"MIT","_id":"remeda@2.45.0","maintainers":[{"name":"eranhirsch","email":"eranhirsch@gmail.com"},{"name":"tkdodo","email":"dominik@dorfmeister.cc"},{"name":"lsentkiewicz","email":"sirmims@gmail.com"}],"homepage":"https://remedajs.com/","bugs":{"url":"https://github.com/remeda/remeda/issues"},"dist":{"shasum":"3d30e9a8bec6793165ed153e3e80c72aa5ba21c2","tarball":"http://registry-npm.ywwl.com/remeda/download/remeda-2.45.0.tgz","fileCount":706,"integrity":"sha512-CTftZ0GJSox3CH77OhJemj20sXXUScH/kpkExD6t2LP3IG+mPKASBMFkbvWtsvzhU+54gKcgH38WWVihfr7bCA==","signatures":[{"sig":"MEUCID4fa4zJ7ZIRJhOPe1i6MgNqaK+ogAab3YDGkUojQvSbAiEAvvt5UsO0uJ2z5OUHAcgJV/Na5dN3qCOYWpGvcOoTvEo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC+U7KVOQ0bZOK4aYXI46pjv1Ea4mSR4wT2HOcgFAazbgIgORyyi1/glFD05pa/G9Ym0HeqvYIrW8yyZuYauFXRANc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/remeda@2.45.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2744016,"size":466796,"noattachment":false,"key":"/remeda/-/remeda-2.45.0.tgz"},"main":"dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18.0.0"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":"https://github.com/sponsors/remeda","gitHead":"e11dcf2d63951e843961661d647f0701a3db0798","scripts":{"lint":"eslint --fix --max-warnings 0","test":"vitest","build":"tsdown","check":"tsc --project tsconfig.source.json","format":"prettier . --write","test:prop":"vitest --project prop","check:dist":"tsc --project tsconfig.dist.json","test:types":"vitest --project types","publish:jsr":"jsr publish","test:runtime":"vitest --project runtime","test:coverage":"vitest run --coverage --project runtime","publish:preview":"pkg-pr-new publish --compact --template ../stackblitz-template/"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:940efe0f-4409-4bf9-9df5-b45d45553c74"}},"repository":{"url":"git+https://github.com/remeda/remeda.git","type":"git"},"_npmVersion":"11.19.0","description":"A utility library for JavaScript and Typescript.","directories":{},"sideEffects":false,"_nodeVersion":"26.7.0","_hasShrinkwrap":false,"devDependencies":{"jsr":"^0.14.3","jiti":"^2.7.0","eslint":"~10.8.1","tsdown":"^0.22.14","vitest":"^4.1.10","publint":"^0.3.23","prettier":"^3.9.6","type-fest":"5.8.0","@eslint/js":"^10.0.1","pkg-pr-new":"^0.0.87","typescript":"^6.0.2","@types/node":"^26.2.0","lint-staged":"^17.3.0","semantic-release":"^25.0.9","typescript-eslint":"^8.67.0","@fast-check/vitest":"^0.4.1","prettier-plugin-sh":"^0.19.0","@vitest/coverage-v8":"^4.1.10","eslint-plugin-jsdoc":"^64.1.0","prettier-plugin-pkg":"^0.22.1","vite-tsconfig-paths":"^6.1.1","@vitest/eslint-plugin":"^1.6.27","eslint-plugin-unicorn":"^73.0.0","@arethetypeswrong/core":"^0.18.5","eslint-config-prettier":"^10.1.8","@types/eslint-config-prettier":"^6.11.3"},"_npmOperationalInternal":{"tmp":"tmp/remeda_2.45.0_1787683240193_0.5509236207644148","host":"s3://npm-registry-packages-npm-production"},"readme":"<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/remeda/remeda/main/packages/brand/assets/remeda-lockup-dark.svg\" />\n  <img alt=\"Remeda\" src=\"https://raw.githubusercontent.com/remeda/remeda/main/packages/brand/assets/remeda-lockup-light.svg\" width=\"400\" />\n</picture>\n\n# Remeda\n\nThe first \"data-first\" and \"data-last\" utility library designed especially for TypeScript.\n\n[![GitHub License](https://img.shields.io/github/license/remeda/remeda?style=flat-square)](https://github.com/remeda/remeda?tab=MIT-1-ov-file#readme)\n![GitHub top language](https://img.shields.io/github/languages/top/remeda/remeda?logo=typescript&style=flat-square)\n[![Codecov](https://img.shields.io/codecov/c/github/remeda/remeda?logo=codecov&style=flat-square)](https://codecov.io/gh/remeda/remeda)\n[![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)\n[![NPM](https://img.shields.io/npm/v/remeda?logo=npm&style=flat-square)](https://www.npmjs.org/package/remeda)\n[![GitHub Release Date](https://img.shields.io/github/release-date/remeda/remeda?logo=npm&style=flat-square)](https://github.com/remeda/remeda/releases)\n[![NPM Downloads](https://img.shields.io/npm/dm/remeda?logo=npm&style=flat-square)](https://npmtrends.com/remeda)\n<br />\n![GitHub Repo stars](https://img.shields.io/github/stars/remeda/remeda?logo=github&style=flat-square)\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/remeda/remeda/badge)](https://scorecard.dev/viewer/?uri=github.com/remeda/remeda)\n[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/11909/badge)](https://www.bestpractices.dev/projects/11909)\n[![Libraries.io SourceRank](https://img.shields.io/librariesio/sourcerank/npm/remeda?logo=librariesdotio&style=flat-square)](https://libraries.io/npm/remeda/sourcerank)\n[![Commits](https://img.shields.io/github/commit-activity/y/remeda/remeda?logo=github&style=flat-square)](https://github.com/remeda/remeda/commits/main/)\n[![All contributors](https://img.shields.io/github/contributors/remeda/remeda?logo=github&style=flat-square)](https://github.com/remeda/remeda/graphs/contributors)\n\n## Documentation\n\nRead the full docs and API reference on [remedajs.com/docs](https://remedajs.com/docs).\n\nMigrating from other libraries? Check out our migration guides for [Lodash](https://remedajs.com/migrate/lodash) and [Ramda](https://remedajs.com/migrate/ramda)!\n\nInterested in contributing? Read the [contributing guide](https://github.com/remeda/remeda/blob/main/CONTRIBUTING.md).\n\n## Features\n\n- First-class TypeScript support, with types that are as specific as possible.\n- Supports data-first (`filter(array, fn)`) and data-last (`filter(fn)(array)`) approaches.\n- Lazy evaluation support with `pipe` and `piped`.\n- Runtime and types are both extensively tested, with full code coverage.\n- Tree-shakable, supports CJS and ESM.\n- Fully documented with JSDoc, supports in-editor function documentation.\n\n## Getting started\n\n### Installation\n\n```bash\nnpm install remeda\npnpm add remeda\nyarn add remeda\nbun install remeda\ndeno add jsr:@remeda/remeda\n```\n\n### Usage\n\n```js\nimport { pipe, forEach, unique, take } from \"remeda\";\n\npipe(\n  [1, 2, 2, 3, 3, 4, 5, 6],\n  forEach((value) => console.log(`Got ${value}`)),\n  unique(),\n  take(3),\n); // => [1, 2, 3]\n\n// Console output:\n// Got 1\n// Got 2\n// Got 2\n// Got 3\n```\n\n### Getting help\n\nQuestions, bug reports, and feature requests are tracked in [GitHub issues](https://github.com/remeda/remeda/issues).\n\n## Contributors\n\n<a href=\"https://github.com/remeda/remeda/graphs/contributors\">\n  <img src=\"https://contrib.rocks/image?repo=remeda/remeda\" />\n</a>\n\nMade with [contrib.rocks](https://contrib.rocks).\n","publish_time":1787683240374,"_cnpm_publish_time":1787683240374,"dist-tags":{"beta":"2.0.0-beta.29","latest":"2.59.0"}}