{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"13728c42e2a9ce33710f1d35a47aadf878af4c3b","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-0.1.0-alpha.4.tgz","fileCount":7,"integrity":"sha512-wzh7dTUzvitsIcIezq2mZ5IRVWd8/i/jeXh7H892Sq94Ik2PCe1G9h7WrsnkeSfgEHOlm3ckk4rnwY68rDfP4A==","signatures":[{"sig":"MEQCIAbf+lgmqhsgiKa76N07uJVPXb6SUaC+e/JoL9gqWl53AiAtF4roAduMbdfgFUmJ4fCkj5aYKcUMXDUy/RWbIj5Cxg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26978,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiC4EECRA9TVsSAnZWagAAGt4P/jJ5LD7JwKVBO6MovtKq\npAcXQ1R0QUfFHWCk1CsfKro6OLXOkMk3r6vJjiKy7mJDLrIgjGO1kpYQLxwQ\n8fNcYK/3ri7xw9B5EwSARhQzDdkWTr6RuJwwmYQvTnSJxiX/KhX47wFDJHzk\nOWQl/WEquCostFWmLY3I/5u5W51cqr5JnHWowPe9cSMWsXWyUAD+a9o28i6z\nCpHR6B2N+xj+7ikDAXoi5sSOvC7wpfRoQr6RdFuAJhvvQdpX1qIeJ5UnGe3T\nxkvNAzXf3Wq6hI5QmwqYTot1ElRUF8mEEB2Peyv7ZwsiyfdZY5Gs+3q15lFL\nXAkI97wZcdM3IkyRKSkjTF6HPqNWHHI7ybriAy9iDNaEWsWScqw1qeBropJ7\n4ozm84zggPWYH7ipBFMWvRKyBa8tigtN0kidS5A2gq24nmaaJOiiNcRtgPQt\n3GlCIsrLF+avvT/rSswXlrSFLvyAXsLitAgoimQBSVkn3AU0s3Tiu2pyNF88\nrubMR0aD8xx5L+yl5re4PXJOiRtuWBbOH/thx8iYUz/G2ICEQGZTqyJTxJBI\nqWifVqlRtKxAI8zmYJBd5eiTecszUwfsfi0/MUg1wDslQ76In2SEgEmNY4hc\nIWzGvhx+e9YiYgYhjm26NYv/gVCUqwG0zhcE+mUDtRup379eP4aGxWjKgW0C\nI3nP\r\n=8q58\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":"4df34f3bd3823ec0049bb7fd5dff7e7323aef5d9","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.24","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"0.2.0-alpha.11","@graphql-yoga/subscription":"0.1.0-alpha.2","@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.1.0-alpha.4_1644921092845_0.8144975269723951","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@0.1.0-alpha.4","version":"0.1.0-alpha.4"}