{"name":"graphql-yoga","version":"0.3.0-beta3","keywords":["graphql","server","api","graphql-server","apollo"],"author":{"name":"Johannes Schickling","email":"johannes@graph.cool"},"license":"MIT","_id":"graphql-yoga@0.3.0-beta3","maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},{"name":"schickling","email":"schickling.j@gmail.com"}],"homepage":"https://github.com/graphcool/graphql-yoga","bugs":{"url":"https://github.com/graphcool/graphql-yoga/issues"},"dist":{"shasum":"7bc8ade551cda0479e51f8ac50a5c534e489e776","tarball":"http://registry-npm.ywwl.com/graphql-yoga/download/graphql-yoga-0.3.0-beta3.tgz","integrity":"sha512-A/XMI87m4i1TuYNQc/6cl9aSLzTUcLO3/4H52D9v9EK+CCVx3EESvTuCOtbFPhjHLbkfleXdVGRz/UzCW6plrw==","signatures":[{"sig":"MEQCIFMlDOn5AxXjRXehMlC/OVp2dBOHdfmdPLbInqxQhrZsAiBB4FYZgzzT+CQqOGFJY1IiDRDpM5wTxSB8MmsOciaJng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":8189,"noattachment":false,"key":"/graphql-yoga/-/graphql-yoga-0.3.0-beta3.tgz"},"main":"dist/src/index.js","files":["dist"],"scripts":{"lint":"tslint --project tsconfig.json {src,test}/**/*.ts","test":"npm run lint && npm run build","build":"rm -rf dist && tsc -d","prepublish":"npm run build"},"typings":"./dist/src/index.d.ts","_npmUser":{"name":"schickling","email":"schickling.j@gmail.com"},"repository":{"url":"git+https://github.com/graphcool/graphql-yoga.git","type":"git"},"description":"[![Build Status](https://travis-ci.org/graphcool/graphql-yoga.svg?branch=master)](https://travis-ci.org/graphcool/graphql-yoga) [![npm version](https://badge.fury.io/js/graphql-yoga.svg)](https://badge.fury.io/js/graphql-yoga) [![Greenkeeper badge](https:","directories":{},"dependencies":{"cors":"^2.8.4","express":"^4.16.2","graphql":"^0.11.7","portfinder":"^1.0.13","@types/cors":"^2.8.3","apollo-link":"^1.0.6","graphql-tools":"^2.13.0","@types/express":"^4.0.39","@types/graphql":"^0.11.7","apollo-upload-server":"^4.0.0-alpha.1","@types/zen-observable":"^0.5.3","apollo-server-express":"^1.3.0","graphql-subscriptions":"^0.5.5","subscriptions-transport-ws":"^0.9.4","graphql-playground-middleware-express":"^1.3.8-beta.4"},"devDependencies":{"tslint":"^5.8.0","typescript":"^2.6.2","tslint-config-standard":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/graphql-yoga-0.3.0-beta3.tgz_1513271064679_0.3087952043861151","host":"s3://npm-registry-packages"},"readme":"<div align=\"center\"><img src=\"./website/public/cover.png\" width=\"720\" /></div>\n\n<div align=\"center\">\n  <h3>GraphQL Yoga</h3>\n  <h6>Fully-featured GraphQL Server with focus on easy setup, performance & great developer experience</h6>\n  <a href=\"https://www.the-guild.dev/graphql/yoga-server/docs\"><b>Go to documenation</b></a>\n</div>\n\n<br />\n\n<div align=\"center\">\n\n![npm](https://badgen.net/npm/v/graphql-yoga)\n![bundlephobia minified size](https://badgen.net/bundlephobia/min/graphql-yoga)\n![bundlephobia minified+zipped size](https://badgen.net/bundlephobia/minzip/graphql-yoga)\n![bundlephobia treeshaking](https://badgen.net/bundlephobia/tree-shaking/graphql-yoga)\n![license](https://badgen.net/github/license/dotansimha/graphql-yoga)\n\n</div>\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: /* GraphQL */ `\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://localhost:4000/graphql')\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/env-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://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).\n- **Compatible:** Works with all GraphQL clients\n  ([Apollo](https://www.apollographql.com/docs/react/), [Relay](https://relay.dev/),\n  [Urql](https://formidable.com/open-source/urql/)...) and fits seamless in your GraphQL workflow.\n- **WHATWG Fetch API:** the core package depends on\n  [WHATWG Fetch API](https://fetch.spec.whatwg.org/) so it can run and deploy on any environment\n  (Serverless, Workers, Deno, Node).\n- **Easily Extendable:** New GraphQL-Yoga support all [`envelop`](https://www.envelop.dev) plugins.\n\n## [Features](https://www.the-guild.dev/graphql/yoga-server/docs)\n\n- Fully typed with [TypeScript](https://www.typescriptlang.org)\n- [GraphQL over HTTP spec compliant](https://github.com/enisdenjo/graphql-http/tree/master/implementations/graphql-yoga)\n- [GraphiQL included](https://www.the-guild.dev/graphql/yoga-server/docs/features/graphiql)\n- [File uploads with GraphQL Multipart Request spec](https://www.the-guild.dev/graphql/yoga-server/docs/features/file-uploads)\n- [Subscriptions and realtime capabilities](https://www.the-guild.dev/graphql/yoga-server/docs/features/subscriptions)\n- [Automatic persisted queries](https://www.the-guild.dev/graphql/yoga-server/docs/features/automatic-persisted-queries)\n- [Built-in parsing and validation caching](https://www.the-guild.dev/graphql/yoga-server/docs/features/parsing-and-validation-caching)\n- [Testing utilities](https://www.the-guild.dev/graphql/yoga-server/docs/features/testing)\n- Supports [ESM](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules)\n- Runs **everywhere**, including environments like:\n  - [Deno](https://www.the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-deno)\n  - [Bun](https://www.the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-bun)\n  - [Cloudflare Workers](https://www.the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-cloudflare-workers)\n  - [AWS Lambda](https://www.the-guild.dev/graphql/yoga-server/docs/integrations/integration-with-aws-lambda)\n  - [_And other..._](https://www.the-guild.dev/graphql/yoga-server/docs/integrations/z-other-environments)\n- [_And more..._](https://www.the-guild.dev/graphql/yoga-server/docs)\n\n## [Documentation](https://www.the-guild.dev/graphql/yoga-server/docs)\n\nOur [documentation website](https://www.the-guild.dev/graphql/yoga-server/docs) will help you get\nstarted.\n\n## [Examples](https://github.com/dotansimha/graphql-yoga/tree/main/examples)\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/` folder.](https://github.com/dotansimha/graphql-yoga/tree/main/examples)\n\n## [Comparison](https://www.the-guild.dev/graphql/yoga-server/docs/comparison)\n\nRead more about how GraphQL Yoga compares to other servers in the ecosystem\n[here](https://www.the-guild.dev/graphql/yoga-server/docs/comparison).\n\n## Contributing\n\nIf this is your first time contributing to this project, please do read our\n[Contributor Workflow Guide](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md)\nbefore you get started off.\n\nFor this project in particular, to get started on `stage/2-failing-test`:\n\n1. Install [Node.js](https://nodejs.org/)\n2. Run in your terminal: `npm i -g pnpm@8 && pnpm install && pnpm build`\n3. Add tests to `packages/graphql-yoga/__tests__` using [Jest](https://jestjs.io/docs/api) 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://github.com/the-guild-org/Stack/blob/master/CODE_OF_CONDUCT.md) as adopted\nfrom [Contributor Covenant](https://www.contributor-covenant.org/).\n\n## License\n\nMIT\n","publish_time":1513271066577,"_cnpm_publish_time":1513271066577,"dist-tags":{"alpha":"6.2.0-alpha-20261126100851-58d9782f151a975e802f1a545a315263d8d886a7","beta":"2.0.0-beta.8","canary":"2.13.7-canary-4a8cc11.0","latest":"6.1.1","rc":"6.1.2-rc-20261124205929-9595907fc2bef8a397343bd288fef4685ab9f508","three":"3.0.0-next.12"}}