{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"e5baefad13329aa3bbe792cac03cde796b01678e","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-3.0.0-canary-eab5a45.0.tgz","fileCount":7,"integrity":"sha512-TK0mpHKWToojZM7CqHYZuDEdaXr3vcgoX+tt31L4I2Pif+13LRwouEhmCQkaoCT3sqW3kk5Kz7HvfCVZmPyetA==","signatures":[{"sig":"MEUCIAn0eWGcVwkGeoT1Xqm/e6OFziMIyC/u+Te79taUc01RAiEAxzgmDqnHnCRov6nEG4fiay4yFkkNk8SY9+h3q/NKQEQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJib6zDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6DA//UEeBmzPvtWLu30X86Y6fyrHgkvmULPK8Vz6ezrWMzaBRwmVq\r\nXBzLHRKU8IlNLPoURZNQyqa+IV7Y2bBO9rJcBzRGTIXgxFFBo73a5e3SVGO/\r\n/oUF3qas/XxSL3K+BjFg9pdi5Vi1+s94/vjl7D3QNVohkRZ4lnJ/H4D2QvUY\r\nE/ER4K/Tj4Gc+jb6OvOi3yEjWroF/fZaIz6eJfxe8biDkeeM1agD2uRialdW\r\nU7Mc9FHF2/pJUACBkAbUH/0hYk1DGoN8yRvrWcUcEEZllUiJRBUa1BPwMPaG\r\nKUNKIoJncv/FrhXPTxkeu79yoUlRHbMFNiLy6TTVGnKvPg+H7MlbnC92Z+UV\r\nQJbwOn9h8gTjs/DMijTtG8LoM7Fbhh0PMTg3dsu181Eic8n5qlvzVsbgHDOu\r\n0D+qDifpOQ3mpkLuIhTkiM8BejX3UMYlM25mU0oE//SC21davYSnDEEMNdMh\r\nwQH+rL3adlyr8MDVdKfMzd+n0Q4gMsW7ER8Nih8SOgvB0my0nawi8J+Gkx4s\r\n85X2f0tkDJaoiZSlsqDgjiTpEA3rID2tyDFsRh5cuD5GJjtguRtnMnOI+WR8\r\nPORVtnSDBlbAFn5wFIaSN5jV0H8yCnoogpJ0+nou0KTRSAuM9uXj/AH1dsix\r\nnKC19zRZHsUpdlKvm8p9OfZS9crNnKt8h64=\r\n=hM3G\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":"eab5a455ce8ca99b9214f2aa4b030ce355cc2cb4","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.6.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.0.0","dependencies":{"tslib":"^2.3.1","@envelop/core":"^2.0.0","cross-undici-fetch":"^0.3.0","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"3.0.0-canary-eab5a45.0","@graphql-yoga/subscription":"2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^15.2.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node_3.0.0-canary-eab5a45.0_1651485891706_0.40800343024010033","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@3.0.0-canary-eab5a45.0","version":"3.0.0-canary-eab5a45.0"}