{"name":"@graphql-yoga/node","version":"0.0.1-canary-38b11e0.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.2.1-canary-38b11e0.0","@graphql-yoga/subscription":"0.2.0-canary-38b11e0.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":"38b11e0fb23078a3f7cf1a14d97b81acfc078b1b","bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"homepage":"https://github.com/dotansimha/graphql-yoga#readme","_id":"@graphql-yoga/node@0.0.1-canary-38b11e0.0","_nodeVersion":"17.4.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-gvlOPfrqyCJE7UGY/RaG7D/5dUIWHleGGp24kpG+NGmQ/W2+DVNV6Wk5uGnX91fRp4k+4RukS53YY1ap+hqg8A==","shasum":"2377d82612557ed4a2d037f50f443d9d4ce64887","tarball":"http://registry-npm.ywwl.com/@graphql-yoga/node/download/@graphql-yoga/node-0.0.1-canary-38b11e0.0.tgz","fileCount":7,"unpackedSize":26892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7ACACRA9TVsSAnZWagAAF0kP/14TlNn7LdfB0N80YUJK\nrPmnUhsqrP1kuKA6trS6CPf8dk6wdR3OV9u2HvNm637cZXt/B3MNPWdIvHcp\nNY9Kak2NeC0/9UsTgdQnZZqGFFfbTtprvX2JmFlz+q6YUnuPNOKN58dsJMre\n6N1zTNH7Y25gIR6u1G9huOMqO++Xa1+968H6Nv4yRqLGxFDkfD58sBwMG3Vo\nm9pWzI3rrFyGH3kxEQRw9d21Wwce+78xxghHzhCl0d4T7h2/rJcvCXWjUz10\nn4pv8bwQFur1/haHMGFxzASTDV6fcqFDzu7ZxcIcrC60/KKGF4YOg/2f9MbA\nONNedXOMj7CkExGtEm5EXPdC5ev5FhbFf5VvKUM3O8R6sfcX/2oVuNlkHJKg\nzi3APkxrodI4AvmRPysnCi70t/9mxlrZgRYn1Xiuq1bAGafoVLCO6zhbLbKY\nALbu1iDUUvxQ0rv5poOWULBOyhV5+tFt+3K+0x4uurFYvkIDnoqk4YvF89cu\nW8bQewuBKcNivF8FpEB2H8xnUsUu5e1FEGFpK5lnbBykvAiIoTBZ7MSRwM0u\njscZErKueBaydNFYy/dgClhR07TYNIKH5CUAMh8aAgm7MhaEptNv0MPswz1R\nBy/x5xYV+49qnMPRgmTPa8qI7LgVhQG6Z2wH+gy698gtKPtrQPCr8bHRp0sk\nUORO\r\n=fbWZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+5F6/xOjKghqOIAmp2Y313FVFjimQF/XhwA1+oHP/QAIgC9DSefWro4jFNbqt2uZXRJYMFMoAX/GR/lD1CfBuzOQ="}],"size":5001,"noattachment":false,"key":"/@graphql-yoga/node/-/@graphql-yoga/node-0.0.1-canary-38b11e0.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.0.1-canary-38b11e0.0_1642856576709_0.8617170131869663"},"_hasShrinkwrap":false,"publish_time":1642856576840,"_cnpm_publish_time":1642856576840,"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"}}