{"library":"megaera","type":"library","category":null,"description":"GraphQL to TypeScript code generator that derives TypeScript types from GraphQL queries, fragments, and mutations. Version 1.0.2 is the latest stable release. It generates typed query function signatures (including variables and return types) directly from .graphql files, copying the query string into the output for easy reuse. Key differentiators: lightweight, no runtime dependency, supports Variables utility type, and outputs type-only imports. Unlike alternatives (GraphQL Code Generator, graphql-let), megaera focuses on simplicity and minimal configuration, with a single CLI command.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","graphql","typescript","generator"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install megaera","imports":["import { Variables } from 'megaera'","import type { IssuesQuery } from './query.graphql.ts'","import { IssuesQuery } from './query.graphql.ts'"]},{"cmd":"yarn add megaera","imports":[]},{"cmd":"pnpm add megaera","imports":[]}],"homepage":"https://github.com/webpod/graphql-megaera","github":"https://github.com/webpod/graphql-megaera","docs":null,"changelog":null,"pypi":null,"npm":"megaera","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}