graphql-crunch

JSON →
library 2.2.0 ·javascript
verified Jun 7, 2026

Version 2.2.0. Normalizes GraphQL responses by flattening the object hierarchy into an array and deduplicating repeated values, reducing raw payload size (e.g., 76% reduction on Banter.fm) and improving JSON parse speed on mobile. Supports any GraphQL client (Apollo, Relay, etc.) via lossless crunch/uncrunch functions. Ships TypeScript types. Actively maintained.