Interactive visual graph explorer for any GraphQL API. Current stable version is 2.1.0, supporting GraphQL >=16.5.0 and React >=18.0.0. Features include interactive graph visualization, type documentation panel, Relay skip option, and custom root type selection. Released as middleware for Express, Hapi, Koa, and Fastify, or as a standalone React component. Differentiated from alternatives like GraphiQL by focusing on visual schema exploration rather than query building.
npm install graphql-voyagerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic React integration: import component, CSS, and pass introspection function.
Use import syntax or dynamic import().
Pass introspection as object or Promise-returning function.
Install manually: npm install graphql react.
Use Voyager component for React apps.
Use: import { express as voyagerMiddleware } from 'graphql-voyager/middleware'Change to import statement: import { Voyager } from 'graphql-voyager'Ensure introspection prop is a function that returns a promise, or an object.