{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"6c94b17521b6ba688f009e43287b7e3446489eb4","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.10.1-canary-3e21a3f.0.tgz","fileCount":12,"integrity":"sha512-3BNgTRFmiS0x6JcKbPnhOWG0wfnJUsnbYBj+0YCZQBCYlnnNe6VvholVqxVgp8j6CXz4fHVuXzSEtVe06IlrTg==","signatures":[{"sig":"MEYCIQCGPkzxQLpMdXuxQ0+lSEGHV6FvGQplLU6cRjsAZSOn0AIhAK+nrjQfyRDxl67ygj0a5xu1uIZtvewTP6a9J0SoD7y1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuyr5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPUQ//cqu6/IE9u07HcI2zNnAQ5QYv/yNDEIx7fVW0z1CmC9i562CU\r\nhQ8R29qilN8S9PAPfGSSbIQKwSBHG0KXC6cqwAJ22sLU4ASvs7hG7M1Z5j6x\r\nqTu3m+CRyArzs+gLCfvfYgL3J2A/sEH3MknXsBmtMjAeztDGcu062LNO2Jnb\r\nFLsCawH26qOXPkL0czUdH4aevHIRmpIFhJIhmR/p1kkWS8yI0ZOVK13TDuAh\r\n0a0+i32GZRYVZrYUJeaILCPWJ5IS+TD3tiaf2oYMdPC3fHmVz/hmx3Kfu5KQ\r\n0tlNVu9sp2vWuYVap/MI44nPPLoZ38RX3o/YIMc3WLgmz3SvmgyF94AkCQ2Z\r\nycz4ccRwGXixnKWf61falNofFpFsIwpH6gX3uTuU6FLy29vJjv+A2GEFNidw\r\nSm5PXRc+JUWBkanEv3Dn3yjk3Dni/GFZ2qn0fX7Wxv3LNqNLIt0a9pDi3BHX\r\nGhZN9LCfaErl7WFMEvNDTUlJEZiC3SzEA8yF28oXhG5OuiWyK5CcvLuOMoND\r\n8j9QPeuMlMFo66U2tiHajgRKZ4Xf5fISXMGFB5dRpC8DiQapLixZJ3ZYjMX1\r\nTHl5Uhuu5kziv1XfSmZQooXke2SF7jDYCGyVtRNirCMLpcaolf0kNFkc2g72\r\nrwD5EsG8EbtcKWX0c5h8Qa7zpUSeRG18Kmw=\r\n=utCo\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":"3e21a3fb7c8c95d75cad7d58815031de871cd9dc","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.9.1-canary-3e21a3f.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.10.1-canary-3e21a3f.0_1656433400875_0.6096532423497478","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.10.1-canary-3e21a3f.0","version":"2.10.1-canary-3e21a3f.0"}