{"name":"remeda","version":"2.20.2","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.20.2","maintainers":[{"name":"lsentkiewicz","email":"sirmims@gmail.com"},{"name":"tkdodo","email":"dominik@dorfmeister.cc"}],"homepage":"https://remedajs.com/","bugs":{"url":"https://github.com/remeda/remeda/issues"},"dist":{"shasum":"a15e2ce3603dd70badb34f452c8776960a01a3f4","tarball":"http://registry-npm.ywwl.com/remeda/download/remeda-2.20.2.tgz","fileCount":1011,"integrity":"sha512-38pfm5aUq6mUkNYbt7TdY2WEk9mSqRVV+6UsoTjabwmbu8obLbh8sYYSX2WQ3W4u6EYp3XxUKqIiwGFZu+OY9g==","signatures":[{"sig":"MEUCIQD+/AiTh1Asd01KoRoFTFlf5XsJxeA0DgJQYKZQZ+blDQIgYX/GoAloGE15JbxVKQDouBB7Of1NrSs5rPZDIjhF77k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":808594,"size":182140,"noattachment":false,"key":"/remeda/-/remeda-2.20.2.tgz"},"main":"dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"d30b5580df4225aeb05742ed05bdd81401d1cbc4","scripts":{"lint":"eslint --fix --max-warnings 0 --cache --cache-location ./node_modules/.cache/eslint/","test":"tsc --project tsconfig.tests.json && vitest --typecheck.enabled --typecheck.ignoreSourceErrors","build":"tsup","check":"tsc --project tsconfig.source.json","prepare":"husky","release":"semantic-release","prettier":"prettier . --write","check:dist":"tsc --project tsconfig.dist.json","docs:build":"cd docs && npm ci && npm run build","lint:build":"attw --pack . && publint","test:typing":"vitest --typecheck.only --typecheck.ignoreSourceErrors","test:runtime":"tsc --project tsconfig.tests.json && vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"tkdodo","email":"dominik@dorfmeister.cc"},"repository":{"url":"git+https://github.com/remeda/remeda.git","type":"git"},"_npmVersion":"10.9.2","description":"A utility library for JavaScript and Typescript.","directories":{},"sideEffects":false,"_nodeVersion":"23.8.0","dependencies":{"type-fest":"^4.33.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.6","husky":"^9.1.7","eslint":"^9.19.0","vitest":"^3.0.4","publint":"^0.3.2","prettier":"^3.4.2","@eslint/js":"^9.19.0","typescript":"^5.7.3","@types/node":"^22.13.0","lint-staged":"^15.4.3","semantic-release":"^24.2.1","@types/eslint__js":"^8.42.3","typescript-eslint":"^8.22.0","@vitest/coverage-v8":"^3.0.4","eslint-plugin-jsdoc":"^50.6.3","@arethetypeswrong/cli":"^0.17.3","@vitest/eslint-plugin":"^1.1.25","eslint-plugin-unicorn":"^56.0.1","eslint-config-prettier":"^10.0.1","@types/eslint-config-prettier":"^6.11.3"},"_npmOperationalInternal":{"tmp":"tmp/remeda_2.20.2_1739721492509_0.6096176472891446","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":1739721492737,"_cnpm_publish_time":1739721492737,"dist-tags":{"beta":"2.0.0-beta.29","latest":"2.59.0"}}