@remoklify/graphql-to-typescript
v1.0.7
Published
Command-line interface generator that generates typescript codes for client by only taking the inputs GraphQL Api url and Authorization.
Downloads
6
Maintainers
Readme
Command-line interface generator that generates typescript codes for client by only taking the inputs GraphQL Api url and Authorization.
About the NPM Package
Package Installation
npm install -g @remoklify/graphql-to-typescript
Usage
Go to directory you want to generate client typescript codes from graphql schema:
cd Directory
Run command:
remoklify-graphql-codegen
Give the GraphQL API url and auth token if necessary (without bearer)
- ? GraphQL API Url: https://api.github.com/graphql
- ? Auth Token (Optional): ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Check the directory /schema
cd schema
Sponsors
No sponsors yet! Will you be the first?
Contributors
LICENSE
The source code for this project is released under the MIT License.