{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"866222b8edeb0b0a24a723a280a11f5b965ad5ea","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.2.0-canary-29338ca.0.tgz","fileCount":7,"integrity":"sha512-1PR2RUrA47o5Fdx7flIJf9uLPeVwWmgNVSK62OZDWfjRi5Hu0EbF+3ox0jSwW7bR+oo01BEGrE8fpfWhO5xdgg==","signatures":[{"sig":"MEQCIGorGpBEfWYisS/RatOZHhsno7De3XGNZqN3b5eQpaKCAiBRljyDa8q7YsBARMBUKw3gLuH8/Y/9ayGpjQSQOlxUEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiVEUzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDRA//c2I4BKksCvdRF2PLblU25wIWdnwEX5AnLYUD3MP8DUZoNNdA\r\n668XWUhxWqemch6a4/KXn8Z9nd8IRxovnfvGJ1vZFIDhXgThy3nIdq5+1GYa\r\nxe4xO39dSaadONAxLUSM2gkFp2sHQnkzjshE/mSqQEbSaPqdGtdyR5EjYW8F\r\nOyqm+gFty3ZStmT+RttrTf6CJ/YiUBEv1hETf4OMA0TG/sTV7AOJWqgDHLvA\r\np2aB1TBJGlXwe563R+id90VYW8V5U7HFrgRPSbjE1JcDKzRDjYoGeeUaWI2b\r\nHTagQjVSyaUQxi+J5pfMr/rVdNta0stPpEbEPIOmAkTH47xPkDBkSVwG6yzT\r\nmn4WqC/DWJ46XahQxqssSrhVMv8F6sLUYANrfPoB0ONhMOwtNfk33lNVa26p\r\n8VR4aq8vLcEQizGZ6+n6s1/BF3SKUADjOJ34OgKiODXjDtLbyuR9+j+fuUf0\r\nnrsmANjHKSLbWD3qc1AES6E+rL+tSCq1xNFAx2gjLN38xEGXPS6qbUXC09QY\r\nXOGsa9oa/rFOklQWUug0ooiOh1N5qdvC5KH/MSbF//HOz+edFnSaDNol5fr/\r\nSa7T2cdpDmYyhYGnjfhK3sD67cYSfzo7O4ezvhcDP8JT7fENSJrgdQghdjW6\r\nSsGmEphR93tOdpcCvpyl0RCBSZNW5IKYvt8=\r\n=//Qd\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":"29338caa8de3d826ac53d651411c94a58578133a","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.9.0","dependencies":{"tslib":"^2.3.1","@envelop/core":"^2.0.0","cross-undici-fetch":"^0.2.1","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"2.2.0-canary-29338ca.0","@graphql-yoga/subscription":"2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^15.2.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node_2.2.0-canary-29338ca.0_1649689907330_0.9309308942757579","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.2.0-canary-29338ca.0","version":"2.2.0-canary-29338ca.0"}