{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"d4090a2edecd095aadca9bbd8a5a442d6a55870b","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-0.2.0-canary-8ced9ac.0.tgz","fileCount":7,"integrity":"sha512-YXSJjOlMI8O98CjPff1y0GIDWENOA2XrdQOUaycSAP8lMHRUdurdYsBB2Oh2W5KFdeRKFh8UONzl7v84fDxnFQ==","signatures":[{"sig":"MEQCIEztGTu5sZ0zZYzTjLYBXI6mY38JB+l7D4Upo7pU3BoKAiA5sSAlH+xpPinAHpmjYjH832VhH0DkHIJYNAVtKSz5Rw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26789,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPZnCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoOFA//WG9qKyOVzNLelU03G25vuDyZYTXDZ5w2HOazCTwAuQuTzvgo\r\nR4CYPL8EkcwuZ6iyI3YtoaRacd4d1lHkmsMlZA2o/fiuwhmRZ7KXqG54Uovn\r\nuZLJtpdMnmpBkd+1wg+ws3cvb2NQS5AkXL7HOTql2zYfN2VaozopI6fziFRY\r\nE6a0mgLP8U6WpN67bkU8AZPe/BKzI5/nz06Duwev1kytam1FGnI773miL3pu\r\njzVxFaAfiwCtb/0lVb3sz2KxECLIK3srNKXLl/TEedE3mKPgh8A9nqZmJfir\r\nTMKMy2uwyZ09FziouhPQmCvm1oO43odvp+A8Bt9450/5QrCZGx5d6OpNIiuX\r\nNLNPedJOhizQ1wZNEE0Zndxf39Z67Nk/PcxclOkjKWJG+C4l0nxuca8rXi/H\r\nNd3/BXjL0Wwp8DdeyKvRQzRhnSGhcsscip99JsqAOFmuhw0jVEYhd4oQwree\r\nO5tv4rn3U5s4TLs8xbN/9KAULf6uwm5WoinxLD0uGlgn5Tlba5zOO5bD2h+M\r\nixEKqy3zjBw1BclAR88lciNSc7qQR2gMqCmz7/p0sAFcG9EAMBU1KfrkJeH6\r\nwYd2c7SgkIEJ7yCZUeFLBMu4bj7g0h6v2jmWOupNaeizE6YAp0PK3LsJ3ISI\r\ntzdkR3qV2Zwy0WxDK/d+nA4p9vgD/Rz+6Xk=\r\n=m+PJ\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":"8ced9ac9e9f210265571cf17f111b61faf6efa90","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.8.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":"0.1.0-beta.7","@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.2.0-canary-8ced9ac.0_1648204225513_0.046226944123099356","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@0.2.0-canary-8ced9ac.0","version":"0.2.0-canary-8ced9ac.0"}