convert a graphql schema to a typescript definition
TypeScript JavaScript
Latest commit 0951d7f Jan 8, 2018 @brettjurgens brettjurgens add JSDoc tags (#117)
* add JSDoc tags

* add mutation test

* add option to remove deprecated fields altogether

Readme.md

GQL2TS

Greenkeeper badge

npm version TravisCI Build Status AppVeyor Build status Coveralls Coverage

# for CLI
npm install -g gql2ts

# for programmatic use
npm install @gql2ts/from-query
npm install @gql2ts/from-schema

See the packages directory for package Readmes.

packages/cli                  # gql2ts CLI
packages/from-query           # @gql2ts/from-query
packages/from-schema          # @gql2ts/from-schema
packages/language-flow        # @gql2ts/language-flow
packages/language-typescript  # @gql2ts/language-typescript
packages/types                # @gql2ts/types
packages/util                 # @gql2ts/util