百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

nitrogql

> 后端框架
开源

GraphQL + TypeScript 工具链

330 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

GraphQL + TypeScript 工具链

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:

bash
npm install --save-dev @nitrogql/cli

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:

bash
npm install --save-dev @nitrogql/graphql-loader

For Rollup-based projects:

bash
npm install --save-dev @nitrogql/rollup-plugin

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!

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustgraphqltypescript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架