graphql-tokenizer

1.0.0 • Public • Published

graphql-tokenizer stability

npm version build status downloads js-standard-style

Tokenize a graphql schema.

Usage

var string = `
  type Film {
    title: String
  }
 
  type Query {
    # Fetch the film by id
    film(id: Int): Film
  }
`
 
  var res = tokenize(Buffer.from(schema))

API

token = tokenize(string)

Tokenize a graphQL string.

See Also

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    12
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    12

Package Sidebar

Install

npm i graphql-tokenizer

Weekly Downloads

12

Version

1.0.0

License

MIT

Last publish

Collaborators

  • yoshuawuyts