generate-graphql-operations
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

generate-graphql-operations

Generates GraphQL queries/mutations/subscriptions (gql files) based on a GraphQL schema

Currently it only supports typescript imports

Intallation

npm i generate-graphql-operations

Usage

generate-gql-ops --path [path_of_generated_file] --url [url_of_graphql_server]

OR (untested) generate-gql-ops --path [path_of_generated_file] --file [schema_file_in_json_or_graphql]

Package Sidebar

Install

npm i generate-graphql-operations

Weekly Downloads

26

Version

0.0.7

License

MIT

Unpacked Size

12.4 kB

Total Files

7

Last publish

Collaborators

  • brense