Parse Graphql Query.
npm install parse-graphql    
Given a GraphQL source, parses it into a Document.
Throws GraphQLError if a syntax error is encountered.
This module is basically a standalone version (70KB unminified) for require('graphql').parse (1.8MB).
``bash`
yarn add parse-graphql
`js
const { parse } = require('parse-graphql')
parse({
user {
name
id
}
})`
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
parse-graphql © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
> github.com/egoist · GitHub @EGOIST