{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"a19225f1b4aa205f88d23751dc30c868cd9884a9","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.0.1-canary-fd3ccd8.0.tgz","fileCount":7,"integrity":"sha512-VeEtnVb+0NRKGwh4txMJ2CNv384913+OiE8xo6+YOeLMOlSEU7k1elJ0nrT9gSr/+VQoHB4d401FlMY4HW6dnQ==","signatures":[{"sig":"MEUCIBMtHw+7F8Yv2MJ8H7ewjDZ7BXbx6ozq8d4asswMgu5uAiEAhKZ+DsgUAProiDbe805aAesovyorKXaRmtVdeVl//jA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTvgHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq/NhAAnTwhZ7pevZ+q7OR/fsHhbX4wLztPVqUk56WVZwbr04iksGgW\r\nzgdGDzQ37gKhnDWf/OPGQxYGI9rX2Kv4WIl9ic35EqSosRMWg4gyTZdd6enc\r\nLZA1KdN9c3653/Q31zwRodwpfyf61aJuIjYY3eAY9EC5gRyJgWdAUekJgksQ\r\nnn49CNqji14FxPMtcKa39ZH17iwyBJkZEfE5fIl2966MM7YUAJxVpmtQzdZj\r\nNV/0KWB7DPOWYFf/5YkfT3biF8//ZHs/riixDQMsl0tK8WXig8ywSjkvGTnw\r\nOXWfk2PiGYHT4kPwq6npX2mDSCauP8+l7I0sqcDNl8GFQmCru0+SMNDNr/yg\r\nlSm3MuEoiB9cryqro2y3MoOnxvHxqzEoSkGpYXF5ITYmpG5Xn3jtoyiQZxu3\r\nN/rIa/DF6XogM/4KYB1Vi03CFn3yhnupIPSN394BP/zKUKI8W26qQM4kg8Wc\r\n9gRRvuJuu44HVKrIc6vlv4pjZApwTzYbNhKjmUXf9B2P8reLPIvIpLQjjiJc\r\nEbLPBZHdB9FeHSHDdvl/REMR/1PP8RzGrZ3zxyeLeTNfJeJaciOuOQgQLULo\r\nibtImkMagnCg3EbcXaUGjB+uToQpNG+z4yIXkAg3N2epZA58O2usi8VWfiPx\r\narwHupXh+V2Rijv5re4JKDDv72Agqn4GP1I=\r\n=ue21\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":"fd3ccd8c71be999d8c85ced08e74375e7aa45138","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.5.5","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":"17.8.0","dependencies":{"tslib":"^2.3.1","@envelop/core":"^2.0.0","cross-undici-fetch":"^0.1.25","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"2.0.1-canary-fd3ccd8.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.0.1-canary-fd3ccd8.0_1649342471373_0.969357957230097","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.0.1-canary-fd3ccd8.0","version":"2.0.1-canary-fd3ccd8.0"}