{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"e10a02653b3ada2934c97e5468535adf1303a797","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.11.2-canary-aa52f66.0.tgz","fileCount":12,"integrity":"sha512-PlB6kBourWzi74Rq4AkNG1r8g6RgR7o7Ffm3mBaBod5OImG2jGND1toKYhXVPet2RxWRfUEnuhY4tAZRKM/yqQ==","signatures":[{"sig":"MEUCIEqXXOxO8SVSF5bmsGsgWi5UKVRkmfd8pM9Mb0pdSa/lAiEAsondWisT7IsT5c8B8RdwNoTad0yCv44O2XPKuPuyjV0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31904,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiwslwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaPBAAhT0RbdWHHYhnYYoHjOSPIlrz0xCLJJdGgV74PFyEUefZQ5G5\r\nl/1oPMX4SkTBABrUGk8pmwbh90X+bnMPV9uRBmJ8gRYEcBr3nrpaPLdodDW1\r\n7t12ApwC6YXO+/mlNidJ8BcpZepNarohctc6kQDRLdQmDt9dEN9zIX5B9ch0\r\nLkghtoEWE8Q8N+2dGf6yrQWwpZk/0hdhwVNrNBrCThT4Cg15dh5/gj4roY+N\r\nnyEKbLIIUqkZp9tAMq3BZNZQc3O7gkLrXIxpDuUJaC2VrOzrb0JKXoAHU48U\r\nTWHefrnDsOYlVF+hn1LwABPE7ivnvBZa3OssZfHpHd33nchlKxgD6Ky7Xt0J\r\ndMhuyLJ2408IaHkfUVQSkRuTULBRHZcwPvuYBo2fgK7gJH8huQt0A8DMgaJ0\r\nx+4E7GZIbQz7v9vQyJGg3vpyfVthsHEVTi6SR5sODHrOdizkXHQGLL55k8bF\r\n6AHmOOwo+fBGWDgu3gEK1p8uL0NO8NB1PPfUMYoFF6iDS8h9IG4FEfKTosGC\r\nBxIiiE5yUqU1nfO7y4aZIAF2QEQnhTjxTh8OWZC3sLAXuBMqoH0cGUe2/bCz\r\nKmqvqz4Xp+JUcW6I9ico0NIabUkwL4PWbiiet/5vwULGJCz6Hx/DhvrdRmW/\r\nF/d/tO51taci0lMb+U77Mq1+BnIdIcl6eis=\r\n=3klb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cjs/index.js","name":"@graphql-yoga/node","type":"module","author":{"url":"https://saihaj.dev/","name":"Saihajpreet Singh","email":"saihajpreet.singh@gmail.com"},"module":"esm/index.js","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":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"default":{"types":"./typings/index.d.ts","default":"./esm/index.js"},"require":{"types":"./typings/index.d.ts","default":"./cjs/index.js"}},"./*":{"import":{"types":"./typings/*.d.ts","default":"./esm/*.js"},"default":{"types":"./typings/*.d.ts","default":"./esm/*.js"},"require":{"types":"./typings/*.d.ts","default":"./cjs/*.js"}},"./package.json":"./package.json"},"gitHead":"aa52f66571ee5b3e022eddd22a0f60026152e1e6","license":"MIT","typings":"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":"typings/index.d.ts"},"_npmVersion":"8.12.1","description":"```js const { GraphQLSchema, GraphQLObjectType, GraphQLString } = require('graphql') const { createServer } = require('@graphql-yoga/node')","directories":{},"maintainers":[{"name":"wittydeveloper","email":"cpoly55@gmail.com"},{"name":"kamilkisiela","email":"kamil.kisiela@gmail.com"},{"name":"urigo","email":"uri.goldshtein@gmail.com"},{"name":"dotansimha","email":"dotansimha@gmail.com"}],"_nodeVersion":"18.4.0","dependencies":{"tslib":"^2.3.1","@envelop/core":"^2.4.0","cross-undici-fetch":"^0.4.2","@graphql-tools/utils":"^8.8.0","@graphql-yoga/common":"^2.10.0","@graphql-yoga/subscription":"^2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^15.2.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node_2.11.2-canary-aa52f66.0_1656932720109_0.13110070518619477","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.11.2-canary-aa52f66.0","version":"2.11.2-canary-aa52f66.0"}