GraphQL Prettier
JSON →Prettify & simplify GraphQL queries, mutations, and subscriptions by removing duplicate fields and formatting the output. Version 1.0.6 is the current stable release, with no recent updates or defined release cadence. It offers a simple function-based API with an optional noDuplicates parameter to control deduplication. Compared to general formatters like prettier with graphql plugin, this package focuses only on deduplication and basic indentation. Lightweight with no runtime dependencies.
Resources
packagegraphql-prettier ↗