introspect-graphql

1.1.0 • Public • Published

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"
      },
...

Package Sidebar

Install

npm i introspect-graphql

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

2.53 kB

Total Files

4

Last publish

Collaborators

  • marreman