[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10179":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":18,"lastSyncTime":40,"discoverSource":41},10179,"graphql-yoga","graphql-hive\u002Fgraphql-yoga","graphql-hive","🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience.  The core of Yoga implements WHATWG Fetch API and can run\u002Fdeploy on any JS environment.","https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fyoga-server",null,"TypeScript",8523,591,62,103,0,1,2,6,3,39.32,"MIT License",false,"main",[26,27,28,29,30,31,32,33,34,35,36],"bun","deno","fetch","graphql","graphql-server","javascript","nodejs","the-guild","typescript","w3c","whatwg","2026-06-12 02:02:18","\u003Cdiv align=\"center\">\u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fgraphql-hive\u002Fgraphql-yoga\u002Frefs\u002Fheads\u002Fmain\u002Fwebsite\u002Fpublic\u002Fcover.png\" width=\"720\" \u002F>\u003C\u002Fdiv>\n\n\u003Cdiv align=\"center\">\n  \u003Ch3>GraphQL Yoga\u003C\u002Fh3>\n  \u003Ch6>Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience\u003C\u002Fh6>\n  \u003Ca href=\"https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\">\u003Cb>Go to documentation\u003C\u002Fb>\u003C\u002Fa>\n\u003C\u002Fdiv>\n\n\u003Cbr \u002F>\n\n\u003Cdiv align=\"center\">\n\n![npm](https:\u002F\u002Fbadgen.net\u002Fnpm\u002Fv\u002Fgraphql-yoga)\n![bundlephobia minified size](https:\u002F\u002Fbadgen.net\u002Fbundlephobia\u002Fmin\u002Fgraphql-yoga)\n![bundlephobia minified+zipped size](https:\u002F\u002Fbadgen.net\u002Fbundlephobia\u002Fminzip\u002Fgraphql-yoga)\n![bundlephobia treeshaking](https:\u002F\u002Fbadgen.net\u002Fbundlephobia\u002Ftree-shaking\u002Fgraphql-yoga)\n![license](https:\u002F\u002Fbadgen.net\u002Fgithub\u002Flicense\u002Fgraphql-hive\u002Fgraphql-yoga)\n\n\u003C\u002Fdiv>\n\n## Quick start\n\n### Install\n\n```sh\npnpm add graphql-yoga graphql\n```\n\n### Start\n\nMake a schema, create Yoga and start a Node server:\n\n```ts\nimport { createServer } from 'node:http'\nimport { createSchema, createYoga } from 'graphql-yoga'\n\nconst yoga = createYoga({\n  schema: createSchema({\n    typeDefs: \u002F* GraphQL *\u002F `\n      type Query {\n        hello: String\n      }\n    `,\n    resolvers: {\n      Query: {\n        hello: () => 'Hello from Yoga!'\n      }\n    }\n  })\n})\n\nconst server = createServer(yoga)\n\nserver.listen(4000, () => {\n  console.info('Server is running on http:\u002F\u002Flocalhost:4000\u002Fgraphql')\n})\n```\n\n## Overview\n\n- **Easiest way to run a GraphQL server:** Sensible defaults & includes everything you need with\n  minimal setup (we also export a platform\u002Fenv-agnostic handler so you can build your own wrappers\n  easily).\n- **Includes Subscriptions:** Built-in support for GraphQL subscriptions using\n  [**S**erver-**S**ent **E**vents](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FAPI\u002FServer-sent_events\u002FUsing_server-sent_events).\n- **Compatible:** Works with all GraphQL clients\n  ([Apollo](https:\u002F\u002Fwww.apollographql.com\u002Fdocs\u002Freact\u002F), [Relay](https:\u002F\u002Frelay.dev\u002F),\n  [Urql](https:\u002F\u002Fformidable.com\u002Fopen-source\u002Furql\u002F)...) and fits seamless in your GraphQL workflow.\n- **WHATWG Fetch API:** the core package depends on\n  [WHATWG Fetch API](https:\u002F\u002Ffetch.spec.whatwg.org\u002F) so it can run and deploy on any environment\n  (Serverless, Workers, Deno, Node).\n- **Easily Extendable:** New GraphQL-Yoga support all [`envelop`](https:\u002F\u002Fwww.envelop.dev) plugins.\n\n## [Features](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs)\n\n- Fully typed with [TypeScript](https:\u002F\u002Fwww.typescriptlang.org)\n- [GraphQL over HTTP spec compliant](https:\u002F\u002Fgithub.com\u002Fenisdenjo\u002Fgraphql-http\u002Ftree\u002Fmaster\u002Fimplementations\u002Fgraphql-yoga)\n- [GraphiQL included](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Ffeatures\u002Fgraphiql)\n- [File uploads with GraphQL Multipart Request spec](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Ffeatures\u002Ffile-uploads)\n- [Subscriptions and realtime capabilities](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Ffeatures\u002Fsubscriptions)\n- [Automatic persisted queries](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Ffeatures\u002Fautomatic-persisted-queries)\n- [Built-in parsing and validation caching](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Ffeatures\u002Fparsing-and-validation-caching)\n- [Testing utilities](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Ffeatures\u002Ftesting)\n- Supports [ESM](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FJavaScript\u002FGuide\u002FModules)\n- Runs **everywhere**, including environments like:\n  - [Deno](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Fintegrations\u002Fintegration-with-deno)\n  - [Bun](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Fintegrations\u002Fintegration-with-bun)\n  - [Cloudflare Workers](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Fintegrations\u002Fintegration-with-cloudflare-workers)\n  - [AWS Lambda](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Fintegrations\u002Fintegration-with-aws-lambda)\n  - [_And other..._](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Fintegrations\u002Fz-other-environments)\n- [_And more..._](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs)\n\n## [Documentation](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs)\n\nOur [documentation website](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs) will help you get\nstarted.\n\n## [Examples](https:\u002F\u002Fgithub.com\u002Fgraphql-hive\u002Fgraphql-yoga\u002Ftree\u002Fmain\u002Fexamples)\n\nWe've made sure developers can quickly start with GraphQL Yoga by providing a comprehensive set of\nexamples.\n[See all of them in the `examples\u002F` folder.](https:\u002F\u002Fgithub.com\u002Fgraphql-hive\u002Fgraphql-yoga\u002Ftree\u002Fmain\u002Fexamples)\n\n## [Comparison](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Fcomparison)\n\nRead more about how GraphQL Yoga compares to other servers in the ecosystem\n[here](https:\u002F\u002Fwww.the-guild.dev\u002Fgraphql\u002Fyoga-server\u002Fdocs\u002Fcomparison).\n\n## Contributing\n\nIf this is your first time contributing to this project, please do read our\n[Contributor Workflow Guide](https:\u002F\u002Fgithub.com\u002Fthe-guild-org\u002FStack\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md)\nbefore you get started off.\n\nFor this project in particular, to get started on `stage\u002F2-failing-test`:\n\n1. Install [Node.js](https:\u002F\u002Fnodejs.org\u002F)\n2. Run in your terminal: `npm i -g pnpm@8 && pnpm install && pnpm build`\n3. Add tests to `packages\u002Fgraphql-yoga\u002F__tests__` using [Jest](https:\u002F\u002Fjestjs.io\u002Fdocs\u002Fapi) APIs\n4. Run the tests with `pnpm test`\n\nFeel free to open issues and pull requests. We're always welcome support from the community.\n\n## Code of Conduct\n\nHelp us keep Yoga open and inclusive. Please read and follow our\n[Code of Conduct](https:\u002F\u002Fgithub.com\u002Fthe-guild-org\u002FStack\u002Fblob\u002Fmaster\u002FCODE_OF_CONDUCT.md) as adopted\nfrom [Contributor Covenant](https:\u002F\u002Fwww.contributor-covenant.org\u002F).\n\n## License\n\nMIT\n","GraphQL Yoga 是一个专注于简化设置、提升性能和优化开发者体验的全功能 GraphQL 服务器。它基于 WHATWG Fetch API 构建，确保了在任何 JavaScript 环境下（包括 Node.js、Deno 和 Serverless）都能运行和部署。项目支持订阅功能，通过 Server-Sent Events 实现，并且兼容所有主流的 GraphQL 客户端如 Apollo、Relay 和 Urql。此外，Yoga 提供了易于扩展的设计，支持使用 envelop 插件进行功能增强。此工具非常适合需要快速搭建高性能且灵活的 GraphQL 服务的应用场景。","2026-06-11 03:27:03","top_topic"]