{"name":"@graphql-yoga/node","version":"0.1.0-canary-c76d3fc.0","description":"```js const { GraphQLSchema, GraphQLObjectType, GraphQLString } = require('graphql') const { createServer } = require('@graphql-yoga/node')","peerDependencies":{"graphql":"^15.2.0 || ^16.0.0"},"dependencies":{"@envelop/core":"^1.7.1","@graphql-tools/utils":"^8.6.0","@graphql-typed-document-node/core":"^3.1.1","@graphql-yoga/common":"0.3.0-canary-c76d3fc.0","@graphql-yoga/subscription":"0.1.0-alpha.0","cross-undici-fetch":"^0.1.16","light-my-request":"^4.7.0","pino":"^7.2.0","pino-pretty":"^7.2.0"},"repository":{"type":"git","url":"git+https://github.com/dotansimha/graphql-yoga.git","directory":"packages/node"},"keywords":["graphql","server","api","graphql-server"],"author":{"name":"Saihajpreet Singh","email":"saihajpreet.singh@gmail.com","url":"https://saihaj.dev/"},"license":"MIT","main":"index.js","module":"index.mjs","typings":"index.d.ts","typescript":{"definition":"index.d.ts"},"exports":{".":{"require":"./index.js","import":"./index.mjs"},"./*":{"require":"./*.js","import":"./*.mjs"},"./package.json":"./package.json"},"readme":"# `@graphql-yoga/node`\n\n```js\nconst { GraphQLSchema, GraphQLObjectType, GraphQLString } = require('graphql')\nconst { createServer } = require('@graphql-yoga/node')\n\nconst schema = new GraphQLSchema({\n  query: new GraphQLObjectType({\n    name: 'Query',\n    fields: () => ({\n      song: {\n        type: new GraphQLObjectType({\n          name: 'Song',\n          fields: () => ({\n            firstVerse: {\n              type: GraphQLString,\n              resolve: (_, __, { logger }) => {\n                logger.info('I can even use the same logger!')\n                return \"Now I know my ABC's.\"\n              },\n            },\n            secondVerse: {\n              type: GraphQLString,\n              resolve: () =>\n                new Promise((resolve) =>\n                  setTimeout(\n                    () => resolve(\"Next time won't you sing with me?\"),\n                    5000,\n                  ),\n                ),\n            },\n          }),\n        }),\n        resolve: () => ({}),\n      },\n    }),\n  }),\n})\n\nconst server = createServer({ schema })\nserver.start()\n```\n","readmeFilename":"README.md","gitHead":"c76d3fc09aec8a7dcf111bc5098ecfd53a20c3c1","bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"homepage":"https://github.com/dotansimha/graphql-yoga#readme","_id":"@graphql-yoga/node@0.1.0-canary-c76d3fc.0","_nodeVersion":"17.4.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-aEMy3HsIZ0KcLuA84liIQ1J11DEtCrlzHB2DwiPM/fO3d6EDFy+6GhuTvwdZ3bU8Imtewo6BC4P77QbW5DJooQ==","shasum":"decd93621ef552f04dc6ff1b39489ade3722f234","tarball":"http://registry-npm.ywwl.com/@graphql-yoga/node/download/@graphql-yoga/node-0.1.0-canary-c76d3fc.0.tgz","fileCount":7,"unpackedSize":26883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6TTdCRA9TVsSAnZWagAA1KcP/00SgYhnAOyfba/RpvYz\n/1/9mQUvlMwjZv3aLUILqC/5nChZNwaPBQc5ViAWvoeARFnmzapMdwOR8/q5\nf6CJplVQOhxULzbDx7/ljkr02bwe0iYmWbg/omNSE3HPNMq5NokmqBJx7+nn\nVD/Np4NY+xHt91A+dtDfM8wTyYuIDrwY1kKyaw29KTZjPx1s8uerTj+5Ozwl\nJ1Cn9dUDlSRyiHjlks0WXgJVAsKL6DmdW7fXWMeY/hagg61RkacrmXftfhMh\nBWg0efupWEYIsz0c+ZbgAblrEmQ/NWcEYJU0dRFdUFJwKx8Zy8WuoHJ75Drm\no22HQjmWG8bclkCcYFc49j7HDu2TGHQof0o1GCK9XGFAFxk/ZWY+HUHwuX2p\n1TzEqBjwXslanpUu1qqBDNZonBUWkcSwqIPwOaaEDxJoWlvDDQ5E9oxwRs9P\nI/0rGzYPpJApgTgRUqfsCAnPHZwmhcBsRvoZlpkVhgZo72lhD3UCeRxh1PAb\nI62rt8y2566zMxC+717qZxmDq0Zn57TSkOzyJMQ4yoCwIesHwNL6Gx7DaErC\n059ztPZkkmuqW78hfKyzpNN2r71m/fzxVStK40hPS7C4f9ci1zl9B79hOTdP\n5FJ6gEnJUtvTV4zptJm27nNpAuWepDtkCYQ07JsL2Ou0LKvm6kdxj6glDnpU\nIw4+\r\n=ZYxb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+f8dlLA119CUc6iAT5d5mqU5bN4tqXCy4lvo7WgZSxwIhAJ1qsaZI4UBnRi9Tvf2rISoo+sFZm1Q5OLF7JsBj+h5S"}],"size":5008,"noattachment":false,"key":"/@graphql-yoga/node/-/@graphql-yoga/node-0.1.0-canary-c76d3fc.0.tgz"},"_npmUser":{"name":"dotansimha","email":"dotansimha@gmail.com"},"directories":{},"maintainers":[{"name":"urigo","email":"uri.goldshtein@gmail.com"},{"name":"dotansimha","email":"dotansimha@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node_0.1.0-canary-c76d3fc.0_1642673373296_0.8893551440057694"},"_hasShrinkwrap":false,"publish_time":1642673373439,"_cnpm_publish_time":1642673373439,"dist-tags":{"alpha":"4.0.0-alpha-20230524220104-1dff0f25","beta":"0.1.0-beta.8","canary":"2.13.7-canary-4a8cc11.0","latest":"3.9.1","rc":"4.0.0-rc-20230524220214-1dff0f25","three":"3.0.0-next.12"}}