1.0.3 • Published 5 years ago
gql-query-parser v1.0.3
gql-query-parser
graphql查询语句解析器(此工具仅个人需求,如果你没有同样的需求,那么请勿安装)
安装
npm install gql-query-parser
使用
import {parse} from 'gql-query-parser'
//其中parse用于对gql字符串进行解析
const result = parse('gql query content')
console.log(result)