{"repo":"uhyo/nitrogql","free":true,"listed":false,"github":"https://github.com/uhyo/nitrogql","clone":"git clone https://github.com/uhyo/nitrogql.git","description":"GraphQL + TypeScript toolchain","language":"Rust","stars":330,"topics":["graphql","typescript"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"GraphQL + TypeScript. Done right. Documentation nitrogql nitrogql is a toolchain for using GraphQL in TypeScript projects. Main features include: Type generation with sourcemap support. nitrogql generates TypeScript types for your GraphQL schema and queries. It also generates a sourcemap file that maps the generated types to the original GraphQL schema and queries. With sourcemaps, you will never see generated code in your IDE, and you will always be able to jump to the original source code. Static check for GraphQL code. nitrogql can check your GraphQL code statically and guard you from any runtime errors caused by type mismatch. Installation Install the nitrogql CLI with npm: The CLI will enable you to check GraphQL files and generate types. Read more about the CLI in the CLI documentation. To use GraphQL in your front-end project, you will also need to install appropriate loader. For webpack-based projects: For Rollup-based projects: Feedback wanted! Do you use GraphQL Code Generator? nitrogql wants to be a great alternative to GraphQL Code Generator. If you are using it and you have time, read our documentation to check whether you can replace GraphQL Code Generator with nitrogql. If you can't, what blocks you from doing so? Please leave us feedback!","default_branch":null,"files":null,"tree":[],"storefront":"/r/uhyo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/uhyo/nitrogql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}