{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"b887a6104191d3ab9bcd6004b2244b74369408ca","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-0.2.0-canary-22c3bad.0.tgz","fileCount":7,"integrity":"sha512-cN7EM8YCBBWkRtqjLSxliYQ+qjqnl4ftjvzKez6p9U1Rq6P2GagWFQDMR7v8V+ODk8WODML1HPFgYtG2aTXW1A==","signatures":[{"sig":"MEUCIQCNW4hydvVwWIqtnzjh6jA+zUOstAPHkjCk9AnMvf7dnQIgHcJmI/NnWSG23oSn78L3yKuzRzugTfh18d0Il2l7Uwk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBlyACRA9TVsSAnZWagAA4jAP/2GI6J/cGCBni6A5XDgp\nFTlqH1kyeQ6gJCV75wMxaQlttP+NREEZgf0OSArxfyfntrgtiDsfTy07d1Ek\npcFXrlrK6sU9zLi2nJNNpfw9ZMo1eF/YgQWcp6WodPfhJlsxVGM74vT7uYGl\ntNw8RgQWT1XcDkCKrf7JtSp0ATZZgLMj1f6kh/oWjfPYUSkf5Sxr8m4T8GhC\nVXFc9rernfEhPm/xhUTnI3tz+yU/PLocOcqHFxCv83CyYhLaliJlgYAzghSg\n+nVA8zYXZxp8f0HBQRjAEExqXgiqGMhcthXC/xI8hq5teOw6ECdDLaaa4BXO\nD/Bu4QbhT/7h3P/xhtgZeFlg44a1+U6w5dCSC3oTtSJoh7Qh+UdpNRKo6Q2O\nGrJT8uprKIneQX9swLFA/M3GKSWXFaxIT7+8xFOAEBN8Tsb4kWCnKvbpNZ6y\n/smxmYvHB9X9EmpO4CFWYVWfPlXKh/8RNkkcqAVqV+N3aLTkcv2/qYIXoSsN\nfI9OKvcXxNEN3HQDI1SPtYBCVSz6vZu4OlfJOFRHvPKqibg2IFuWBiPnLVSQ\nJ4l96biNaDPOpKd5rOunv1wRnxyJDQeHTVJ2LjaKL7Dw7A4fzFNVKHR9SkRS\nbL/tUlsWzYZ4wbB9iMkao/OrOIIZL5NIMp9Sys4gVlnnU4azYGPz4WwZzkhz\n0FOY\r\n=JFly\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":"22c3badcf9eacc133267fa7e2601251ec8691c40","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.4.1","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.5.0","dependencies":{"pino":"^7.2.0","tslib":"^2.3.1","pino-pretty":"^7.2.0","@envelop/core":"^2.0.0","light-my-request":"^4.7.0","cross-undici-fetch":"^0.1.23","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"0.2.0-alpha.10","@graphql-yoga/subscription":"0.1.0-alpha.1","@graphql-typed-document-node/core":"^3.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^15.2.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node_0.2.0-canary-22c3bad.0_1644584064605_0.41242887351726365","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@0.2.0-canary-22c3bad.0","version":"0.2.0-canary-22c3bad.0"}