0.0.2 • Published 5 years ago

graphql-wasm-parser v0.0.2

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

WebAssembly GraphQL parser

GraphQL parser in WebAssembly, compiled from Rust.

Status: experimental

API/AST structure will probably change. No semantic validation at the moment, just syntax (e.g. you can declare a field twice).

Usage via NPM

Published at npm as graphql-wasm-parser. Add it as dependency and use it like any other js module:

const { parse } = require('graphql-wasm-parser');

const ast = parse("{foo}");
console.log(JSON.stringify(ast));