{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"46bbed7b490d973237367e621ffb1a8db4690356","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-0.1.1-canary-7546312.0.tgz","fileCount":7,"integrity":"sha512-55Ka7TiXOJs6nHIoyMyt2+SfoPoQNHDHfT31N/GgbBsze0KOPTYcJgW/JgMOshnGJzVmeC3dKixrr30P6MAJzg==","signatures":[{"sig":"MEUCIAJe5zhfv1pcnEVNPyAUn5PXLFBesrQTBRg87BSD75EoAiEAlDfW/wjwKf0UbwOi3v10m1yGtknDk2UCjcUiXaTSG3w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPDstACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo08RAAmKoojYqmgHq9wxadk3adACyoG8eNZP/g3xDR3NangJzgZnby\r\nEuqatjDuEqt6xwb1hFJpB4iA/UlIN/kpPxL/u2KcZ06fIGcnH+fV3YV+CeD3\r\nbCVf7P0CD6xLQODH/lDHbCQhPVJPW2Ns+/h2ddEUn1pJkCsmYH6tp44/ueSU\r\nujXLwCVNpv8NZ0wvEJLzIj0PkzZ+Iz1BsZOjjEyiYVeC67G4qWrM1zE0aS4a\r\nybPvujX1TLc/WXRQQ6D79mqRZ6NQYiaNhV5naFu7p/VjFF2NL1pdr9S+PpAS\r\n7hJ9TxyWpidANJx9MBE+vJArRKxMCtzlS0Ww6hYuzLpHBCMlcrl+p79UNb2f\r\n/TbFU0wT9GlqbpRBj2rvYYrsPcIWiP8/Wj/YBPZXu6GG1Msv5ouN/0Ie37EE\r\nDWyw9PgHWnlyxc4Szt8DZKUhjraXyJtAL9jiE6j9PqmgicYTgw3/SQmqG7Il\r\nXMqnGnUw8K6AasFyt+aH5y+miz14GtgIDSq0FQFUhMmscEdhiwPKoq/cMx+y\r\nhUdBRtydexHfhtbEVVmfn3DrMoWwu06SlaHo/YlKwUXQOXdB1jejxCMm9AFY\r\nk2zjMfdSj4+i33PoSeBd+C5BUTbIs3UeZcPoVVYMEmDoZYloMe3Ob6ZHWDjW\r\nGyHkuXhXTUTPdihTZ26/lIBXDfhsfBAjKtg=\r\n=FjEU\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":"75463125b2ef7c27d2d3c9ba9dd3f02627f7dcc1","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.8.0","dependencies":{"tslib":"^2.3.1","@envelop/core":"^2.0.0","cross-undici-fetch":"^0.1.25","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"0.1.1-canary-7546312.0","@graphql-yoga/subscription":"0.0.1-beta.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^15.2.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node_0.1.1-canary-7546312.0_1648114477824_0.3693273096437004","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@0.1.1-canary-7546312.0","version":"0.1.1-canary-7546312.0"}