{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"11b2937531d03d0abb42e1e17d7e97f36f046941","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.0.1-canary-28a4b0c.0.tgz","fileCount":7,"integrity":"sha512-zzIuVupPs7X7EL4paaY9nVrmyU+iTsLayKU3snYIcyDs4sUbb+qiSl6ld+JIrvnrng3dwCHLFvWjMkCIXsJeRw==","signatures":[{"sig":"MEQCID5afAlh1LbTFoBFPC6I9aGQoKBDdegVMaaKkBLIubJQAiBSkIwq4XJ9vfLcomIqRw+Lxb4FEnvOlwvY129dW0wWXg==","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\nwsFzBAEBCAAGBQJiUDsOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6txAAmTibE2IljtUfuoizlk2Jm1lbqviTKJaMg6O7UdeRTsO58Yi1\r\n9Va1caJmLKcVF78W+OtNySfx9skkfdLVI7L0Xi0IEB95fe+FazLLh4LKFgQI\r\nTiVSmqFe0MlIaicx1+jSyqzvO6b+nJbByYLrNK6hsMOT3eLi/WG0qxVbP9bs\r\niFnI7jWM+39QqE3yK+YiVAsz65i1ZpXx2ygfURW2Pu61FW6UC92x4kCgkQ+l\r\nnhFwwNvTn6OYO231GdPKSM30g/S6BkysCubRjHHKRyVd9ELQUGNc9vHjoBU8\r\nV+nQhn9WIc6WVQwg2iJESQBpk5Lbnke34wlG/EyWlkE/Xz4TGHhRB9+crgXj\r\nCyBEY3UruX18HR8oiHQHXWV6vGfnkH4Shwq20Ff6yJ29FnAnIwkxCCQdV4Zj\r\nLoYikqNM0wHGbzUjY4n0GtPIzKfsuUXraxUKnfvGtg4EbyjhzOiNEJijNXoQ\r\ntXRLdqQHw5Q6Vq+6+odMfPBq2JUsLWnPiS7mZ7DBQQGfdkFLLUsALS4kdqar\r\nKPGopKyeaKXJCk+R/19jWUWO520BnDj7JlbQyBz6K8xw28dBwN7UZP7ZwOXe\r\nqIfNV66xuTFcASYcNhnVIbuedLeqaGAiQ/QZOJWVkv/bCrIeFR6k+i3QGgnT\r\n1eIiqemrdpZ4az1vPCDfLD9+Huu2vGj1TdA=\r\n=sU4A\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":"28a4b0c27d02118f572cddfa85578be3ed4cdfa6","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.1.25","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"2.0.1-canary-28a4b0c.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-28a4b0c.0_1649425166671_0.04179591081417655","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.0.1-canary-28a4b0c.0","version":"2.0.1-canary-28a4b0c.0"}