{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"388ffcba4d08204ebe3f803e7234213369096906","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-0.1.0-beta.5.tgz","fileCount":7,"integrity":"sha512-mrMnG5VhIOJnkt1BD7fXVvHqfQzx5Z/ACpAPcxgaebNdRqgrhpS7l0D4zQq7GZ9dpwe1tJHm07sa7N+9hPS5Hg==","signatures":[{"sig":"MEYCIQCntNpd6QpWBITXX8FFrmQBfOeAwLE9WeZfMX44+rhN7QIhAI/aG4ednMfxG05MdhyEO1Wew4qoiINQFdyd30Sgd5r3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiObCfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKpA//UqmltFQjrK9uG+9V1Wpd68aCY47so1IZxznkkCfVZ8VBBI0h\r\nebvYchKAU0i0frR9UewWVpgxzlgvxPPkwVbZ3wBD/InlzKMNIVx4z2H069ss\r\nccvnhWXUihKjs8LdOZM4LfvV9AD9m4H6LjOU80k++4fPm3oZLapMUKICp7Iv\r\nONE4U/eL3hTZsXPdLUoP68dc3APL3h/30ljEvvCgDaHxtVdN/QGZjfjtmBV3\r\n6MGNU90GEvHAuEWEYiVXL8ZNbhiPQ3Ga2y7C5up4Q5tKphOHXyZ1UhLkS9Q9\r\nX/s1wZ2LOI9uURWd4ZvFN3u/fooOwf839spPp6iqpMpaS7C8dxHzAJk8tx1t\r\n8V3uThiyZKEcLw1UPzORfNHnKM2XXEITA8V57iBlAVkytnwUAkcjYrX2r440\r\n8KVgefRVGxIPCFq3SegQtvjk9FjwzXTSvof30FEFOT5BpS4i2VNcV1Co7DXf\r\nhBGPvQKWx7tcFo1Umm5Hx7jyr2cL2KtkflBXq1PJ6QzI5D6zHSZov2k8MIYA\r\nNOUqzd626LglC2gnPd69e9gpcjd/3TasQ2uq6kyQ/PgknRUhIfTYko+RQ3WA\r\nUdsvYZrPN0Q2utAiLKBA5QK4wmJTmbQ2LjW3eYWVgMxU0pR0tJxVpmAhHV09\r\nzv2iuuPaifm3O5Xq6VZh9t24tmQ6DG9AWJQ=\r\n=tapa\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":"1514fa20fc97ba6eed6b66dad843c2e7672b090a","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.2","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.7.2","dependencies":{"pino":"^7.2.0","tslib":"^2.3.1","pino-pretty":"^7.2.0","@envelop/core":"^2.0.0","cross-undici-fetch":"^0.1.25","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"0.1.0-beta.5","@graphql-yoga/subscription":"0.0.1-beta.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^15.2.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node_0.1.0-beta.5_1647947935654_0.7195336683853075","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@0.1.0-beta.5","version":"0.1.0-beta.5"}