{"name":"remeda","version":"2.17.4","description":"A utility library for JavaScript and Typescript.","keywords":["algo","algorithm","curried","fp","functional","generics","lodash","ramda","stdlib","toolkit","ts","types","typescript","underscore","util","utilities","utility","utils"],"homepage":"https://remedajs.com/","bugs":{"url":"https://github.com/remeda/remeda/issues"},"repository":{"type":"git","url":"git+https://github.com/remeda/remeda.git"},"license":"MIT","author":{"name":"Łukasz Sentkiewicz"},"sideEffects":false,"type":"module","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"main":"dist/index.cjs","module":"dist/index.js","scripts":{"build":"tsup","check":"tsc --project tsconfig.source.json","check:dist":"tsc --project tsconfig.dist.json","coverage":"vitest run --coverage","docs:build":"cd docs && npm ci && npm run build:all","lint":"eslint --fix --max-warnings 0 --cache --cache-location ./node_modules/.cache/eslint/","lint:build":"attw --pack . && publint","prepare":"husky","prettier":"prettier . --write","release":"semantic-release","test":"tsc --project tsconfig.tests.json && vitest --typecheck.enabled --typecheck.ignoreSourceErrors","test:runtime":"tsc --project tsconfig.tests.json && vitest","test:typing":"vitest --typecheck.only --typecheck.ignoreSourceErrors"},"dependencies":{"type-fest":"^4.27.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.16.4","@eslint/js":"^9.14.0","@types/eslint__js":"^8.42.3","@types/eslint-config-prettier":"^6.11.3","@types/node":"^22.8.6","@vitest/coverage-v8":"^2.1.4","@vitest/eslint-plugin":"^1.1.7","eslint":"^9.14.0","eslint-config-prettier":"^9.1.0","eslint-plugin-jsdoc":"^50.4.3","eslint-plugin-unicorn":"^56.0.0","husky":"^9.1.6","lint-staged":"^15.2.10","prettier":"^3.3.3","publint":"^0.2.12","semantic-release":"^24.2.0","tsup":"^8.3.5","typescript":"^5.6.3","typescript-eslint":"^8.12.2","vitest":"^2.1.4"},"_id":"remeda@2.17.4","gitHead":"3f088bb9f4a0f3a4407d0c33ded63c47f1ef651b","types":"./dist/index.d.ts","_nodeVersion":"22.11.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-pviU2Ag7Qx9mOCAKO4voxDx/scfLzdhp3v85qDO4xxntQsU76uE9sgrAAdK1ATn4zzaOJqCXYMMNRP+O9F4Wiw==","shasum":"a09cb1cf57a3b0c113e3210f568be8c5423800b9","tarball":"http://registry-npm.ywwl.com/remeda/download/remeda-2.17.4.tgz","fileCount":997,"unpackedSize":784708,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFcNJfmtDFLGKdZxGBR/EXT0YpvsNn+U80Xoasq/QKDeAiA7Urmfzq9PwUEENeu7OeRhvgpzDmn8jUXvDIdtXANNCg=="}],"size":173555,"noattachment":false,"key":"/remeda/-/remeda-2.17.4.tgz"},"_npmUser":{"name":"tkdodo","email":"dominik@dorfmeister.cc"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remeda_2.17.4_1732604097183_0.524039736440856"},"_hasShrinkwrap":false,"readme":"# 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[![NPM](https://img.shields.io/npm/v/remeda?logo=npm&style=flat-square)](https://www.npmjs.org/package/remeda)\n[![NPM Downloads](https://img.shields.io/npm/dm/remeda?logo=npm&style=flat-square)](https://npmtrends.com/remeda)\n![GitHub Repo stars](https://img.shields.io/github/stars/remeda/remeda?logo=github&style=flat-square)\n[![Libraries.io SourceRank](https://img.shields.io/librariesio/sourcerank/npm/remeda?logo=librariesdotio&style=flat-square)](https://libraries.io/npm/remeda/sourcerank)<br />\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[![GitHub Release Date](https://img.shields.io/github/release-date/remeda/remeda?logo=npm&style=flat-square)](https://github.com/remeda/remeda/releases)\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](CONTRIBUTING.md).\n\n## Features\n\n- First-class TypeScript support, with types that are as specific as possible.\n- Supports data-first (`R.filter(array, fn)`) and data-last (`R.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\n```\n\n### Usage\n\n```js\n// Import everything:\nimport * as R from \"remeda\";\n\n// Or import methods individually:\n// import { pipe, tap, unique, take } from \"remeda\";\n\nR.pipe(\n  [1, 2, 2, 3, 3, 4, 5, 6],\n  R.tap((value) => console.log(`Got ${value}`)),\n  R.unique(),\n  R.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":1732604097403,"maintainers":[{"name":"lsentkiewicz","email":"sirmims@gmail.com"},{"name":"tkdodo","email":"dominik@dorfmeister.cc"}],"_cnpm_publish_time":1732604097403,"dist-tags":{"beta":"2.0.0-beta.29","latest":"2.59.0"}}