{"library":"graphql-codegen-mock-results","type":"library","category":null,"description":"GraphQL Code Generator plugin for generating mock results for GraphQL operations based on your documents and schema. Current stable version is 1.0.8. It integrates with the GraphQL Codegen ecosystem, supports both JavaScript and TypeScript output, and requires peer dependency graphql (multiple versions supported). Key differentiators: automatically generates realistic mock data for queries and mutations, supports custom scalars, configurable naming conventions, and adds __typename when needed. It works seamlessly with @graphql-codegen/typescript and @graphql-codegen/typescript-operations for typed mocks.","language":"javascript","status":"active","version":"1.0.8","tags":["javascript","graphql","codegen","mock","test","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install graphql-codegen-mock-results","imports":["Use the plugin via graphql-codegen config, not direct import. Refer to the codegen config as shown in README.","The generated file exports mock variables like `const userQueryMock = ...`. No import needed from the package itself.","Configure in codegen.yml as a plugin, e.g., `plugins: - graphql-codegen-mock-results` with options."]},{"cmd":"yarn add graphql-codegen-mock-results","imports":[]},{"cmd":"pnpm add graphql-codegen-mock-results","imports":[]}],"homepage":"https://github.com/ryan-m-walker/graphql-codegen-mock-results","github":"https://github.com/ryan-m-walker/graphql-codegen-mock-results","docs":null,"changelog":null,"pypi":null,"npm":"graphql-codegen-mock-results","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}