graphql-query-to-json
JSON →Converts GraphQL query, mutation, and subscription strings into structured JSON objects, enabling programmatic manipulation and analysis of GraphQL queries. This TypeScript library (v2.0.6, actively maintained on GitHub) is the reverse of json-to-graphql-query. Key differentiators: full GraphQL support including variables, arguments, aliases, inline fragments, enums, and type safety with comprehensive TypeScript definitions. It provides predictable transformation rules and descriptive error handling. Active development, regular releases on npm.
Traffic · last 30 days stale · no recent hits
total hits 21
actors 5 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇳 China · CL · 🇨🇦 Canada
Resources
packagegraphql-query-to-json ↗
API endpoints
full doc /v1/registry/graphql-query-to-json