{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"56686f72e7e41e53be489feff9e26003409173ca","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.6.0-canary-0ee0ca5.0.tgz","fileCount":7,"integrity":"sha512-tcyHnufRM4i/BCoC76Xjd6+P8zdvXSVWOP6EZIZ/H7xO6by6OGCZ5ayv7Ay8U4pa3C7p90g7VE7ltYgFIPu9yw==","signatures":[{"sig":"MEUCIGJ8xcPUORUNtdc529bPaopmMyVbYSZH7iIu6teh0JW7AiEAyWFXUm2XxfN3KnedhYNSZcPQZcq1A6Hu2bbP6GimruY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJic/o8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRiQ/+J2eRzoanMM4yUQqwqbxCmc65qqBDl5CULxgXKtRqcm1mYHIM\r\nZ4tShkfWp2nM2D+mqMkF5lrYNCoIQtWa4Ao2J/uGAgTIASZC/qnYFZ9sftVZ\r\nUIsiY30vGDLKKfFIkuMHEVVkB+PlKeqj00Wpl0OjJH5UwVc5u+I0tAwa7+xo\r\nPTP6kSXHqVH2UqilWYC6EsbZSYK52z3anSUqjHLAG6N/YGbGGebhHvqhP//P\r\nNPB+yyLmU8gqAIdn0bSpeY0fxdppP7u+s6OcR0ZB5tXBN5orFFhRLJ6Gcq//\r\nmg+dU068xhqGD0qaewb70kxXqsFaARS7cUeM2gPiHqrHf+spqzuoohGewJlv\r\nxT7QTtjaj5KP/sF//cOyVWB4BovliCFa+UQGUI2YPut6fgh0ET1y3hfozuhI\r\nBAiaQtG8Z85AG7BWtlEpOh55bsKN/OwSGJcDoB1ciiw/tANLLN60rbyR7UG3\r\nDH83xC+gr6gPypcLIRE95ZP6eYd0HVlyQZ5PoS4gU7p3u0qG7aT9QT3R3FvQ\r\nPi2PR3MdetUHuf381up9bEt9hOmH1B396BNO6DLvodDQR0Geeo+rEs4dr2Yr\r\njdg9WVAfEiB331wJfDj7WwjuhiTEIpz3h4F7ZXouNejm9CSEugg7xHLNng7b\r\n13G/LHQqx2udki5iPNEWcz+lS/6wTYyWkV0=\r\n=7w5f\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":"0ee0ca5860c042c607a25d0b6d09356f4fa0bb42","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.8.0","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":"18.1.0","dependencies":{"tslib":"^2.3.1","@envelop/core":"^2.0.0","cross-undici-fetch":"^0.4.2","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"2.6.0-canary-0ee0ca5.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.6.0-canary-0ee0ca5.0_1651767868553_0.0834023367502792","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.6.0-canary-0ee0ca5.0","version":"2.6.0-canary-0ee0ca5.0"}