{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"6bb354dce717126dd07915311e16638268ae3ece","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.7.0-canary-ce39094.0.tgz","fileCount":7,"integrity":"sha512-1uJRTRnXj+nLtJy1HvZYkcC9tucXlS6nghDy3mjHDkes90iXJOjRO2q0Y1SyGxgJZCfsM+fqpntphVwKDaHTKA==","signatures":[{"sig":"MEUCIDFJ7SXg9dBQPhnGMZV05t9/1cF+UCStyaly8gO+tXP6AiEAip9Vy6uo6M1JL5LCzDZPbMF+1GEWmlp7cHF1WGgNpMk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJig5WIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbOxAAmZst7gKq9YweAwswJtX3yGASN73xVD73LsR5P2gsvuHrAli+\r\n6X3zSpOy/6vEtUmpXC9jQ5wWkVehh1cc35gu4QBCCYzsSqWWx6VOFyIbMMZN\r\nVmeDEoF8OfQGigIgRz68r9eP++24BU5Rsgz2a85XS3nZlN1UG+1CN3U+kvo+\r\n0YwcI2Gy3BYiQAiI60Fif89x9XRFsASIC5hrV0BaalmKDF2Seh+Wm3GZoraQ\r\ngnPC8kd+opptsG1086fd35am98WCdJiNABEtrSAAUpaqe2COIQFI8V9468jO\r\nVRWN0wugEI1/qrkEwCJJCELWbJ9IVsL6nM1ahKLNOzC61CbVFfKALYvBiXcu\r\nZNBpWAFwXqQS0YQwXf+JXRqUWDA6vkPdpjkNOX0W1/c8uGBDW3pEETsCvejI\r\n3r07umLjEcBFhHs0DTP6xjO5AaslBxZsnousM2lFNBxdY/wmSr5Pz2unzNoi\r\n0ThPieEB+g4R8Z6SpLJIbDnhURb1nyc1ec6xaVCLv5+tGL3Oor9F1BCVi7XN\r\nQEkIph4uBOc4FzR/52gigcA/x8TDKgN0ce90U6+JSZ/JMPQYBR1RCk76OeSU\r\nlqwg86BEwSX+BH7JZvS5kTnhDGWfUySOaqelsA03x0+VAD/kvzxL4vqHvb2r\r\nDzfDrj8XuE7i3VUniRpZBa2ihmnPTuJ7ZK4=\r\n=78KE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","name":"@graphql-yoga/node","author":{"url":"https://saihaj.dev/","name":"Saihajpreet Singh","email":"saihajpreet.singh@gmail.com"},"module":"index.mjs","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","exports":{".":{"import":"./index.mjs","require":"./index.js"},"./*":{"import":"./*.mjs","require":"./*.js"},"./package.json":"./package.json"},"gitHead":"ce3909412a53876265df795296722f5b046f58fc","license":"MIT","typings":"index.d.ts","_npmUser":{"name":"dotansimha","email":"dotansimha@gmail.com"},"homepage":"https://github.com/dotansimha/graphql-yoga#readme","keywords":["graphql","server","api","graphql-server"],"repository":{"url":"git+https://github.com/dotansimha/graphql-yoga.git","type":"git","directory":"packages/node"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"8.8.0","description":"```js const { GraphQLSchema, GraphQLObjectType, GraphQLString } = require('graphql') const { createServer } = require('@graphql-yoga/node')","directories":{},"maintainers":[{"name":"urigo","email":"uri.goldshtein@gmail.com"},{"name":"dotansimha","email":"dotansimha@gmail.com"}],"_nodeVersion":"18.1.0","dependencies":{"tslib":"^2.3.1","@envelop/core":"^2.0.0","cross-undici-fetch":"^0.4.2","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"2.7.0-canary-ce39094.0","@graphql-yoga/subscription":"2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^15.2.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node_2.7.0-canary-ce39094.0_1652790663940_0.7137981894361614","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.7.0-canary-ce39094.0","version":"2.7.0-canary-ce39094.0"}