{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"b3873697bd1ac18e254faf68e97a89cb4984eada","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.2.0-canary-a2755f7.0.tgz","fileCount":7,"integrity":"sha512-QKXipv3l/FJoU6oSm9/yL/zOEP7pRls2Q9ULflfcSIS7uMQAA0AL1JQZZyep6jAf8G4rrC/sNUFlMsCpgNTinA==","signatures":[{"sig":"MEQCIBOW0gSlHDw3dP6woWlWLR8W2QPe83FEVi/ho7fYqxpWAiB0ydTF3+FXkakNrEPiwwIH8ZxTU6ViuwTw9YGOdXwmVw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVJvcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqH7hAAjz5W2gjEEjwqlviURfTN+kcgg5v2eCKCIs7jqh2H5uKUb3Gw\r\nU8jaoPvLMQN4mVj5tmkux0XBrk4a4sLFInUjqhur2+9++BHfVLwo10WpCNGq\r\nJZGoT0Pu1RFLeJSoVrfFFvGHJ6obV7uA8h5GK548GPpCTNHwRlj7FKKLiXUp\r\n8fY+Bn5YORToWpFlkhwxTh9sn4bXrh7yggt1Enjr9LgcLnNjctMYsRoR1yVK\r\nqrtdm9cIXdblRQCtOfVDwLPzTBfE5FZcE//HbDnhKVemYdGKpAFDUJGtjVUS\r\nMZDufDMAeLhO9iKmsQOtBcTxtL7JtpTNMcET2cahkgh/3J+GJq40P0DkRynq\r\nuAnAtkBDFZiRKubFQ2IlKwuATePQBNM2sWDYZ1/VdLNBK9U/4BHPBbGR35WQ\r\n2lwwIvZzlsQchAHCxkIPhMBNZoWWoisUWIl4MmDF69enKHHItWh1xH9U+woZ\r\nTchqIP5upc5Ew4Rv6X8YAEtmRCTJ4cizyQRhyWqO/gKlrcIi3g7KyvKwFkuU\r\nSZ+Y0UvsdSU3zlla5H0Ee3EXQ3jL22/G6RiWooyHNjghH/sCAgRtQ4i6E74u\r\nV9P6cn0OFKq8jqTIoiXdqbzAOMqsL/vYlIyJsYwHXeE1qHPPjobTwJF6gTMC\r\nnI5j0RIjcV9QGEbgai5EyjOBVqvaO8POeUE=\r\n=cPYb\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":"a2755f7d360ec55d2c3707f455d312624d9b9f01","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.9.0","dependencies":{"tslib":"^2.3.1","@envelop/core":"^2.0.0","cross-undici-fetch":"^0.2.1","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"2.2.0-canary-a2755f7.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.2.0-canary-a2755f7.0_1649712092154_0.6545074157050357","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.2.0-canary-a2755f7.0","version":"2.2.0-canary-a2755f7.0"}