Dynamic and static documentation generator for GraphQL schemas. Version 0.2.0 requires React 15.x and provides a React component that fetches schema data via a fetcher function. It aims to offer a clearer overview than GraphiQL without query features, generating markdown-rendered documentation with recursive type discovery. The project has low release cadence and is superseded by tools like graphql-voyager or GraphiQL's own docs.
npm install graphql-docsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Renders a dynamic documentation explorer by providing a GraphQL fetcher function.
Migrate to graphql-voyager or integrate GraphiQL's documentation panel.
Use an older React version or fork the package to update dependencies.
Use `import { GraphQLDocs } from 'graphql-docs'` in bundler environments.Ensure React and ReactDOM are loaded before graphql-docs.min.js, e.g., <script src="react.min.js"></script><script src="graphql-docs.min.js"></script>
Run `npm install --save graphql-docs` in your project directory.