1.1.0 • Published 5 years ago

introspect-graphql v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

introspect-graphql

Given a string representing a GraphQL schema as input, yield the result of the introspection query as output.

Usage

$ echo "schema { query: Query } type Query { foo: String }" | introspect-graphql
{
  "data": {
    "__schema": {
      "queryType": {
        "name": "Query"
      },
...