graphql-normalizr
JSON →A lightweight library that normalizes GraphQL responses into a flat, entity-based structure (e.g., { EntityType: { id: entity } }) suitable for client-side caching in Flux/Redux stores or local state management. As of v2.10.3, it supports any GraphQL version from 0.11 to 15.x and works in both Node.js and browser environments. Unlike normalizr (which is schema-based), graphql-normalizr leverages the `__typename` field and `id` field automatically, simplifying integration with GraphQL clients. It is unopinionated about caching strategies and does not require defining schemas upfront. It is actively maintained with regular releases.
Resources
packagegraphql-normalizr ↗
API endpoints
full doc /v1/registry/graphql-normalizr