graphql-deduplicator

JSON →
library 2.0.6 ·javascript maintenance
verified Jun 7, 2026

A GraphQL response deduplicator that removes duplicate entities from GraphQL responses to reduce payload size. Version 2.0.6 is the latest stable release; maintenance is sporadic. It works by using __typename and id fields to identify duplicate resources and strips the body of duplicates. It differentiates from other compression techniques by being lossless for normalized caches like Apollo Client. Requires Node >6.0.0.