# APIs-guru/graphql-lodash

🛠 Data manipulation for GraphQL queries with lodash syntax

Repository: https://github.com/APIs-guru/graphql-lodash
Canonical: https://ross.abutalabs.com/products/graphql-lodash
Homepage: https://apis.guru/graphql-lodash/
Language: TypeScript
License: MIT
License Family: permissive
Topics: graphql, functional-programming, api, lodash
Last push: 2022-06-21T21:48:08+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3445, "days_push": 1534, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1232, forks 47 (observed 2026-08-28T04:04:04.420170+00:00)

## What it is
A TypeScript library that embeds lodash-style data transformation directives (@_) directly inside GraphQL queries, returning a transform function to reshape response data. It explores query-and-transformation collocation for GraphQL clients.

## Use cases
- reshape graphql response data with lodash syntax
- transform graphql query results without extra code
- compute aggregates like max or group by inside graphql queries
- collocate data shaping with the query that fetches it
- wrap a graphql client to auto-transform responses

## When to choose
- you want to reshape or aggregate GraphQL responses declaratively in the query itself
- you already use lodash and want familiar transformation syntax
- you want to reduce post-fetch data-mapping code in clients

## When to avoid
- you need a production-supported, actively maintained solution - the project is explicitly experimental and releases are infrequent
- your server cannot strip custom directives or you cannot modify the query before sending
- you prefer doing transformations in resolvers or on the server

## Facets
- artifact type: library
- maturity: experimental
- function: graphql, serialization, middleware
- domain: web-development, apis, frontend, developer-tools
- platform: cross-platform
- tags: graphql, lodash, data-transformation, query-directives, functional-programming, client-side, nodejs, javascript, typescript

## Member repositories
- APIs-guru/graphql-lodash (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:04.420170+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:22:18.482786+00:00, confidence not recorded.
  - readme: https://github.com/APIs-guru/graphql-lodash (fetched 2026-08-28T04:04:04.420170+00:00, sha 62e85ca3b3d9)
  - registry_npm: https://registry.npmjs.org/graphql-lodash (fetched 2026-08-29T12:21:48.180330+00:00, sha e2934c8107c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
