npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

graphql-tokenizer

1.0.0

@yoshuawuyts

npmHomeRepoSnykSocket
Downloads:16
$ npm install graphql-tokenizer
DailyWeeklyMonthlyYearly

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

  • https://github.com/facebook/graphql

License

MIT