{"library":"parrot-graphql","type":"library","category":null,"description":"Parrot-GraphQL is a helper library for creating GraphQL mocks used with Parrot, resolving both GET and POST requests to GraphQL endpoints. Version 5.3.0 wraps @graphql-tools/mock's mockServer to define mocking logic per schema type. It simplifies mocking GraphQL queries by allowing users to provide a schema string and custom mock resolvers, integrated seamlessly with Parrot's scenario-based testing. Released under American Express, it targets Node.js with CommonJS require syntax, though ESM may be available in newer versions. The library is ideal for integration and end-to-end testing with GraphQL APIs.","language":"javascript","status":"active","version":"5.3.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install parrot-graphql","imports":["const { graphql } = require('parrot-graphql');","import { graphql } from 'parrot-graphql';","const graphql = require('parrot-graphql').graphql;"]},{"cmd":"yarn add parrot-graphql","imports":[]},{"cmd":"pnpm add parrot-graphql","imports":[]}],"homepage":"https://github.com/americanexpress/parrot#readme","github":"https://github.com/americanexpress/parrot","docs":null,"changelog":null,"pypi":null,"npm":"parrot-graphql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}