simpleql-parse
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

SimpleQL

NPM version build status Test coverage npm download

A simple query language, just like grathql, but much simple.

Usage

import { parse } from 'simpleql-parse';
const astTree = parse(`
  $root: Member {
    honourMember: member
    payerStatus
  }
  foo: All
  Contract(id: $id)
  clause: Fengdie(path: insmutual_clause, base: $foo) {
    a
    b: bdc
  }
  latest: *Fengdie(insxhbbff_old_upgrade)
`);

Readme

Keywords

none

Package Sidebar

Install

npm i simpleql-parse

Weekly Downloads

4

Version

1.2.2

License

MIT

Unpacked Size

2.68 MB

Total Files

25

Last publish

Collaborators

  • shepherdwind