{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"cc498280966828061391d8fcbfdae07cd633545c","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-2.7.0-canary-b2fdacd.0.tgz","fileCount":7,"integrity":"sha512-FjaaPse/exEcz240iJz1Dren/f8WK1ksofRAfs2wyShOCdb4jpRXTu0YAbeE1GSC8g/nZVIrDXl+/najg2Jt5g==","signatures":[{"sig":"MEQCIEy8hYc7aVm1hxeoxI1wpPOVXgDFpP5xwq3g3nrMQaY3AiB75bWZTsajQcj6hf6r6NJEzNVdoc3K+lFRaIf2zr7vOQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30753,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigpXaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp6DQ//V+v94RePop7RiNOeQF6CHM80s9M4KYDqKfgg8IjArwfIZjsH\r\nnlTGDKnWMqzkr0qmmrXeo6oUmqFgHDWxa9NW7Jxtbsdt2yLlV5HdJT37IGG+\r\nxy167QBFs4UDblk8fEfyyMBQRTWAHeQ7maULU8dweO3fE3RywdXMD2FKL/6R\r\nFyIuCm94xWLLjxnPAFMTNGS/Cq2AEpQ37/oxGSRtR5K0n4IblUFvebH3xelr\r\nXBKyGamHHpfeqGjlnqZrbe7PpkE1v5kZhIFDdRcyaYxOsOhyNo5Q9Cg6cTaC\r\nw4l5jBg/xUIkg/FR38Sut0zrOq/fqCZT3zFdLmjcGTgT2OGNAYO7jHxBIO5K\r\nXTAAh+lmFREaKVbZDiP0ZZe0hSXy1zswJ26xpVyW7ZrD1nsx4dplXPapb28u\r\n3jKn0D7XkC+TEanUOhF3QCn6TnXeuRkTHD4Lh/p9tsTi2LxNJneBZgeJBI8B\r\nVUlZmuXGKVu14B6eVZKtQyEbecNuusK8Q/eVcjevSYqUvmDGEY67vq/HIGTb\r\noSoLg7bFwXNlAtsE8BvsdZc29sb309qDDiftGg5e+l3PGRlUToE5jMJhklTh\r\nXWRbw13kch0bDN14rjj+hlMgXTZzk9//R3JLq5hibbhf0KA7gC4GoL+wMEsE\r\nrGVq1tGRXBfq2/pnBdvLkcS2bBJUpWxQEGM=\r\n=OrCi\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":"b2fdacd1a5bdf6a929b1f06c1a025d09b9d4f475","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.7.0-canary-b2fdacd.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.7.0-canary-b2fdacd.0_1652725210511_0.9079760045568128","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@2.7.0-canary-b2fdacd.0","version":"2.7.0-canary-b2fdacd.0"}