{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"5be8e96a22e206e263093440161578d65c017f6c","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.5.0-canary-ee7306c.0.tgz","fileCount":7,"integrity":"sha512-6GpBJW5bLzDrzdNYSaIxEzlxBfs4xgkX7hSuhFLw3OYQoqmCUTL1NBLSU66KrDdMw0teIS87uhs6U+DtgewZ8g==","signatures":[{"sig":"MEUCIHXDE7QaqxOtnYfhST3D1d6WQIavlyKCx3HhAG2FKtT/AiEAh5wym+vwOMGQksZ27p0aYc7CndyOa6n23uGF3hpMkeY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJicRINACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmri3Q/8DMA6o0Bin5sKPCzc9/Yh7WyBipTrwX/ud7Gkeq3YHfRVhsiN\r\nBVTS45kM8WWPKqIubCRP62XPbKEtfsbTsPx9JcG+rBzt5PE1gADPn/J5ttSy\r\nO79t7IC7uj542GGABQE5kz4jgT1fmLVw18E566AoDBnvz1fALbwRXcU633Hv\r\nPdwJhVoONJZlcJu3vDzXnugmceDGh4dWg4XDL75vnAtFw0Ti3ZsYHzgGpmzr\r\nXjPp/9+qHw3xPXoafpBB9fjRf4C8oB/Y0rZ/ljB4K0btlRkDJAfGcROhsnZ2\r\nY9ym1pzVxmTSpfmBKpWkxJGgYar1WAIr/sIDKtcY4PZyg96qelSE+jcApqWN\r\nWwe8wUCHf7MnlVp1tQJwz9f0xXgOgwwPTxt/iu2pdJHNCrDWOIyjtIg6yht6\r\nJQCHif27hwn+e0zEF30SIPSdD9lzCbtSqUZ+yVMr8V2g9VX3MBx8T6EsXhwK\r\no4UcTgTZBGZnjHwmjII6iItRHvUCE9RYN0zPg1IO2HM1FzBCtOYQBWXHBDAC\r\ngJ3Yh4ZxxPHjKATNbh1GmknGvf5I8SB0AuC8GdNS1C0v669tKEgqMz9eoP+N\r\ngrF5NqHqSUBjcs7bG/Gj8QpbpqOez3uSRDMGGlGUKgLXUFGVe3TvwimEJzXn\r\n54vJk4iyVWCXM21EajBTNNItq90C284vViA=\r\n=vuN/\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":"ee7306c02be2f7c65bee7222119a68da98174bbf","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.6.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.0.0","dependencies":{"tslib":"^2.3.1","@envelop/core":"^2.0.0","cross-undici-fetch":"^0.4.0","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"2.4.1-canary-ee7306c.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.5.0-canary-ee7306c.0_1651577356939_0.13157037386398218","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.5.0-canary-ee7306c.0","version":"2.5.0-canary-ee7306c.0"}