Gathering detailed insights and metrics for graphql-codegen-core
Gathering detailed insights and metrics for graphql-codegen-core
Gathering detailed insights and metrics for graphql-codegen-core
Gathering detailed insights and metrics for graphql-codegen-core
@graphql-codegen/core
<p align="center"> <img src="https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true" /> </p>
@graphql-codegen/cli
<p align="center"> <img src="https://github.com/dotansimha/graphql-code-generator/blob/master/logo.png?raw=true" /> </p>
graphql-tool-utilities
Common utilities for GraphQL developer tools
@linear/sdk
The Linear Client SDK for interacting with the Linear GraphQL API
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
npm install graphql-codegen-core
November 22, 2024
Published on 22 Nov 2024
October 28, 2024
Published on 28 Oct 2024
October 07, 2024
Published on 07 Oct 2024
July 28, 2024
Published on 28 Jul 2024
July 02, 2024
Published on 02 Jul 2024
June 30, 2024
Published on 30 Jun 2024
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
10,865 Stars
8,329 Commits
1,334 Forks
77 Watching
84 Branches
543 Contributors
Updated on 27 Nov 2024
TypeScript (83.43%)
MDX (14.86%)
JavaScript (1.23%)
Rust (0.48%)
Cumulative downloads
Total Downloads
Last day
9.7%
4,896
Compared to previous day
Last week
22.5%
28,834
Compared to previous week
Last month
14.4%
102,118
Compared to previous month
Last year
8.9%
1,033,271
Compared to previous year
1
https://the-guild.dev/graphql/codegen
GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you can utilize GraphQL Code Generator to generate output from your GraphQL Schema and GraphQL Documents (query/mutation/subscription/fragment).
By analyzing the schema and documents and parsing it, GraphQL Code Generator can output code at a wide variety of formats, based on pre-defined templates or based on custom user-defined ones. Regardless of the language that you're using, GraphQL Code Generator has you covered.
GraphQL Code Generator lets you choose the output that you need, based on plugins, which are very flexible and customizable. You can also write your plugins to generate custom outputs that match your needs.
You can try this tool live on your browser and see some useful examples. Check out GraphQL Code Generator Live Examples.
We currently support and maintain these plugins (TypeScript, Flow, React, Angular, MongoDB, Stencil, Reason, and some more), and there is an active community that writes and maintains custom plugins.
You can find the complete instructions in GraphQL Code Generator website.
Start by installing the basic deps of GraphQL Codegen:
1yarn add graphql 2yarn add -D @graphql-codegen/cli
GraphQL Code Generator lets you setup everything by simply running the following command:
1yarn graphql-codegen init
Question by question, it will guide you through the whole process of setting up a schema, selecting plugins, picking a destination of a generated file, and a lot more.
If you wish to manually setup codegen, follow these instructions.
Besides our docs page, feel free to go through our published Medium articles to get a better grasp of what GraphQL Code Generator is all about:
If this is your first time contributing to this project, please do read our Contributor Workflow Guide before you get started off.
Feel free to open issues and pull requests. We're always welcome support from the community.
For a contribution guide specific to this project, please refer to: http://the-guild.dev/graphql/codegen/docs/custom-codegen/contributing.
Help us keep GraphQL Code Generator open and inclusive. Please read and follow our Code of Conduct as adopted from Contributor Covenant
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
22 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 17/24 approved changesets -- score normalized to 7
Reason
dependency not pinned by hash detected -- score normalized to 1
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
31 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More