@inventi/graphql-api-to-typescript
v1.0.9
Published
[![@inventi/graphql-api-to-typescript](https://img.shields.io/npm/v/@inventi/graphql-api-to-typescript.svg)]()
Downloads
3
Readme
@inventi/graphql-api-to-typescript 🇩🇪
Generate from your graphql endpoint Typescript types! :)
npx @inventi/graphql-api-to-typescript http://yourGraphqllEndpointUrl yourOutputFile.ts
Example
npx @inventi/graphql-api-to-typescript https://swapi-graphql.netlify.app/.netlify/functions/index ./graphqlTypes.ts