{"bugs":{"url":"https://github.com/dotansimha/graphql-yoga/issues"},"dist":{"shasum":"4d2e76439ba08942b184a4b554397910c88535c1","tarball":"https://registry.npmjs.org/@graphql-yoga/node/-/node-0.1.0-alpha.2.tgz","fileCount":7,"integrity":"sha512-wlOi6Xed2pubuwDTLIUwzbQiE2eFSj4VX6XmwqM0Oka/+HNuMubH1j8dQdYyC7egx0PuUBLbrGCNOf70M0z6rg==","signatures":[{"sig":"MEYCIQCEwYgh2BrniE3RMdtaIlmCZvt1yHO5Vs6mjMdQcrnvpAIhANL3MW7cs1y/OfgZjm8YqfOTPZp+TSGcmf59iKjKBY6z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7go2CRA9TVsSAnZWagAAI38P/3CvE+E1YITvrYp9tQT1\nRh3hV5fLAMqPOGWw/tEkia9v/J9L+l3E3BP2ptI7dYMEVWhuIBvm38zHbzEx\nCpqxP4DlsiL2cbjPUQs35Vdr/xm9oKnlkSy5+fgTQOz9MZTs4f8tzx8R4TZu\nEHgoTH+ESTG6J6qGkK7EbAGcsKYhk/msglfydRrZtQ0SB6jnmvlDedLi4pPR\nr5M3R1NO2ntBoTV9PVl3foQRqV1qQn9ZR9iiW3ZTj/hGtrlAn/iODExBHvdT\nUV372mUhOtYCN2TiAnjXa20P/tBuMMr+wn8zczN+AiH8eBdf+hTxu5JbxPUA\nJS74rrvuxHwYAlCqhBV4q1m4okUIgQ9KA19jj1FrV7F1yN2hYM6kqcXkGhTP\nGggOfHD5TdxrN+wd6K6hknMDYDshEdf8CXQY93tP9y/x9Kae56nxM5MT033K\nv4mMrhZb6Yrkkn1NbnuWZoudyGhJXEu/jcMy4ykEAKg91qakahFkbdK28Csb\ng9wgpWf21PAK3Dofm9DvBtwXX4irAbvJ0DfkVtAKsWRGNlzVjod/9SX3Oqhu\nANaWNquaZbxQK2V1v1z5SLF4Heg+a3d9F76KAnkM6DLTADeQXLFqL0RYNmZy\nQgmBkOS/npeECaElvU46MDZD9NzSQ1GDmc9YyOINeArEAEtc/BwNAKCmJVF0\nEhL5\r\n=wEeA\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":"f11faa062405004566cdb9f3c900d3cae8e434de","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.3.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.4.0","dependencies":{"pino":"^7.2.0","pino-pretty":"^7.2.0","@envelop/core":"^1.7.1","light-my-request":"^4.7.0","cross-undici-fetch":"^0.1.19","@graphql-tools/utils":"^8.6.0","@graphql-yoga/common":"0.2.0-alpha.9","@graphql-yoga/subscription":"0.1.0-alpha.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.1.0-alpha.2_1642990133973_0.40057739764767764","host":"s3://npm-registry-packages"},"_id":"@graphql-yoga/node@0.1.0-alpha.2","version":"0.1.0-alpha.2"}