Skip to content

graphql-wasm/graphql-wasm-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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));

Releases

No releases published

Packages

No packages published

Languages