{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"b7ad77c7428e76c44c151de900165e1484d7417b","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-0.0.1-beta.2.tgz","fileCount":7,"integrity":"sha512-XcZEqAteg2qLC0dl1Vq57/SY4jLBkUFJZ7sm5rH1wPJ/kV12xRPbjjDvkSfi+34qzgwAgxCjWczQa29gvAYZEA==","signatures":[{"sig":"MEUCIG97jwjt/Jy1/HIFOSnQeZMWQEooJbIrVnw3wyWQqheGAiEA0wFx8g6Ynu8mnBcw32gVe0Dfr8RomRvGREY5FgmrtLg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiF5O2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvIQ//Yz6+YTmemUOey2IwK+lzVLpATmTdZuN5kx74YHKdtFw9wVTu\r\nglBixVIV/1rEjiEqs7tyShsWpoTNCreKeHbLZZFNo69Lc70XS17ejG1wn9mr\r\nmzvLayEW3KcURBfbLEcbmT980v5mTeJNR65EuL6KzhMmigIJBcDQfObNa6vi\r\nkgZOiiMgEdKmjvMI++Ow4WkszktoRtqX5N1BjsSW+uyr5YZdEbztri7yKfck\r\nhg6sfXcazARpfXttoT/kln9+8XPthXWtheM6sggTht/FWBIorHy+7Nn8NG6p\r\nnGJweB62TqSt3qgqkHCaQY+f+8uAXhNpocwtn7A/j6nqEbDHmqeXr0NOp726\r\nZPfRgVGKmdJsOus1vCA88+/acYs0zlse1f2SlGewy7/UqwGkUEekirsOKT8y\r\n+a1zzIh4C8u7Ul9fMKZZDwbz+uvpyqDDnOwcHHnDh6Lmm3Ihr+ddicRXaOEx\r\nwQsjKQNoFbhMeRHh8bosIuCSyfNlK4J3442QE3PR7jbE0fkxYolR4c/2ra/6\r\np//Ug/Us9140UPlXQFxs16rmEvJqWTkaBanzsvPlRtn6mnHN+F9kgV2dn2ce\r\n+5Ql3kP0GZULtUySs9s9JygMQC1iuVODbOFKr1dNjE7R6pR/DiW/0LZh8BxJ\r\nBsFV6iC8LAmUa21afxDMNd6FU7xwevE5KLw=\r\n=7o6B\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":"50dbf38a0c0a57dcbbaac684978a872dba0f27d4","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.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.6.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.25","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"0.0.1-beta.2","@graphql-yoga/subscription":"0.0.1-beta.1","@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.0.1-beta.2_1645712310242_0.19399516685193952","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@0.0.1-beta.2","version":"0.0.1-beta.2"}