{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"866e9457284c4247085d36ff1c5ce24547da4dd6","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-0.1.1-canary-8f38fca.0.tgz","fileCount":7,"integrity":"sha512-Zot16S2bJsaEiblPS0uFLPRxAfYEgDhn0Tlxy+lepf2sHkquBI5Ij/M1aeiPQ8m93VczLu7l7OphtS3tIPwFKg==","signatures":[{"sig":"MEUCIDIfcasZ9x5ig0JruU6CUyfiMPFdvYveTrbVyWpszpc2AiEA0pFkRtjwqfgY7FeYTh+98WMa595xn57POFzyCV5AMd4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMcMtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpkzg/+IQp0Wb8oMPOXbsCW7cKAQWJyAyscqvZPxoBSY+2MpJ6xRYXE\r\nT+WsZQ3LORznV+nVp3G1z2GxwuqzIdOQp6x8YPsLqNTYEVQGUjcgnWO3Z0+9\r\nqaWsLGd51F0nQVwc3EyjwYshbGL/Qad7oYzgC9b/GaS/PkE526xvrKxN1W91\r\nUD8NyBuFZzfyW1t8c5THudyzJD8fxjFD5C5VZo/3S3VpxdPFH7kwP+EpVe/q\r\nssW3kuSfI5hQ14CHxa4FINpBcPwY25OXI0/yhP69scaEm7C+SE2IPj/HQ6Cx\r\nl6yk+uRxWaG/Va8oI0C7YVFUMhS4I8FQ5mUFTuldklnLu+FLZK/lNEed2ETX\r\nV4T7popQ8ycpnRlfnAOSIk7tJwtx46qzZD4bp0eEASdU7JTxy8mc6r9XYZYi\r\nLDs6323uXb/kYqHdQiok9OFeGtzafkT/8aG2pFpCcR6bpuc6Yi5T/CdkBRvO\r\nN2qlcECA0XTQGh8eHONL0bOMHIv/bGhKpQf8+Qm72xZRdeeuShsZ3tSFHTgV\r\nG2g9gO2+89gIo5+upIP3cpv+iHYG4Clo71S5MW5VWqaljDotRK8ztS8cpRxZ\r\n6hcfxPCi6VzWqGOwyJlOMHxj3Ve8GdI2hq17nCFuxLJzeoZb39+E3glYuE0S\r\nwpkFCIgp5zJq0BR9SqmfjkJStt+P6vb/uCk=\r\n=Ibd6\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":"8f38fca19b2d76a25ef9d8bc1fce12dc7bbb66fd","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.1","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.2.0-canary-8f38fca.0","@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.1-canary-8f38fca.0_1647428397082_0.2259327356093317","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@0.1.1-canary-8f38fca.0","version":"0.1.1-canary-8f38fca.0"}