{"_id":"apollo-server-azure-functions","_rev":"322-5b94f9086d7f041d9cca30b89062eb1a","name":"apollo-server-azure-functions","dist-tags":{"next-v3":"3.0.0-alpha.3","unified":"2.23.1-unified2.3","alphalambda":"3.0.0-lambda.0","html":"3.0.0-html.2","preview":"3.0.0-preview.4","rc":"3.0.0-rc.1","next":"3.2.0","alpha":"3.6.0-alpha.1","v2":"2.26.2","latest":"3.13.0"},"versions":{"1.1.1":{"name":"apollo-server-azure-functions","version":"1.1.1","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.1.1","maintainers":[{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d27281695b4cf146241290355008b3d47bf992cd","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.1.1.tgz","integrity":"sha512-sM2moVfaWF+H4KMeQj8IWn6cHgpZ5nnjoubEvWXz1ISA3pUbrza2IFW7/5Lo92wp60BRPrEO0sI6sD67pYBjJQ==","signatures":[{"sig":"MEUCIQCrxFdmCgXNeYb9Eri54OAsnHwRs9EF49DeJeUGVqoEagIgJBv6kgcbMUGyCnw6fA3jvXMsFWwvNq6IBr/c5ajbu0M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"d27281695b4cf146241290355008b3d47bf992cd","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.3.0","dependencies":{"apollo-server-core":"^1.0.2","apollo-server-module-graphiql":"^1.0.5"},"devDependencies":{"@types/graphql":"^0.10.1","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.0.5"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.1.1.tgz_1502784782491_0.5669345792848617","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"apollo-server-azure-functions","version":"1.1.2","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.1.2","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7ecc19af4e41161842fa00723bca1561579e3e5c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.1.2.tgz","integrity":"sha512-cAZgG8r+/5iodwR/c+UD1Qa7UwRtz93UIq40btFez3+dvv8/hdR49M3diHZJdYKUFqlNVDYO44j3bwZBBexyVw==","signatures":[{"sig":"MEYCIQDs+6qekzC7hJTagHBZgKSVyOXzd8TpQTHR9ShCBjs/QgIhALn7WbOchn4fSWQX4+eepwWENU74Hk7RRO2vatYE4QjI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"7ecc19af4e41161842fa00723bca1561579e3e5c","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"sashko","email":"s.stubailo@gmail.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.2.1","dependencies":{"apollo-server-core":"^1.0.2","apollo-server-module-graphiql":"^1.1.2"},"devDependencies":{"@types/graphql":"^0.10.1","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.1.2"},"peerDependencies":{"graphql":"^0.9.0 || ^0.10.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.1.2.tgz_1503548856066_0.8763726719189435","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"apollo-server-azure-functions","version":"1.1.3","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.1.3","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"df45d6b37e2ff5939a0e904d08f5b12fc9119248","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.1.3.tgz","integrity":"sha512-DQQIQT5Y9/Fq9hI2Qc5ovTQ3STruKB+Oa/qMr1sKUvoupKrHpXcEJzw+CQI29UNBWJNaQz1iuHfPxEJKrSyNYA==","signatures":[{"sig":"MEUCIFpMuGGXVxFJbNtAZlxtde73qrbUUfnuVG7CRNCAKwTLAiEAstD84Ut60bm5vi/2OH+SpIlRNir4adqoyPdzalFjJTI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"df45d6b37e2ff5939a0e904d08f5b12fc9119248","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"6.11.2","dependencies":{"apollo-server-core":"^1.1.3","apollo-server-module-graphiql":"^1.1.3"},"devDependencies":{"@types/graphql":"0.11.4","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.1.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.1.3.tgz_1507178809333_0.5875845523551106","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"apollo-server-azure-functions","version":"1.1.5","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.1.5","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3c2bb72107daaeda5148aa6941608e85c500620f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.1.5.tgz","integrity":"sha512-n8FCJNdubiRJoMR/jJtAX7GWhcHUvKpMtpGNvXzM2D1x3Qk5oDgH4jea5cM/f72CVV3yyFtu28uyNId2EjCwZg==","signatures":[{"sig":"MEQCIBQbAJTlQrCdsZJ8mHqjARHtoy6bnA2DwUb81iR9I2GDAiAuXVaHllpmStDnvfDrv1x7dL8GTNtmDpQLUDdIzP/zkA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"3c2bb72107daaeda5148aa6941608e85c500620f","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"6.11.2","dependencies":{"apollo-server-core":"^1.1.5","apollo-server-module-graphiql":"^1.1.4"},"devDependencies":{"@types/graphql":"0.11.5","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.1.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.1.5.tgz_1507574060509_0.08839733130298555","host":"s3://npm-registry-packages"}},"1.1.6":{"name":"apollo-server-azure-functions","version":"1.1.6","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.1.6","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"08e4920f0dbb7abce0fd5818c9bccc8daf5624f8","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.1.6.tgz","integrity":"sha512-cnS0azHFM77eklFzlQmNi/ZnevauBsV7KO0HPICk+ZAmDz70QVJ3iiKmtZK8oOYspe/lb3QHRbM/fpB6uGLc/A==","signatures":[{"sig":"MEYCIQCo8Weo5HOfV3q7ToyNmXaLKtYOLCKuHG4NpHhfY5RGlwIhAKM46bE8/4PCshKG9MdjNrDT2b49KhKScH9aQXvORgju","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"08e4920f0dbb7abce0fd5818c9bccc8daf5624f8","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"6.11.2","dependencies":{"apollo-server-core":"^1.1.6","apollo-server-module-graphiql":"^1.1.6"},"devDependencies":{"@types/graphql":"0.11.5","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.1.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.1.6.tgz_1507576338741_0.561335623729974","host":"s3://npm-registry-packages"}},"1.1.7":{"name":"apollo-server-azure-functions","version":"1.1.7","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.1.7","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c5126653f6b0a2ca7b74c41d5053d2f468a4df88","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.1.7.tgz","integrity":"sha512-t8cdxbdKjHGZYXxyDqUhEtia7eDOunnPjpp9yPWhQ02Jxwc3rl/Gq1eGV1gs28foK8j6bm/OtYX1ew9YNmtl2Q==","signatures":[{"sig":"MEUCIQDVbg1Q8d+rqt5Q8SbfAIgoe36b8LPCPkTYZgLJQ35unwIgakT+HsiZh6pGLs7UMWL1SkcL1LFPKwZpN+fzziBgzDw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"c5126653f6b0a2ca7b74c41d5053d2f468a4df88","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"6.11.2","dependencies":{"apollo-server-core":"^1.1.7","apollo-server-module-graphiql":"^1.1.6"},"devDependencies":{"@types/graphql":"0.11.5","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.1.7"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.1.7.tgz_1508165977593_0.06875872379168868","host":"s3://npm-registry-packages"}},"1.2.0-pre.1":{"name":"apollo-server-azure-functions","version":"1.2.0-pre.1","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.2.0-pre.1","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"02651c1902f8c1dbb641cf4bb3029abcf4af26b8","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.2.0-pre.1.tgz","integrity":"sha512-GyX2JEToa0VWimyVYYA6hjyHQ7DDUqNX6SoKzo6z/709Lv5JeYg0la/ass1WawB3rZn/XL7cv0a+DHLS3SKjPA==","signatures":[{"sig":"MEUCIQDyES7t2eJQI3C1EVKyCUwsobBBTrplmdhKL+Hli0pdWAIgemzItqQXkSygg22x8QnYsEHhgfCJSLrN/kLq1ENtF4Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"02651c1902f8c1dbb641cf4bb3029abcf4af26b8","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.7.0","dependencies":{"apollo-server-core":"^1.2.0-pre.1","apollo-server-module-graphiql":"^1.1.6"},"devDependencies":{"@types/graphql":"0.11.5","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.2.0-pre.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.2.0-pre.1.tgz_1508817309347_0.3892323721665889","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"apollo-server-azure-functions","version":"1.2.0","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.2.0","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c56bd9ac5eb902b096165541854cfb5ca2441801","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.2.0.tgz","integrity":"sha512-Y7Jt/7qyXPdQT8Cm/JRXKi6X7DX0UYEVDnt9LhLB+jTIXMhyrlkwE14OLb8v7gZr4jkvg66xH+VRU3yIXNf2FQ==","signatures":[{"sig":"MEQCIAKX0/hQ1tJp1EiOoXb4OxEhSFcXa6ArMav2x9Tbo+h1AiBSEprwvpdf0NI96qEHLfCQlvtHhCk9H7HMydToJWXDNQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"c56bd9ac5eb902b096165541854cfb5ca2441801","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.7.0","dependencies":{"apollo-server-core":"^1.2.0","apollo-server-module-graphiql":"^1.2.0"},"devDependencies":{"@types/graphql":"0.11.5","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.2.0.tgz_1508861700929_0.6724656417500228","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"apollo-server-azure-functions","version":"1.3.0","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.3.0","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4f573bc451bbc29168701875c951966bcce2a990","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.3.0.tgz","integrity":"sha512-S39c4EdN9m56+BcjIDKJ1KFOQxxz4l+QsB60I5H7Hp22Ma+23r4Lioa/Yna429edUl5NVo/urUhSR99DbIlhcg==","signatures":[{"sig":"MEUCIQCfQtN4BtvsopvTXJfwbN+fkqVNlor+MG9Sc4zH30zYWAIgbp0JKhUkScQg1PUTofz1rYD9XE8ZD32kKuiKHPKjjAI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"4f573bc451bbc29168701875c951966bcce2a990","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.9.1","dependencies":{"apollo-server-core":"^1.3.0","apollo-server-module-graphiql":"^1.3.0"},"devDependencies":{"@types/graphql":"0.11.5","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.3.0.tgz_1513068358407_0.10881556570529938","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"apollo-server-azure-functions","version":"1.3.1","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.3.1","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ca2cb0c6eeb49d7172ae485a87ac657ff72ed33f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.3.1.tgz","integrity":"sha512-Ue+zB7bHjb2H36Vu7IcVtoorAHU0pUDXsjAWMkU1YqkeVxQ9dkb+tyuGWMJGr/qqmPcjhWnKmXyR9nB0EykF4w==","signatures":[{"sig":"MEUCIAFQhWyXS4HRZSqVLAIOvZX5CLfYr0ktd+GQCSiDmrLXAiEAymxTaSeKBwUZpqWCUjEGC6uUpH8vqUg+5mrVoekEr2c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"ca2cb0c6eeb49d7172ae485a87ac657ff72ed33f","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.9.1","dependencies":{"apollo-server-core":"^1.3.1","apollo-server-module-graphiql":"^1.3.0"},"devDependencies":{"@types/graphql":"0.11.7","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.3.1"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.3.1.tgz_1513578897835_0.05409561120904982","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"apollo-server-azure-functions","version":"1.3.2","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.3.2","maintainers":[{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8e0679aa493f53ef95bdaf6464d9effed939de6d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.3.2.tgz","integrity":"sha512-2YMSR5iLkxNxktsGlDNGZXbrMP3PODvFtk4XQ36tz1MZLCOjWyDef31zbmTauhLqSKJx1zfZ4nMQNZ+pglMq9A==","signatures":[{"sig":"MEYCIQD+WCrdWTxB9saDdg9OjwT5ZjVMYjsRq4QesXdHsfi0OAIhAOP4W5rSW+1/Ay4qdu0dpMAd0YUVGOq4VHPlnN4CIMyd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","_shasum":"8e0679aa493f53ef95bdaf6464d9effed939de6d","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.2.1","dependencies":{"apollo-server-core":"^1.3.2","apollo-server-module-graphiql":"^1.3.0"},"devDependencies":{"@types/graphql":"0.11.7","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.3.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions-1.3.2.tgz_1513699380651_0.33194128796458244","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"apollo-server-azure-functions","version":"1.3.3","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.3.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c722df1b4ea752fc93da44a20aba35862203039e","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.3.3.tgz","fileCount":8,"integrity":"sha512-ooopLx2vX7gr922AJU1hNJbUY0gS64No9vZxgpI0q9xuG3rwWsdmWl/WCd5sZptjG0uhCsWKxkMAF2gOzQFjhA==","signatures":[{"sig":"MEUCIQCC+L1YO+KLfdJP6YL6/58QrffAhKeQlZbaqqLxxgcq8wIgETLRORlLfI6gfj4S3+MZu/xeALDqiglPIFOBiloQ3Og=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9164},"main":"dist/index.js","_from":".","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://travis-ci.org/apollographql/apollo-server.svg?branch=master)](https://travis-ci.org/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Azure Functions integration for the Apollo community GraphQL Server. [Read the docs.](https://www.apollographql.com/docs/apollo-server/)\n\n## Example:\n\n```js\nconst server = require('apollo-server-azure-functions');\nconst graphqlTools = require('graphql-tools');\n\nconst typeDefs = `\n  type Random {\n    id: Int!\n    rand: String\n  }\n\n  type Query {\n    rands: [Random]\n    rand(id: Int!): Random\n  }\n`;\n\nconst rands = [{ id: 1, rand: 'random' }, { id: 2, rand: 'modnar' }];\n\nconst resolvers = {\n  Query: {\n    rands: () => rands,\n    rand: (_, { id }) => rands.find(rand => rand.id === id),\n  },\n};\n\nconst schema = graphqlTools.makeExecutableSchema({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = function run(context, request) {\n  if (request.method === 'POST') {\n    server.graphqlAzureFunctions({\n      endpointURL: '/api/graphql',\n      schema: schema,\n    })(context, request);\n  } else if (request.method === 'GET') {\n    return server.graphiqlAzureFunctions({\n      endpointURL: '/api/graphql',\n    })(context, request);\n  }\n};\n```\n","_shasum":"c722df1b4ea752fc93da44a20aba35862203039e","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.10.0","dependencies":{"apollo-server-core":"^1.3.3","apollo-server-module-graphiql":"^1.3.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/graphql":"0.12.6","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.3.3"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_1.3.3_1522074053823_0.3495601538234143","host":"s3://npm-registry-packages"}},"1.3.4":{"name":"apollo-server-azure-functions","version":"1.3.4","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.3.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f449c8298e75e882367fd826b57e85d4cc693eda","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.3.4.tgz","fileCount":8,"integrity":"sha512-EqUBCrFpJb6lr5X7cA7ekKKKx0B6UuEj18/NGBI5sp34ZyIh1mUUtmvjpO0dVkvwejEf2zQM4nhD9fh0Bk1gng==","signatures":[{"sig":"MEUCIQCQzcyiPTGJ3HIFJ7caT7Ti0UOSHb3aOu+sKDECdbDMIgIgX3mZN04viDl8MEbfR6dPtThhPkqv7UfQat3FbfwSfEo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9170},"main":"dist/index.js","_from":".","_shasum":"f449c8298e75e882367fd826b57e85d4cc693eda","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"9.5.0","dependencies":{"apollo-server-core":"^1.3.4","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/graphql":"0.12.7","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.3.4"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_1.3.4_1522270651867_0.7727715064712315","host":"s3://npm-registry-packages"}},"1.3.5":{"name":"apollo-server-azure-functions","version":"1.3.5","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.3.5","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"aac3696d6ce03422b1d27dae668006b509d7d367","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.3.5.tgz","fileCount":8,"integrity":"sha512-stRjZzlNBAEiF96CAMlXmiWTLLK5cHBol5R3Bb0ScdTFZi6HhE7bwtgs0F99EzJbcsEJAEIuyWHhFn9/pELqWQ==","signatures":[{"sig":"MEUCIC0GZqFM3MzbmYDQWbghIVPrr+Ao4kWSkKIxfyE+blo/AiEA2oSuXdk/LTDDtHdO6V90YSmDd38qARlKatLNR0kApt8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa10O5CRA9TVsSAnZWagAAB3IQAICPb8LPbubls1Oqb//N\nDL4TjgtV51M8DUTLz06oZbjSEIcmfJX3XmXvWYY8x1wD22y2NSZnbgI99TQQ\nEFdbyL4MNRxEEux6bNus60zsNg50rSP/oHjdLSvtb6oqDjMlH7y6O+9X6pKR\n2Xf03CGDHze/YEKelFLdLTBIU4FZkDAiqdsrF51T8pbkptHzoVYoJoRuAk0t\n5VxMyUhWgryi9yh30PvdWzBvzrQ2lOph6xfB+mjGkSFBlPsXU7RVXfOAPBhH\nAZujfaNH5ZkDvBVCET0/4LAigr7f2cxhXORMh/XzH/MpXfecRr6v7SitSobK\nDBWTvF26HZizMr7rpB6cJWo0PtTWiJ/fVvuaiYqmkIAz36ZeiJqlTaNmOSNU\nBeVL7BRtyK5vXQWLaeGuK8oJX2Lf1RIzufiYxA4GIumddIUwrIHklRck3MbC\nOt2ZpI06+3rA3R/K3Tu2cenTb7j644fIAdX+z1saGZZzDd2rIat60v/R9yFQ\n9ieSCcj8+j80HyBWujgXKZTbqE6+Ev1crEXJiOu35VXwRFOyeXYz6SCRGEeD\n7u7BuXLOClB+U4NDaZmZwmxQw3jHPsUaEsiY/eWNu5QwLJF9WwK4wSgRjQQo\nEZSbc3yoSO/kYW1FuoQc1gT0zTD0NBj1GISRBJak23nof0Dp5OaiOvd2yTo/\nXXsF\r\n=J1gT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://travis-ci.org/apollographql/apollo-server.svg?branch=master)](https://travis-ci.org/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Azure Functions integration for the Apollo community GraphQL Server. [Read the docs.](https://www.apollographql.com/docs/apollo-server/)\n\n## Sample Code\n\n### GraphQL:\n\n```javascript\nconst { graphqlAzureFunctions } = require('apollo-server-azure-functions');\nconst { makeExecutableSchema } = require('graphql-tools');\n\nconst typeDefs = `\n  type Random {\n    id: Int!\n    rand: String\n  }\n\n  type Query {\n    rands: [Random]\n    rand(id: Int!): Random\n  }\n`;\n\nconst rands = [{ id: 1, rand: 'random' }, { id: 2, rand: 'modnar' }];\n\nconst resolvers = {\n  Query: {\n    rands: () => rands,\n    rand: (_, { id }) => rands.find(rand => rand.id === id),\n  },\n};\n\nconst schema = makeExecutableSchema({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = function run(context, request) {\n  graphqlAzureFunctions({ schema })(context, request);\n};\n```\n\n### GraphiQL\n\n```javascript\nconst { graphiqlAzureFunctions } = require('apollo-server-azure-functions');\n\nexport function run(context, request) {\n  let query = `\n    {\n      rands {\n        id\n        rand\n      }\n    }\n  `;\n\n  // End point points to the path to the GraphQL API function\n  graphiqlAzureFunctions({ endpointURL: '/api/graphql', query })(\n    context,\n    request,\n  );\n}\n```\n","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.8.0","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"4.8.7","dependencies":{"apollo-server-core":"^1.3.5","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/graphql":"0.12.7","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.3.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_1.3.5_1524057017240_0.5976558178275233","host":"s3://npm-registry-packages"}},"1.3.6":{"name":"apollo-server-azure-functions","version":"1.3.6","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.3.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ceda8662009669ca51b722abcb0be26129e5e1bd","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.3.6.tgz","fileCount":8,"integrity":"sha512-3JfzbZmY8+y2SU27Dbwm9yYM3SLrD21MYFhmJ2Xl11TBe8e732nbiUoYSlcZM3OymQDPY3waMeLgZibKMF7w/g==","signatures":[{"sig":"MEUCICdvqheeG1j6HS9tNTwxdgCPdPpHL/QuuhCJWtHG+T3yAiEAzMzBplR4HBGgm+PdViuNCsu8CRJh4nR8NILvtkGdZhE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa33jzCRA9TVsSAnZWagAAqUwP/3O5dBV2EAN+OsiDPGTL\nWgDPGwniguGUZrdNqFfnMqNcVUQbcQsjVXAFQFVVKnvi1imIPVFaP33W8n4J\njxgYc2EPIbL5KDTmWaRShGcMSqOEgnmXF+gPXW90rr0aPXm3ZxjvpAtJs2FD\nSbqoE2njRQXVAhF6JgekATb+USSQUl4w9T4ulnjUkJDJS0zoXFNNbhVTAQwc\nuIvqf5l0nwbuQi7EDcugfIPv9CxTdAFCgVq2a0s6xsViStBolPA4UsYrTuIH\n5oqdDXFIoAuKf7k0yiLp33DTihN10xsjh/MXfT1VfLnzpk2zUoIz+NqnntCM\nBJRLwHgQH3jccQ+LR+eNLfQm3tkJRxJKuJzzpo3IdjyNLDDHB3EC1WDdxFR5\neR4xNT9GuHNuDK/LDeuKC+Mll+zpOKTlQSZJBXQxwbC+gd9nAwkkMt5VzWzB\nPh3uC+rOlR8symkd96euANsHyxcd0Pt0w6Y7W9xOFq7pY4KbY6w5jwnCRADq\nby0V13xvy5s0d93XNbntWcicSLTQHk5qgmE+YUrvcOlcEXnChAV/nH/cDtAf\nLo+/zY/xvYbwfxKmsbdF7zfGh41arKe7XlPOr5NKR6ewiGAmd8Nyx4Yu4PX2\n24b79ibrNQtCAgZ62VAfyqLYJFgeCEHDOLFSaAF+28l/G7lFFcEBA9ohZbb2\nIOKT\r\n=8QZt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":".","_shasum":"ceda8662009669ca51b722abcb0be26129e5e1bd","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"3.10.10","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"9.5.0","dependencies":{"apollo-server-core":"^1.3.6","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"@types/graphql":"0.12.7","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.3.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_1.3.6_1524594930480_0.21565604178900588","host":"s3://npm-registry-packages"}},"2.0.0-beta.5":{"name":"apollo-server-azure-functions","version":"2.0.0-beta.5","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.0.0-beta.5","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1ea8267e22d1cd832a37ab8015c2b4e0fa20cb49","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.0.0-beta.5.tgz","fileCount":8,"integrity":"sha512-tqMGa/4jB5SULUMrb67QHBVYlKOa9UKvTv+Shb7ks65jN7drQEkiVraaRTqYtoE37lnnPl6EwIyR0ast4N+/kw==","signatures":[{"sig":"MEUCIFSGOK13tucm70MMXfTz5+VtS8uV1vw3xPIUEaiDGQQpAiEA6UwPDfMCznCvTDk8VQxatBobbB9CcUKwDh6GueSrx2k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9863,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGawCCRA9TVsSAnZWagAAGYoP/iO1y2bzLPxWdDzHh8+F\nwSIyRjM7Vg3OiKYovMpTz0w23aMt4dj/MixFlxmQBNJq02R9OMsrCZNJgvSB\njkYQhbimjefA9AqYgY5nVYe9DwFWWCcGZ4XVysMAAKEn9mSr12S0Va26aSm8\nYcJz886JI/rHf2daWeGRUBYuHY2D9RFa0z8CC/DcoLu5WFyArcO/NsTFG/2E\ncjwlKNWgK6IxFrRDa5dJnqnw0FW8SGLXduuFvHvJPnwzEPqfdiIickmzxiig\n+5GlgceFGrwMQi2O8ZxLXrmWohE+bR1xT0kaXPFY6GI4sf6zI08h6fIp7Ff8\n2r6ErfxvxTWd9Zku8S7gl1E8wXn5BcZ5wuuqnFvLnVtIDb5IBqPXLn5B3itD\ntgb0L7VjFXNOZY1IrcGQxrbTXFgd6Cne/wq0/LbhVc+rK+Ejd3wy5q1XQxnf\nn0j6zJTVtu/fgrV3F/QgTlFq7CHN5iWGg6F+kMA14+q/dLzBgEd2wX3DoLiY\noC+EQOWIVk0YrvMprQfbwdtL4jCrV0Y3TEH8Bu1pKJDmONRqpwuzAUmOBej8\n49Bh7OmJxmDk1nX9IERZ6eauQNg7WsFDMghCO0Q7aFOkTrrgOtPISHAzxY6+\n9/2FwjZpbTYPxkptgL6whPC7YQK9wBscOJDfIegfHiEf7lwX1F5EbNrqQ7vN\nfQIX\r\n=Q9l0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://travis-ci.org/apollographql/apollo-server.svg?branch=master)](https://travis-ci.org/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Azure Functions integration for the Apollo community GraphQL Server. [Read the docs.](https://www.apollographql.com/docs/apollo-server/)\n\n## Sample Code\n\n### GraphQL:\n\n```javascript\nconst { graphqlAzureFunctions } = require('apollo-server-azure-functions');\nconst { makeExecutableSchema } = require('graphql-tools');\n\nconst typeDefs = `\n  type Random {\n    id: Int!\n    rand: String\n  }\n\n  type Query {\n    rands: [Random]\n    rand(id: Int!): Random\n  }\n`;\n\nconst rands = [{ id: 1, rand: 'random' }, { id: 2, rand: 'modnar' }];\n\nconst resolvers = {\n  Query: {\n    rands: () => rands,\n    rand: (_, { id }) => rands.find(rand => rand.id === id),\n  },\n};\n\nconst schema = makeExecutableSchema({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = function run(context, request) {\n  graphqlAzureFunctions({ schema })(context, request);\n};\n```\n\n### GraphiQL\n\n```javascript\nconst { graphiqlAzureFunctions } = require('apollo-server-azure-functions');\n\nexport function run(context, request) {\n  let query = `\n    {\n      rands {\n        id\n        rand\n      }\n    }\n  `;\n\n  // End point points to the path to the GraphQL API function\n  graphiqlAzureFunctions({ endpointURL: '/api/graphql', query })(\n    context,\n    request,\n  );\n}\n```\n","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.9.4","dependencies":{"apollo-server-core":"^2.0.0-beta.5","apollo-server-module-graphiql":"^1.3.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/node":"^10.1.2","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^2.0.0-beta.5"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.0.0-beta.5_1528409090350_0.4534908321721778","host":"s3://npm-registry-packages"}},"2.0.0-beta.6":{"name":"apollo-server-azure-functions","version":"2.0.0-beta.6","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.0.0-beta.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"34770c4bb36e435ad1b82239448f24b167438a46","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.0.0-beta.6.tgz","fileCount":8,"integrity":"sha512-4K7aDNXX/l5UBpovR9uoOkl+gOJImkZHOS9yj5FumMhAJRYZObOcQE+7+rFPr/89f0Q83c5cVoaah24yVGtjxA==","signatures":[{"sig":"MEQCID6vBN8qJOf33trRhiSFmGBlPgZ30x7N30ktLlfCxeiEAiAXtEFuiMFOndxqY+2HdZ3y+kR9m+zYDQLl/xjAnp6/6Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHv2aCRA9TVsSAnZWagAAwPEP/25dZjg2lZtbinOvQ+c1\nv0S20mI2K7V+zKNnVX4eNkQLa9j+S/kGbAP666L6Vtfg6DXCVOy/5B2c6Bb7\nAIsb32ui7AgdLASInHgaV9DtGp9tzbfOXKk3AHNOn4w+1cdS0s91oCKXbc5C\nh9L1JTYoUFsNIW3ou48Ua/xIvhdst+vxaMQClS2AZyw7+eOQirktp/ndwQX1\ny3ISoSLb/ozvihQZmRmZKOfOjkT8PDCXDssPvuGDcVro48UNMrvqdjn2NKWx\n/xBjXabgx8h7Xo9mFrHcNNThdIUt0cqVfvdUxLsurNAb7vWPcDxGhkic4TLj\nH8jItwbzkl5FpCnQLWcL9OIyWAbc886W5LGJnQVvfF2Q/EqOv/9/RTjpZmu+\nhiexeCNETcfeHSAXEch3wkDnlfuDmeJkdL178nAmFcuqYv00VzpkQngADmaR\nkhmxM9q8aOQMnEWWN4r9+FDVIoqpIiYMFcDsG4i5EEm6GE00DxX47SDp48wH\nF0ToYkYgOmyyTO7I6XYDaoPE+lBBHZp80kS/dPNdnRY2L6QPcig9G10h9ecd\nKHJdFIZd/dpTBvH51i8u5Bzfp+K/Giv+PtjnJO7ND86DkadTjXy5BG9c+n/I\nkIoTeg3Temuq1owHcs50fg4SJksNQMAiQ9768UoDAVgaMcjsq7MXQDAfHJV2\nIWZO\r\n=I3I0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">=8"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.6.0","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"9.5.0","dependencies":{"apollo-server-core":"^2.0.0-beta.6","apollo-server-module-graphiql":"^2.0.0-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^2.0.0-beta.6"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.0.0-beta.6_1528757657091_0.6321568561994089","host":"s3://npm-registry-packages"}},"2.0.0-beta.7":{"name":"apollo-server-azure-functions","version":"2.0.0-beta.7","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.0.0-beta.7","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"54d567ec7a6634422d1b508e13f06ed80d7d6395","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.0.0-beta.7.tgz","fileCount":8,"integrity":"sha512-238brZzQuMxbZFokKvxzcjqzZ9IzjPzhy02pamuCxAEn3+uwF4zgtV3svHZrSDFytAsYcds+tfcoBhNkLUKKgA==","signatures":[{"sig":"MEYCIQCUIuaY2HYtIg+CbWPk8cbYyzt+Lw6/eoZy2Nx9xLXUhAIhAMR5O/y/2+hkjPr7sgnIomZuzgiznyvsHAc+vusksQPW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHyXACRA9TVsSAnZWagAA6r8QAIkU5DDLxnaGNP6iCQdh\n841JImedxuQlPMyCP80ZABJUOahEhjb4PlqYRbF/qxCE/Z4lPbMqfkNNAVO6\nBVB4v39iOnDiaKP9x+Dqf4Kumo+yRgyhkpL6kDMdNXcKqbJRORyV23JzA6L6\nqh7yYHMWEHaHOv/UUbwz/5mn9J3TXKDUoVbo9YFjFK9B09fmMscVsZfFGLF5\ngyH7HmagvD7rrI50e54DZzIwYoQaRAG9uSIBR0B7Bve0Om8uRB8Ig/iOM+9x\nqyDfR6EuwX2nXfeRIjNghXv7YPxJidvwPYKv43OQROYJFbmQjwmjgxFRBb2R\ni1LAIbPXHh1NzZJoiRvsdUstrM+Z6Zi7s71SRhYsQbRcWuiYx44d1Po3wExT\nZifqx2z7UWsqlLYyam40NCfzpMMGRIoBemHkx8OcUmQqAVhF+TI1kjAgT1rn\nYwimCqLWRhdSiIMCL3MPfgw+j9lHnE1WccV0q/0dGxMTGPezktazisORha0T\nr5JlDP9rQ+amrjW4j4jbE2isNXzY0fL1ECTwhkXcjh9c1AGwd7kOhRbacOn5\n/p7P+23DcfZvSiQG21C6cI2KgjWjr9wcFoKXTDALx4OHqyrLDRidViDegxe7\nu2PIShHTdLpmER2waT23J/6HNnwSna2q1FEn3/jLKt5Ec4hFOJWJ1QYkgEYI\naLFR\r\n=IJk8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","engines":{"node":">=8"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.6.0","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"9.5.0","dependencies":{"apollo-server-core":"^2.0.0-beta.7","apollo-server-module-graphiql":"^2.0.0-beta.6"},"_hasShrinkwrap":false,"devDependencies":{"azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^2.0.0-beta.7"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.0.0-beta.7_1528767935757_0.9172166713951815","host":"s3://npm-registry-packages"}},"2.0.0-beta.8":{"name":"apollo-server-azure-functions","version":"2.0.0-beta.8","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.0.0-beta.8","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1e7caf75ea71de97e881ac47488e57d7ded85294","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.0.0-beta.8.tgz","fileCount":8,"integrity":"sha512-m4C87oeiw27N7QfGFKHVOhZiuuYaM5Rr2NW1tZqUDKStsTJhs5zlEHAV8sRvJrvKmNhhLG+zXwUNufW2lRR+gw==","signatures":[{"sig":"MEQCIALLTun0X14/bz7ODpSbASA/CrbbpWUpaauBbvOEQYGRAiAgXnMZ6qhfWlbnD7M2G5xIbIxayj3aEjPfcH3GKkfgpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIGtwCRA9TVsSAnZWagAAokgP/i2Fo23lwGQKcnwAq/+E\n3Xz0tvcxvk4DDl2WvSgy2yYHPf3D0XmUUpXVz1gWUHeurk313MqT8ECttkbk\nUkGQwLbuxzCx05v/rVT+tFTDUtdLQc6bk76Yl0EFX3ugt3zM3Rcx3zq41IuA\nW7EFxcgGLh+pBju/6HCtE7c9wy41TEDBDTdQuT8aiaDMv+YgMDntiCN0fot/\nz4c9NN9rK/qpAoTuQia5luUSUTXKcs4u2ioTr/WhlwwkUWyFMgqxxj/V6xDQ\nacjVLo86W2odR7x4wQkIVt/VL3cfm3Xbms3Y5UVOd7LMmcAkQbmu4QXnVdfQ\n3N4mL4qs6kuN1pGm0VDZGZZgaSxID4qJZ8wEkYSVPiRZLyxkfSuynStVB0CG\n+YfW5k5ZTTtJjFOiRvYE3hT87+8Q5ht5bnobcIQ0QNE39jNvjrLInt5NeX5L\n7xNYcIKvt0Z320Z8zsAWRtf+mqBl0VzeDA4hhQm8t+Jqu73IOdmsXcs2Ou4H\nFsXeSPS6hJzqel8mV3MGBeN8vKGTwRz9yCr1NpUxz5xMt28yiMFW3zMMaf7w\nLbccBdZ/x10VsnV/W1TJONnEShXgL4diOh8ajiCXRd/k6cjoo42wteogHMbY\nq7qo9YZFtCC8wxv1PrwfTMcn7KC4TKcffEZ8i/23c5ULNmHwzMOktb4CXCNL\nmH9F\r\n=L+oY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://travis-ci.org/apollographql/apollo-server.svg?branch=master)](https://travis-ci.org/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Azure Functions integration for the Apollo community GraphQL Server. [Read the docs.](https://www.apollographql.com/docs/apollo-server/)\n\n## Sample Code\n\n### GraphQL:\n\n```javascript\nconst { graphqlAzureFunctions } = require('apollo-server-azure-functions');\nconst { makeExecutableSchema } = require('graphql-tools');\n\nconst typeDefs = `\n  type Random {\n    id: Int!\n    rand: String\n  }\n\n  type Query {\n    rands: [Random]\n    rand(id: Int!): Random\n  }\n`;\n\nconst rands = [{ id: 1, rand: 'random' }, { id: 2, rand: 'modnar' }];\n\nconst resolvers = {\n  Query: {\n    rands: () => rands,\n    rand: (_, { id }) => rands.find(rand => rand.id === id),\n  },\n};\n\nconst schema = makeExecutableSchema({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = function run(context, request) {\n  graphqlAzureFunctions({ schema })(context, request);\n};\n```\n\n### GraphiQL\n\n```javascript\nconst { graphiqlAzureFunctions } = require('apollo-server-azure-functions');\n\nexport function run(context, request) {\n  let query = `\n    {\n      rands {\n        id\n        rand\n      }\n    }\n  `;\n\n  // End point points to the path to the GraphQL API function\n  graphiqlAzureFunctions({ endpointURL: '/api/graphql', query })(\n    context,\n    request,\n  );\n}\n```\n","engines":{"node":">=8"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.9.4","dependencies":{"apollo-server-core":"^2.0.0-beta.7","apollo-server-module-graphiql":"^2.0.0-beta.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^2.0.0-beta.8"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.0.0-beta.8_1528851311897_0.7983276693843462","host":"s3://npm-registry-packages"}},"2.0.0-beta.9":{"name":"apollo-server-azure-functions","version":"2.0.0-beta.9","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.0.0-beta.9","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3c76b1ee046e28b07bb11464eaaafb2031fc1b88","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.0.0-beta.9.tgz","fileCount":8,"integrity":"sha512-zfWwYJuAEKlUGyPiOSgKsorarNi+VimUd+oIXvRa56kZcRKKL7IhucgKmHSL4P0NQ6hYf39BVdLvIqefWQ6l0g==","signatures":[{"sig":"MEQCID1ZcE94nfZCb5JhSnPDGnRcUJdTqLDr82In93xFJA7RAiA3HDwv2uhM8YbNLKBRzNWzttfF52MMhtGZIWa57hv33A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIWbQCRA9TVsSAnZWagAApDQP+QFrzD09Nf93/n1g+ICo\nQwJ3PXDBP4tiraduJkZGZMvpWcTsRiZ4W7bblBtiUYXEfXjAwwKW5ZKAxZtl\n/TgYZfQj5p+fb9l9omb8GfeeMwhEp5BQii0gtEA43ohN8XOEGuW0ZFt74PbH\nevpU7w0QMcU80Rk/9DpMiHT77x/pp2tsG3k8NEtgWtzY6tWguMZEtiz91zwc\nFjqwcFN5jXgdKKMno//X93QX4mKlcQHsmk6HM2x32I80xJAsvwd8GltwyhPA\nWGhCrS1hGzZbr2lmP2VVhuoXuSM/0SAbTv+CvMtbrQCnR6RdKZTpJ68IrvUb\nuh7TQqDRF0Hwe7UUULkDlMaDQJXcEuqoKWc+3OSAyVJzeTPW18MNjwJ/blaz\nC752h446dW1hhN78Vr/VcyTu34U/WgcEJWdLxGfSRIYSilpIektN4ufM6WBe\nVH7fHmMYG+ggA+6EXkXnBdO3Fkw/zNqncMlraM0jrws4AA6z0vVxAlACdiYY\nl3SSMXhLs9Lb2hxtc32hBOjVUg5Q4n+jzl/iP+b1o/ufsQanKKs3toAsN0fY\nQ2ECXa2nt+DLFtQdRXh07XBcFffw6ayoAGZ2uGIHjrDlgeJKinM+7lg5QQCn\n+1yELLNyy/UDVtUo4LpbqvVQBQApHGi7lxpprEexYBMg8uOCUmr9SxneIUay\nMKxV\r\n=/Amr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\n[![npm version](https://badge.fury.io/js/apollo-server-core.svg)](https://badge.fury.io/js/apollo-server-core) [![Build Status](https://travis-ci.org/apollographql/apollo-server.svg?branch=master)](https://travis-ci.org/apollographql/apollo-server) [![Coverage Status](https://coveralls.io/repos/github/apollographql/apollo-server/badge.svg?branch=master)](https://coveralls.io/github/apollographql/apollo-server?branch=master) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](https://www.apollographql.com/#slack)\n\nThis is the Azure Functions integration for the Apollo community GraphQL Server. [Read the docs.](https://www.apollographql.com/docs/apollo-server/)\n\n## Sample Code\n\n### GraphQL:\n\n```javascript\nconst { graphqlAzureFunctions } = require('apollo-server-azure-functions');\nconst { makeExecutableSchema } = require('graphql-tools');\n\nconst typeDefs = `\n  type Random {\n    id: Int!\n    rand: String\n  }\n\n  type Query {\n    rands: [Random]\n    rand(id: Int!): Random\n  }\n`;\n\nconst rands = [{ id: 1, rand: 'random' }, { id: 2, rand: 'modnar' }];\n\nconst resolvers = {\n  Query: {\n    rands: () => rands,\n    rand: (_, { id }) => rands.find(rand => rand.id === id),\n  },\n};\n\nconst schema = makeExecutableSchema({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = function run(context, request) {\n  graphqlAzureFunctions({ schema })(context, request);\n};\n```\n\n### GraphiQL\n\n```javascript\nconst { graphiqlAzureFunctions } = require('apollo-server-azure-functions');\n\nexport function run(context, request) {\n  let query = `\n    {\n      rands {\n        id\n        rand\n      }\n    }\n  `;\n\n  // End point points to the path to the GraphQL API function\n  graphiqlAzureFunctions({ endpointURL: '/api/graphql', query })(\n    context,\n    request,\n  );\n}\n```\n","engines":{"node":">=8"},"scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.6.0","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"9.5.0","dependencies":{"apollo-server-core":"^2.0.0-beta.9","apollo-server-module-graphiql":"^2.0.0-beta.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^2.0.0-beta.9"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.0.0-beta.9_1528915664020_0.6560105278487685","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"apollo-server-azure-functions","version":"1.4.0","keywords":["GraphQL","Apollo","Server","Azure","Functions"],"author":{"name":"Ulrik Strid","email":"ulrik.strid@outlook.com"},"license":"MIT","_id":"apollo-server-azure-functions@1.4.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"mdg","email":"npm@meteor.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"254a07a85483a26a135d5d2f810321275c79eda1","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-1.4.0.tgz","fileCount":8,"integrity":"sha512-tlNUDyA3fCjLClFEtgWmRdFbm8rtyQ9+4tU2MkicR3abRoMG4AGTCVh+rWt5TAvLTYPVBMsh+tqYDhrUz1YiEA==","signatures":[{"sig":"MEYCIQDb23Fy9IyGWRfORb8EgnGyk/Ecz+w5/oFWB7DL8PomqgIhAIBoMBKNWZRe11AyX7cc8pTrvJDjSu1GR/IOLnArxlBl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9806,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbSPOtCRA9TVsSAnZWagAA1IQP/3HUs170PNuQZNfgztua\nV5y4IFIcCYTDjua+WYi54lBJ1dKNY1+JPE8r+DKU4HJpChRyGA9FaO/6cUXa\nladppzyVXLGw4qNGgWcbdn32OS5/aVpaUpMfk1CyHXt5BmqDkhhrkEgqlfyo\nKVgEEzm0j6LKOebhM+tEVK2b+uYga8VpUWugcg32VUeTS6APvm2+2ozY7/6D\nY8PBLDaNLqhmH5f5/+gpfmrFqJyrUCJU5LxUoQXyvJBxLthidMiRajYyEvqL\nbM1TO5W3mzF2aTKKEHNiSTdkLWrcbfKOdm3CrAFgu8GDh1J59KqEXULjW+ZB\nAdG7KnqZL+qIMaGQ7zp2Y1QF2cWU/3BQNmp9EiWH00akrGoIP6HJJJZyminK\nZ76kLoK4476wgzSHVARs0F8ARCR8+sTrsm3TtZ2IUnWjfKXhcFOIFb5fmZEH\n+2T9fFUMa9VgtrFvQILH9J2T7zwNowJMIC1iDMGKP/L+zirqRnPyyJkvb59Q\nMo+e3NrTkm4MtDSVBfljltZNN0nlAsxs64ynezq3C0y6aTFj4IB8KjWmWDUp\nHSowA8EhgG6yDd7O5k4dk9ubx2Pb/CME4LZXjGZiftM5aJWnyBfvhRL7RPZZ\nOLEpDyCRLB3Jotwy2SGNte1qaaUBoaoJBAaYnukqQOOgFpVVz6rg+G9BN5Co\nOj04\r\n=sXA0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"compile":"tsc","prepublish":"npm run compile"},"typings":"dist/index.d.ts","_npmUser":{"name":"mdg","email":"npm@meteor.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"_npmVersion":"5.7.1","description":"Node.js GraphQl server for Azure Functions","directories":{},"_nodeVersion":"8.9.4","dependencies":{"apollo-server-core":"^1.4.0","apollo-server-module-graphiql":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@types/graphql":"0.12.7","azure-functions-typescript":"0.0.1","apollo-server-integration-testsuite":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_1.4.0_1531507629658_0.5097818644365115","host":"s3://npm-registry-packages"}},"2.2.0-alpha.4":{"name":"apollo-server-azure-functions","version":"2.2.0-alpha.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.0-alpha.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8b862690c86df037cc6b7d1fb0e94965f5d6205f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.0-alpha.4.tgz","fileCount":20,"integrity":"sha512-CWtKZAHzfrE4i2zLKen53Vck09TuhCgC+hOYbAEf6SxDoXmdBT7K4wgv5Iqv79T8ycvJmbF5Q2V6QBhc9G3AJw==","signatures":[{"sig":"MEUCIGPYM+PGpbZgD/NJKtEdfIC7TEDcLaZ0ZumnHskeNL5RAiEA0QpzBl/IFRb76aSlJsFA4He5CM37MmjPZgzpSpajSJU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4jQDCRA9TVsSAnZWagAACHwP/0HqNKh+7oSsOb8TZU1G\nfKpDmudejyuhfLT5c4LLaqN4M6yo5SRmoP3WutsmEnfD8O/QSrCmfuqB4tWo\n2TI1wOaxkFbUWebP0Qz2DEXa9woUI79uI6azUqNuVPa0FvlFR9HNheYsJ5Gp\n9cXW9XqsqWweiktKapWadCKFrP3yCdxNxAfzu9ONSDG9EZmOSfRKIE/Wo5gT\neoAbOXT8DQAEixDxWS5uotNhzbpjTN6hNt9boWjZ/dJlGCxR57Z7ZXtvHyUA\nqy5jYtLxcwYhzRA9KSvxNCU1gl27d/qYXQyFisaKOk/7PapWB5iKEJJHfxfu\n2rXYBqva5TQbJc67UrDS3i5Gn4ao9jRg8/lCOJyhZQYXeuK4ilHSViubSX1a\n0ijOhnJnrVD5wVY/cqVr2Y6m9M7jtmc3mWm+xJjYawhxaRElhaymbXjIzXif\nKf0J9L2IMd1jESXDCIFpd3b9GCK7O37OxDX0dIpc7+MkVWOMtJ97H5I//g0U\nN6CrrPHkbNEi8e7cBv77GvPPLb5fGeb8WbtS9Acbq91HwdHsI625JOwbUX6N\nMIomZ24NBRWbBaCgZyO0BPnl/BwqC5YzkogYKqjBoaxiafqRgWTiyHBWldxP\nt/EvfhbHM0yEGTgvvWJ4ilmbOI7vYJ54WnqfChOQwIQWL1QNNqeVb+gxrqM7\ngdOZ\r\n=63Ks\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.0-alpha.4.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-function\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-function');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-function');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"3eada89827549ee3cdc243fcfe2ae8c4c24e9423","_npmUser":{"name":"abernix","email":"npmjs@jro.cc"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.1.0-alpha.1","apollo-server-core":"2.2.0-alpha.4","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.2.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.0-alpha.4_1541551106514_0.33176788079789876","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"apollo-server-azure-functions","version":"2.2.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bf38d421d575b310ae52dcd57f30ca942a5c2224","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.0.tgz","fileCount":20,"integrity":"sha512-MwSlJmWhNTJGhm9RKj1om9LQyLgFkmh3IGcTMqaU62VAF/unHttD+Z9neh7DtbWGhnO+VLkR3Byyb/4XMXdLog==","signatures":[{"sig":"MEUCIQDEFtmzITmdyTUcs8OfmiePbP/4Kxji+I6jh0RoBe1LFgIgZUJqOfsRg75FxGVyLydwlmpR4ElCqbK49OpFefGl6gc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39517,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4xBECRA9TVsSAnZWagAA2dYQAIbcpgDWyVALbOyDnwGk\n8Ck+rxzI9XHXVIl/P9OWM4hKOln7+pksQtdSfw0jekRCB4/q+J/Q2DCTT0hE\nDWXhAQK9aNinA4+j2tzBnJHDGKGfMKErfvtkMnDUZyLA8tJvs/TdUxLwtQts\nSTWla2Y+6r94lC4rhyzFfVLv2EQr/LkygV5G0YDar2/VT7LDZKKTrqLvOb8s\ni4wo1wmuqnXn/aZhDgotl439atdXAwKb9q0o6gT5OszSyYkosuEZJ6QNqRjo\nUrXUOa+lV9UG/n1D4JPzij6Xy9zL/1EZGviO7dRs7xNscrPR99lEw/JK9ps6\nLuj8Wdh9rkxy0L+w2BA3JoJ/ljDXy4/pGuJAyhkmNIP79jg+U3SjAKMjILdG\n/iCjdKjwBycThRM6bDHEknl6ZFcyl/2UyekWb8x64d4AH5f4KOK5PE2iDg6a\n7HUoobHlTtv5bsEh9qE7LTB1BS2zir6KkFWEScQrCGJsqwVeohn4Vv5tCuyX\ntLeoj7sK1Cij/hQXN1llk7pq3ruYy0hdLjYXV+VSaSJx/JqhgLsI55FrLYiA\nq9n+VtO8C5UfNPjFeEItdYzsRPBlJ6xWV2Ew9oVvYxIwjmwLGJ+OL/JDzX6z\nYrGovII9/R1bWbSX/3NJx/TU2q/3eWXe+mwHwBvEWC9SvTXPWbhmWlV1mglF\nKYqj\r\n=nh22\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.0.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"6bd73b175ff628a5e9858e2a5da1aa9dab5ed348","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.2.0","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.0_1541607492051_0.8507428585033936","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"apollo-server-azure-functions","version":"2.2.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"01fb421a490c07ed7955176a0b7a6c201ebc4fc1","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.1.tgz","fileCount":20,"integrity":"sha512-xLZtUvPJP0Am/TNVxMaed5s/41qQf3bjXlRgjDZTsyQSoyXoC5N9JF17xGnFcowR5bzA/1z2q9aWHnhlFgmHgg==","signatures":[{"sig":"MEYCIQCFY4D6Y08API93Rd1sbsWKLApjDzIfrf/ZD5KqxvvLMwIhANmhZQi4oMja5qbGKyXkW7VlxOM9+AlPff6aKKeYhFG8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6X+gCRA9TVsSAnZWagAAmUYP/2yYnLR+FMr/kWsDV3Iz\n1tDfUjlE6qhPMUOC3wonbeGM6rQf1Iqr8cuYyFpuCwp0JIyIKqC8F507mL9N\ngrT98fegM6TbVXCdlJWB4szAsGwR1rEd5LUI1Uz1dXDNs3hUnK6acmGvD8sz\n/WUjBOKEuXsJWI8OXWCogoxxUbRCPzCtNWa/8Z3YgfLnvXOBYpTFqImaU+fy\nksBV8Yf8gupKhffSb/6jCOXBC/BH4wzQ9i8gkdH8URn+btVHY5/ku61w5vE1\nHAQvQjdMEwMsF8qb/i+1cjvzncmijE1zfOoEg/Hwk+AA8Lx0I887mG+3/LCn\n8gYc5W0cikVts8aDT20YrMoOEWfumTUENHE8V1Uia44VzAo5k9DstbomJu4t\nU2ENHIUqCkGi144yL2lo+yP3Z1/N+aj5eEF/L7g7QiQD3BPS9086l/4eUzKo\nzPAuqhIGxL58HXRBGPERj8M1jZ35YuSmCLJ0ZJ/iSdT1dj8hlVlljqDkTLOx\n/p7gNHrVXq/2YqmDhJsLkfkQ55XDjpwgf1wg7sRdaErwFW0mVAOHfJoVC9Sr\n9+3v0QahnQ728qJTX0xfihfH5olZYASuq206QaayUQXj5Tm0d+lGJVCuKNLL\nQVgKfLE7E0tcRVEhlRes7u2kEH6zpDuzeCoAPGliv4fmv/+tL8vG2cFshfuL\naU73\r\n=k6qc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.1.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"20eb2e9e0353b58c0e445cc8e9b56f3a93d64db2","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.2.1","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.1_1542029215888_0.4555185914103692","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"apollo-server-azure-functions","version":"2.2.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ad32ab711283739a06a49f161e5db8b64e2b2431","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.2.tgz","fileCount":20,"integrity":"sha512-qTXuuMX9H9s3ebZGI9LKF3wW2q06u01ojP6WJcAskcaTQxIBxrI/urX2u9xb8NtPc+0hd5bRCTwjVQsUz8otTA==","signatures":[{"sig":"MEUCIH0rQ0U2Z6MlIT5d+PQB6bK5U7UsUrPkJHwKo+gMG1ejAiEAu5E5XjQOUtKbhmwY3CR+St0OsKIhvooSqXOAZhFzr7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6ti+CRA9TVsSAnZWagAArmoP/1BoJAl1iBs9jAcDUmf0\nALuTuY1/t8umTHE4SzOibN9EjFMxrQQBrpCBYbLAf+/WqQa1GiCQ4HXQZMmh\ndlGHXOcqS1X/vIxHqoEDPOYjV+OGoWXTLCA8KJRQck1WZVUJd0EJ4nmiQ8Y8\ndx6XgBc5RYXnrplNitwSqNYXTapbAxroXDW98m8vS7GFgQwWCRE8GgO3VS6X\n+5Djz/ncZgDk9U9w+s8n6q7TaCsNVCuPW8vDizpLLcprzSuMGRGqqzQq8ccp\nUVR9ToQ9er2+DIwACh/htrkQfL3E3VfACn4z5St2HGSLtHgdfKs62nC5/CKt\nD6P/I/Klrg0qtEULSuqhlE6iGlB5CsO/ONF+6wen0o0Zj77Cq8HjTE1c6cWO\nhCQvx1rkbZd38ryUUsT0BjIRL/4nySyt2il22NK5H04YOJA8nVaXOBuLCqo5\nBHKrPRwmUlJyU5lNqgnrWc34oej5YfIoZWu7FigPp9nu+FSb50yKMBnXmItH\n2kZjNPla49z6Y/q6EzeAUvdNfx74s2x2tpGA5NpEf5vksnPPk8ylZCv9wHSm\nUp3x+izQYogBVEafZOGDnmtaDkYZ6fPhMZHgaQOzUM4JYcv/d3KuoBfHh8oa\nZZXRBpL9r/RM6UOxdCDlXaebV+jJ6T0DLgt5AzTdWARvK1R6jUd4CI6/Vbdb\nL9Pg\r\n=5Z6D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.2.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"47676e0cd965515554e171ea7d2a99573125ae58","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.2.2","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.2_1542117566176_0.7384516888104242","host":"s3://npm-registry-packages"}},"2.2.3":{"name":"apollo-server-azure-functions","version":"2.2.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"071a0c68ee6f27f50eb1d314af88e23d5fb873dd","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.3.tgz","fileCount":20,"integrity":"sha512-UeC8YNdLkZTYmLtZbC8h7Q1s54LuHIc3Kh87UbPpCw3vmdLvaTR+y5TP2DJU37dMV5hyeJJnyGUNRsxoQKIyxw==","signatures":[{"sig":"MEUCIQCEZNwgVi1Zk9U4Jde7Ty8RVCmwldTtfALUrHCW6lSH6QIgUFsOfu4ZIRkiz525npJAfuZSnLajtCaK7qytVZuqeuQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/EJ1CRA9TVsSAnZWagAAR60P/1s6jUBYJxPIjRyXMuv4\nhz5SwkDPylVb0fuVAKHpSrhaE0XF3SdK2gkOfWt03Mu8R2Rr8gDReN5VxZ+b\nPtNm8FPC7GZkJJXEfuk8EW8YE6rQ8vnsVtMmpgauRKa2YORJz+/llh97OmXS\nxyVJ1JR1bjiQ95nkxZ2ydqugv/s6sN7i2LoZOk9OMiJ2zgDVAP0zTMCUj2ej\nxy3h70zRP0T0oYCOxuXaaOYw2um8+K+d12p8TwdcwlV9sIsIh0gYmGgMPLIZ\nwMN1Bv+h18TZOIFwmkAPP1Avh/fDMqF4tSpaMQk9rX3sUxrx7SKg2WtbVToP\nIHXC+wfRLbwbLvoQdIyOG7VJhSSHjMIbIfyTyWZ5LEIupjq0a83bzm4PKzGU\nYgiibStYuWgXA6rMYHMAdFxV940/1COy03KATY1b8BewtRwgnRjBWOEDX/n7\nWcIYdJ6A64v8ow3b85bcvbPuXKdRXBdbRiX9yLADkHSMRgaKtvALFNkLZvFP\nNtSmo5g9i8AwQURmUNJSsziFR9aKe35O8G8WFK45g3T3iftB8tCrZ+K+onZb\nNdlhxec1W/bwHrDeZD4tpSkXaZGQHB0CPrvszx7Pa+ZAud8wqUOiTytNS2GQ\n7i059OxYipP6CU+sJ05BNBgKzNOvQt7N3XPnFiuR7zDgmaxmN7VMzDouZ48n\n3Lec\r\n=cZr1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.3.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"1f3801c94967941f539e4bf925c92134b56478e7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.2.3","@apollographql/graphql-playground-html":"^1.6.4"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.3_1543258740346_0.4053351904435498","host":"s3://npm-registry-packages"}},"2.2.4":{"name":"apollo-server-azure-functions","version":"2.2.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c64e8cdbc52f23f890d10db9e9b70529c60baa8e","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.4.tgz","fileCount":20,"integrity":"sha512-Ond6h8gz1SbHTfRnemSDB5MHJubqnMSyVnNYYu4B6tXsqsDa1nPPJLOk4paIJ7gkH7S+4NHs6eIZQn4uDIXePQ==","signatures":[{"sig":"MEYCIQD3aaoQIxK2bY8PomMjbAtKgWtK72mDNoaUtYbhXB748QIhALQxhS7PZ6quatNm+EB4mHJOF3IaqhRtuka/NbbGmTwT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/p1wCRA9TVsSAnZWagAA/Z4QAJoNR1BRFyIOxLuGuuGE\ni1+zCPGJlj39mleCsK0crxb5zeOt2FZjvRmoiu7vAwQ22Z5A5lBOwAXI2Jjj\nTf0exFiO81oC3XkblOQDQjwGrcRPFkrDnOE+vWK65iOI1NozrRsbzpMdLz2c\ndm1iycu/7GLOj7hhWec32RcZ/8wtYC/Fq8VhlZaTsHkxn7WzWVFMOJMkBUte\ndQnM1jkJrN9G44ClKTBTC/4A4VK1iDuQWP1hxmF9cHG3MY7PHwcPUbakFTPz\nJC8K8z95jmm5gn8LsOYLBuhqUI+R8vzoKAjY450so9rHD7whHx53e/NFXVgc\nbRTzs1uiEO/64F8D7Q68crFq8NwzPACxwLszMdcU99hH5Tt+a0amQn4r8M/0\nVNjQjZlSlNJqWVXpz2pVt2aCtGApV+ehrU/NjezKiP7FzVapgMS4aRqSml6S\nL/7jCfg+hxTX55NMAVMWK+++KGLUGUrBo2ZwKrTBltdZ5g23zVW3sQhM7uoJ\nLYEbFsWEMxksdtEKLX0A2sVpOzaB/KURL8IbEeBTVJDmoB/IHntFnoRr10C7\n/GDvdZkRnR91m4SMqHeMG+MVLqbsSfgZgbG9Cj53Rx9hmPZk/5xBjeOHSnST\ncLnE2Q+iA2bX7GRczCA6ZP+h5hBusbLvhjplCOwJ2Ymz5GjljHrAjqNqbDHx\nMKmJ\r\n=xOUn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.4.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"ee44bdb71642f3b07b6816a51b3256074209f354","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.2.4","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.4_1543413103815_0.7869623737422027","host":"s3://npm-registry-packages"}},"2.2.5":{"name":"apollo-server-azure-functions","version":"2.2.5","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.5","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e06e14ad86d56e8eaba0c54d14eb83f6d84770e9","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.5.tgz","fileCount":20,"integrity":"sha512-2F00a3hbJNCxyvx7sH4m1ao0fTODQiAN8QvgQBlSyZsaeKZU5M/dhpwCvTTCSNZF9gB1lYRn4Y+UE+NoPugoCA==","signatures":[{"sig":"MEQCIErgC8cBavppk5vGUb/5xTAQuc3viaYjmyhh3GFRAxEkAiApptkF7uB/Pwut4rDtDj8A8/utCk4Achvanr4JX7jUHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/9F4CRA9TVsSAnZWagAA4wkQAJrhNgjwUOiTs42zUi7C\n7EpzA8IVpDwbf7BCl7V0EqotqMXdlQ6evWBGFnSjXFNi9VJXE6Cpgl2uQA0u\nPaCBbIkQIt6cJfOpJkjuaSKrHtLLhjbaYpBVLGI/bav0jxDf7J2GVUctPtzG\nSmlX1gOelZYXmEiGWkoQNi7l2y0lQTfCHOhFydLj+8OJQcwRrJVNyd20jNjt\naYMueKFGDRSULn/BQA0CUEdTP7JZACyc8J2oMXDIF66ZVFlnFo2FpePsvH6T\n4/ZP4goA6gNeT9eTP6qfDJjMi0ibfc7DaE+SrSurgZKlXjK3GviDXuHmWIYs\n2IZ8qTEYfCEo9m8RmJaq0peuZ6UEkRq7OQglsxzVBMJhDXsA7zrCsYf57beu\n0syEVFqrpFKPJpcRJBb/i4hL1LgvGu5dKOGcRji1pHQHrIl5N+TfxAebmmXZ\nZG50VrB4nSozHXvFz1RzzAnbph9YL/xSzLXaLsxljMxqxPOLwBXLc4cfieJ1\n/mCcbSaFciHPQMfXZeIFdmJXhFtqvVd6OFL1y92F1fTXm4Z7ZDRtv+y6Tgc9\nSnrbdYZCiSJvBGHQbje4yXBpHBEFbMf1BQjyux5fjI4SV9YZNdN5tIiyAqvL\n1geyVHsQZeJiDYgnkLVOL/EZh+MwwLv8TfVQnZs+neBkajMTewRJ+XjUc13C\nHMAz\r\n=NuiP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.5.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"85e9094f6ce531aa25a42dad93c98ab37ef6e9f8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.2.5","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.5_1543491960020_0.5176700867661881","host":"s3://npm-registry-packages"}},"2.2.6":{"name":"apollo-server-azure-functions","version":"2.2.6","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9c592cde648cea427f05a3daed3a33839e1bd9c7","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.6.tgz","fileCount":20,"integrity":"sha512-DyUAUC4Pr7jZFahSh8AVMPpxIOTpp6l5bfFZ+H10+sjC+eSwS74ANdrC8yGLy7StM+K/sMIzSffzcw/4HPPz4A==","signatures":[{"sig":"MEUCIAi/AMhVHe6/RzReTkmuPFqsuv1JQTkBrBnvTbrbqbtvAiEAyiIhD7SaNkUdFDjjBeznwgMijnXcYK50AI9qH9yfTk0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBmaQCRA9TVsSAnZWagAAMAgP/A2WZJG/KPEt0zAAKuKj\nRAbowDpMIUy9c5o71WXBgiXTpOcLVjkg2+cEYRAzRKz6zu96REFVsSP78l7V\nyW+M545wLZX3w73UKBqT69vRI9eGB1XW3uHEqmXVTY4M7MZQGIz9yN0CwFDw\ndBsepMhBtJp4ET2sEGxNvoLpmcQJ7IhNn5BGyy8k2VDXM2IQWzGUUic2F9mW\nYSYntS2tRG5rcBrF5HbGc24rp5xXs6MK1a2edCxhk2wVfFV9VGZoGttNK28H\nQ0iioj9M3B8ilj/4f4n95PnQ+Qe5hIFsT5DeUThracg16lXSTwcYnaNXb5oI\n9tJSmqjKQ9kd+Z31DuUlVD21prnTJYs2Dm3AGKR270W2GGiXdDzu1hBb5JJN\nI5Kk9nKlHIP9rUn/5DVf5aCMDsvxL4+DV1Nn7VAJu0C+6/bvc8SGSboaQr9F\nonHBqGPyIpk4sRhzcc2+DGj3izfaXw2PTfvKAWWoA6LvyhDJEcA/zGpl5dKw\nkYMLEh6ImEzRVAMpBi8+XnMTkikRP37+So9ORy+IsSXIy3KDSAoaOpYxeFIq\nvo/K/Qv6dq7JrLa3XciEUFAbsfA4ZIQQTOZ/fmNflxhCBLJ4pv+oNI+nIF4w\nzOXDJMLsZiwZOLcZctAIc9HZIbYBOwc30NmJ99OS4c//qQvOvAt6pk9sGcZy\n+Md2\r\n=MQIp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.6.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"1e5cdc63975132004390a2138fd01e85b6f8ae32","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.2.6","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.6_1543923343822_0.5826685503022595","host":"s3://npm-registry-packages"}},"2.2.7-alpha.0":{"name":"apollo-server-azure-functions","version":"2.2.7-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.7-alpha.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5d166b6d037c3a57fc8ef24b2e093dd961526f2a","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.7-alpha.0.tgz","fileCount":20,"integrity":"sha512-ajRfAPiIOemQIMlcZ0mswiieJn3Xdm6H8yZC6bt9uyuVrRTytLoqaaM298FOVdNPUZwhTGEhrWMmpYOhfYyhlA==","signatures":[{"sig":"MEUCIE6nJlVkQ7vuNY+18Vs96RC1A+9Y/nN6GVyjbbZTiui8AiEA7+4Zld1fiMzS0ympMfoRK/JakmjA9RloIQ6trCCwLIg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBmimCRA9TVsSAnZWagAAv2EP/RPuUHaV3KC+GQ0fKh1D\nCTfIPuXBQacLYJMAJQeHBxtC2fWU2P3F1HVy00HOxSJ0sYLkk+tHSTQdvT0V\nxTyu/nP+8XbWBKRjKEop9dY0R/vvWQx2QrBXf1/sRJcPHGQB4+AEHR0G8tL9\nvgiz5uoGUmN+jiVv376e3THQmHGMBi7DBtslBM8ubQ/i0gvzbUgCWSQ/zeBo\nx8hJ1dHPC8xYunxExEZJTt9KPCGiynwAy+6JnxShlDymOEheHXEWELXTL6BK\nocVj+Vf/yLYxi48lxmtk2suUCILDZ5BxIkdAjwJuE/OmHSho6x6c/dvJP3/D\nbFSHpsJXvrjqjYsbM6DcFc7TiJqKkP8wCXvgmEkGi+D+9vKhP5yRp74XIMxo\nAVlKz/sElIZPbnmUdPuEkEF3kFicEffguRmrLcEro+X9q7d+M77O98ZaJ+Nw\n63iMPpHjAFYIvwHh5zkChkEmgA/x/rVnADk2GATmg2ew400fWQ7XwIW4i9gz\nNLJWcI/jEBZh5rmit09vxr6dKDxCz/h5wEfr/T8HjWpv4RvC+LgBHhEFRcST\nfm+I+r78KyH6HIASa7eVaBrhMU1C6fzR55V1TNXpiGK5btknwc5p/FiAqwuq\nN1hCkkP+nkDRVywp/WLvXGgJngHvbJc1cmlDAzAYgivH2kj4/dcuWs8sO/6d\nfNev\r\n=t8HU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.7-alpha.0.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"ccf0aa54769d368399fe643efc2f529e20fda4a5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.2.7-alpha.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.2.7-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.7-alpha.0_1543923877970_0.03169885814707474","host":"s3://npm-registry-packages"}},"2.3.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.3.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.3.0-alpha.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"freiksenet","email":"freiksenet@gmail.com"},{"name":"jbaxleyiii","email":"james@meteor.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"sashko","email":"s.stubailo@gmail.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bbf998fc083e346bf94505576b8d1ab7d203716d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.3.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-2NleXruOgo+vmHHwQTvQOt98CGuDTdGdm+wKYKAZmo1tulOfsoAAxg4H9RM5Mh+f27PtXyrV0nNoffZ8wffGSA==","signatures":[{"sig":"MEUCIQDXaRq1AWINEEotjsskBDL2BlO4d/KY9OeSGt4SJMwo2gIgRAuNENX/RjfD9/NJ15VAsbd/HtUCr6bjj7796tUpWog=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBtHGCRA9TVsSAnZWagAAQskP/i6C4yYqBjdGtoVBBEtW\nlVPMRgf9MaNJgbqYEzgh39ZjwxC4oJ6E9RgBc15qLK/m/+o4Qzp23YUXwLFL\n8TEwoT/zOPj5Y2ia597v1TCUhHvdj5R/xMEKLhgklxbFtVCi72z/9zqru0nH\nWzbqd4FbxrKfYDzukSt++vnQBzLRDmghl2P1obZON9ev3qWPPZDHdQtlAZeh\nBxqe9sHS+YFxDeUQY2hJXGPj0DpN82LxHDuXgbPbhk8Hc9B9ujgo6WVULH5Q\nP1ZKi4J+RZOZkudsALP5dGPyGvHdn0+lnnFilyi4W+nq3EfYAohfAGJc/juP\n11tIA6gOTKhZW9Ugbt0dTY2v4RY/O4L48gJbMdEPVLiJH77j1PGJiF5fUgV0\nTyxNv8cS525zh1vrkYkJUDNTcp2Wu3tSFJHw5rIuRUomi50+8mciBN8dSkXm\nZtYWoYZ29qlMXErODsj02BgfNK55Plv88vEm3wJ+jchwFUSEJx9uCR91jgV5\nUFNcpq6EPUlct6kYSqkSBWd3F+LWyhQr2uYiZ5DdNpyR0pi1tw3eacD+a8zt\nMdhLt4v+CGi+fJT5TIAXdLQE8W1tgOTnsvvknJJuXPyl9KgE5JAuhWgjumi+\nN7UElodpPByXSSeCHpVi/sKF/7sTiQSguBJkvvWXFjdFRm8LNPu1ptc2Vs5P\nk8Ge\r\n=Sa3g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.3.0-alpha.0.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"ef31818629b673e3e68563f773a1113e9e9ca750","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.3.0-alpha.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.3.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.3.0-alpha.0_1543950789828_0.6689661023962017","host":"s3://npm-registry-packages"}},"2.2.7":{"name":"apollo-server-azure-functions","version":"2.2.7","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.2.7","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"921ff3c87dd4670d24b21b5842f96b8acb16e89a","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.2.7.tgz","fileCount":20,"integrity":"sha512-ZKmpcl+KJAih1DbJePHOuglm2CzOm5L/6w2yEbYRQ0yRcx2vCz6/0F45vdrCSDVsVr/lYjVg3VrE7ynX/dOX2Q==","signatures":[{"sig":"MEYCIQC7t0TSva3ygLfMJcF2oeQqy6mpTk22HgNGBa7N/2DhxQIhAP9JIsg+EDfdDR8b5szBmpBvGvbzKox7evUyA/yVyPad","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcElh/CRA9TVsSAnZWagAAWlsP/RAgjQp/c3xegRa1mBFm\nUMGEqr4TgdDBh8e/i5tNzuTruI1xtFLYoP24d1Qp007VJupcu0HJ0WU/rE25\nhVSRv8HVHd56kW84MeamRxp+oi2qBZdi8iV58LK3SGXi5zY9pPzCQtgw10Eh\n7IJsa/L/16HFXRyp4Pt1QEnH370pwPuUK2orkIeW+JjCIPK6Ttj1H9XGsfqJ\n119M1/VtkWZkHaFlECUD2XD2i+qJUpUdIshll/JV9pmZWRvH7SLWOblnniNO\nf49qqAaacwCU0ZMokMhoaSeDEDi1e/LWu1jgWUD8k0bhrULXYTXx7Eicb9cz\nXMw30hWnbJqcO57eo6R39Fy7JyclK1R+yEdN++hs4enaGiJLv8M98LkAenR4\nUcLxuiDlgskzWonw3RTI3r5DRDkSC3IJIvQDflOSPuwpNmFc3jaGKuCn0TTN\nIcV5gyoV3P+iZFA0Otu7NCtJpmBNVSEUyujFdo8jJjERZgNRQjvFEg0bJUMv\n6dqI2FNCz9oLzzDMsR0KCNFijZQj24OjSTGyK9Re8YEL7ajNNvnDP18/19xE\n5LSK1A+zIADPZZS7LIICzypaLEIy5R5e45SIzvx/S+BWlWZ35aqOcrZfL/Dl\na4Fts3AGCIBbTyWQ2SoeObweiT6HQ6HWB/+mpOeCLUFngkjaV+s7N3rN0kJO\nqNTg\r\n=PKij\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.2.7.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"d7e7834633ea9f703473aa432247a3523c86c597","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.2.7","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.2.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.2.7_1544706175134_0.37492909762427407","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"apollo-server-azure-functions","version":"2.3.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.3.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"93af85cad11e1edba52ada413dc37800ca9610c6","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.3.0.tgz","fileCount":20,"integrity":"sha512-91XXe/kmbXopb+5l/JATTF4EK1g9AxhRZYFKjftAnx+L8f0z7iu8aSZ/4zIF4vb6O9E3rwIxCJpbShXIBHTM4w==","signatures":[{"sig":"MEYCIQDwd10dyIVqsKWarZTn8JDmvLfgaQtRkUQAKBv1B+7OdgIhAPUR77tqYCxPFzdxbB9s2HHYAiKC60CDi/Llr469arAx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEl7yCRA9TVsSAnZWagAAV8UQAKG9+WoOsTIHgOgf0gEl\naPPyiH+DQ/ojvLlIfciMubEkY36S06QfI3LZxWgCGbYKg93SNpf2oDI7AAg+\n8zv111uOYSxJyRnYl4fZrTTxHWgtTRo0PM+XuRgd97iozdTqMZprL41yVO7/\n2iXnJQZiAzCpw3fGm5H6uPQZWrhWS9/l83fFdR32drBZb2twIlKEmWkCIubW\n1xtiiOAy4SZR8/nL27vGQIm0a6x8ZEeItl44IoA55lnsrxcVhaL3RFFCxwNC\nqtGwBNpn7ioXa04NnaeD9vnT8OFz13ZXvys+Nhz59Zv+CxRkBrhyzIqnu3Fa\n9wqK28zoO+JEms2VInhkl7Rj4aEX0NMsqEdsyMqgehYyrKbjQ7BTzVIaJKgq\n9NoJBUxib9HsPHLljmzwhld9cf6ReJfPiDVApEeOR/7kq1TyaMmrJxXrTSsH\nS4fdk85r9iOpSWMTsMkAuqig7l5nHNrKExZqoiEKblK7D9+aXyUJbSS7e+1C\n2GXzV+QAe5laLRKhZxepO7Lkitz10oJhn4S7HfHFCCjn5A4pN00ewlxpiEKw\nfQDO1TnzsTLWvFwOi3QMzySufjqRFmWkaHA/IDt4+hXZCMDzoMEAxBQsRZq5\nZbYlnBLI71eASvjOG8P0la0MMOlrQeG1nwAct6Pvu4ZhaVSfC8rFYdecbpPi\nqWgP\r\n=+dSH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.3.0.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"3545c32e2a93ba3de03cbf2751db8e055835a392","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.3.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.3.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.3.0_1544707826261_0.034810772517134936","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"apollo-server-azure-functions","version":"2.3.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.3.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"13f9f0d3b9554a0185646b4cd49a4a2644fee0ea","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.3.1.tgz","fileCount":20,"integrity":"sha512-qp8XGXJHJSLuVNPv20lcRzgQE17kA3aycckb9vSKI57osg6UgCXcPKj7Vtj0FbSTOQVsOCGxCXb2f+2fprDWKA==","signatures":[{"sig":"MEYCIQD3cAQvinN/0rmeD4XJNwbLBQwsl4Irm2FUUAs1//RPOQIhAJp7KklsIbtsRfeCwtCbBpcc+JxdAN20nbI3fA6HmmQU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEq4MCRA9TVsSAnZWagAAZ0QP/i805GFuVwPMK6vFHh8e\n00Zm9uUxju1oYxpSxqMHioo1ejkhDRt9mh1bdCDoL4Lk7/mxtGmmfsD0uFTj\nymDDuNW6zDOeh7Q0qdGLr5JIzGglt8EptTKdgBAKiU6xvVBXyIWXSNN5tHb1\nagDulZ75LQGSP/lMTqtIOjMW/mmrlOzs0afZd/c/l/+hv1dXGv0AZILFaLG7\nUFkyGBd0W0fUBvvxRReeIkndojU0Wt9kNeUq348Hwf4HSRsO+FG71jnkJlwl\nRzqzNfsBFX9Tq9R4AJcKozPrnHKatR0CI+9d5q6ZIO0HdM6x1Z8/cnTRlAnn\nqRZqZhMNu6CQN/sl9hREau5QFClcEayrKvQKTNBSFzHtLl4grspyzahBq0Z2\n9cytg6xzPRPd1Ix4CoRXfbmQSEWvi4i2kzF3V/q0xAQIxJKvjQrIjnh46Sp7\n4cLrm7/cLMoc2G/j4JnjofKWXqxo/ftQQct7o5dluua0unQ/VNRvU1V7akz3\nNJqKKnVffoE0vV3PIxHd/7FPKozOTJvUBtBUWHJvlQq7HY9UKuD5dMj7EAT1\nKqQAWsjtYYcGSaxntVyAgJIC7/FdjNQLnIyXSjT5xkQ/+nJnhzJpZuXXq9gH\nG5cmqPNk8oERPmhQmQivcsVVXAqoowzCdTAukpxOym1otTI5m/01UjGuDRz6\n02ey\r\n=82Fv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.3.1.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"cf95cf7881c12b150c632a5e020a1ff81127da59","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.3.1","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.3.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.3.1_1544728075312_0.37650709267931304","host":"s3://npm-registry-packages"}},"2.4.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.4.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.0-alpha.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bffbee42de7c3a8cde32a8cd34d6237e3af8c3f6","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-O706ApW6snlBvdxMibjyOJGYlga5pH6dLUYF5frZToRJELAZWe21aMMx/o6+LW0Q3nw7gF+9Zj+gLjgtAdhgJA==","signatures":[{"sig":"MEUCIG0R4G55UaEyZmDAZTzrhvr9rS6muzRdgqNVaCdeD6lfAiEAo1rUf1xb+F18cG/b8ZGOAceLb0chP8nk7bBkwA2AiKQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGQ7cCRA9TVsSAnZWagAA5MgP/1gKjCbVeHHXnUeQ4rfL\njO4Z/1sbvBQ0INg/1SKDL2xdYb9nJHq0lu1hVp6znzSP5V3SF6auBh9Bh006\nCmDDS31LU9oyL21EyPdM1rOelTLOvWd+U/WPwACMqhiYuodHzApM/IDu+5fw\n5GJcSVzgG0UriEiV1GOCSPGCUVASZXXGMT8ngi+viQe70jl1sajr2I+iL4Le\nghYrKGpWVXV47EKF6EozsNO07PN3I8vE90x9DCOFt9t/mejsVXraH4hBAxPz\nSq6U2lelX4ZuwSzuSLJUoPeUwXWw2MohvF1TWaNTAOa8vHLNNNsfp4jVQl/w\ndo0jMm7UgpreQWftGjAAkpL8xjomwkN42u904tEiqS6J8p38/W7HASHwLQvi\nVr/sdk7XPuVG+TWUv0BU+M3q/ArzCcGJsRZWLgaq2ZkzT8mEoKe2CNIUE0PV\njm6oAMfMH1mluNgwTwV5LWgtmGDM+9eOcX52sfCh39+pGaU4CO6tXNOGZxF2\nDgniGrNZfP1Xu+T1LzmlFHInJoRG7pHNTOpQ4e3qKC2PiBHDysk2DdOLDNVC\nPovZyickktWViP/pyjQKDioLkbn6sA5Il4NQFgub+5DZc0duEGeDMoKRAxir\nUt1sZ6RHZR+0lnMmZb6dOmozkMKUjwlu7Ss6wjQ3aNNN3tBwoLHVQhcA0qGL\nnkEt\r\n=/maz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.4.0-alpha.0.tgz","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"7697623789a0c07cc65b496657d3e85bd96e1408","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.0-alpha.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.0-alpha.0_1545146075750_0.9317392152617521","host":"s3://npm-registry-packages"}},"2.4.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.4.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.0-alpha.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a82ac13127d5d16544c7e001a2e04b66bfe3526b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-z7UWH3hSxtTe63IsK00Y6vSEk84lcARS5RSfhnhXNho07delWYxi45FUt5eLjjFxEx+G/N5k61NSwcvQ/kzTRg==","signatures":[{"sig":"MEUCIHWwLYV0v2dKUY1piGbVdxzLmJib5qm0FmexEFO9470VAiEAzsGUGXMkPgxigSy27ezseOEIf7LBbBICILXqsZ94NT8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPxF7CRA9TVsSAnZWagAAiawP+gIyF6zP7Mg/oFC3LiK4\nMuuVJ+mvM6Ioi4xKzk6AsMXpUE3AhdIAXLVBJl/7t++rjyA9LxNhFVPwSLXW\nU0md3nag3mq1gxKTBvnotVDs1roSyuzLAfd3tEvu9kG6qDycXMRM0Zr82u/1\n4AdzLaButjc1zzgTPKqs0enJVujK3ygEsnRNzQOCYeQes3UqBBSEEkClGkqc\n8ezy5/lzTZcr4TvQHY+uulw2v/ysJsuc/qs0EgWwSktiAQ4iSGesuWA8qIk3\ntFce/CDtdES8h1iXAvnX6TpXQ9l1YAF+Bg1+aN9FS058VjTVGoVZMH+myzhj\nvkbwricotfjs0Dj1j+ePXV+gioKEScV6rAMJxlv8s6p7/mlIdbOlMDWWot9+\nbDHO5YrMt1JJsElC6mro2sPMB/kifB93Gc/hK++8yYwpycs+hhSE8UJLeE/7\n/ao5P1I3D7e3AOjPEgIvLueLE1q1YVUk5PjVZo7ojSP5TK89nQyt2R1aMAPV\nEyUJjl5QKjCoHbfWFf2hI0GAsmJiEStEqfmMdDDsSzBA/NetqE+76MDoOQtR\nKeh6gz3RnOREEnp9DMz/IOiRyX84mummuJ6jAtevkaIaBJAGdf+J9BfSXnyW\n0f4BWBNrZ1elDQeHexIg9OSnmtoPkqZbtYp58QEOPpeUqhVCU09JRN6I7qKt\nln5q\r\n=43fz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"33d1f828141826f4d874aa783fa302e381101ab5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.10.5/node@v8.12.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.12.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.0-alpha.1","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.0-alpha.1_1547637114755_0.6497281044412466","host":"s3://npm-registry-packages"}},"2.4.0-alpha.2":{"name":"apollo-server-azure-functions","version":"2.4.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.0-alpha.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5508312deaf6fd2339047088ce3dfef4d180e4b6","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-zap+pIVHBkivWH8ZC7dj55uvIkL6z106bSERMRD5KePuHHlv1NJjJiQz/eCm1MJw5jVy6/XNlRs/+WdS+e6org==","signatures":[{"sig":"MEUCIQDeiXdrcXLblqsML+QMbJNWQ/7FMT5xblN5taROwnNzdQIgQ6moD/P93WcFuVMVbA3uK6hiu6G7xWZdqYTsm91g2V8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSGZoCRA9TVsSAnZWagAAb1wP/jXhyU4DNxPnK4ofoPoX\nVlDsSzfHmhpW0kKt09C/mFKI1olP1w9hjA2dnSUsQLFnl/gVLdQ7TTKMzu7R\nurQ/2sEPmpqIajZqTSQ0yZ8y9g7BmcKJgPN/dEJTMQhGEXXnJ0OSZ2Yp6Zfv\n/YpN+z9w+qnkpYD1HESHYixmJJMd9UMhISnfstCCc8HMWCveWwLPEZ27uQdX\njx/zpc8DKlj9Fx5IvEVKqweir5931wCDaaioPXPLrh4uYdeZAYjh05Le22eN\ndUGvfAAfx5ewSwQ+Z7gRGoVCs+gyqDl/ylQCdrtMdPlL04Is7nvHTEsCj7cy\n4Ybq4yrbkb6DqMY7Q7ztZ1iVVyadE14ZA/yRedAD61XigK6z2YIhED0mI1Xv\nl5d5xpYrMBjKoiVXF651OopcCMfu0AWYmd5WvlBYrUly3rKBTvwAByZKb+ue\nCYpLduT2clFCB8AWnyJ1GwCbrcRyIXtGzldaTyfmvn6KSXgw/FsYmllwsoF6\n/UDHMtNLwj0KHzzyvDTQv18pXCFMiZvsfFmF99V9GrQbK6dSAYOGEGmQ4AX3\nQKHp6llXpfzmiOSaDsahJwpE9pQ4s8xsILp2UiQhqULQgkFUXV6ve6B5ODA/\npA/cf6B0CbdpqljAqH4mHAXlh33DPq6Z31tFRME3k4N+m3j5LuR0hlGVQ3+o\nGk8t\r\n=+wY8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"1d0021933ecfc992c506ae7528fd9e4fde6c2944","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.10.5/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.0-alpha.2","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.0-alpha.2_1548248680271_0.24602604424728436","host":"s3://npm-registry-packages"}},"2.4.0-alpha.3":{"name":"apollo-server-azure-functions","version":"2.4.0-alpha.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.0-alpha.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3ed1920491f7c5f008ab41811b545ca400336ba2","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.0-alpha.3.tgz","fileCount":20,"integrity":"sha512-afdFtFKroAg4Tksc9ke5rdta24CG/2vQ4cPJwTvBEQjWejILfh/CTDgWnFceVC9VeLtz6efJwugCoh4CAgqqaw==","signatures":[{"sig":"MEQCIFl9YNu5fJaFNgjZD0speh9uOOmZ7ZPpB/UoGBv8o25gAiBC+PuC12fXPsHNQwQeDYfwIN0n6MPItT0r1ARVJRDLlQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSHM3CRA9TVsSAnZWagAA4eYP/RpgxXKlCwOWUH9d0fuO\n+AVbJPfliMAClwffDZmP9aENFPDO3cxz4AGBMucv/KtIBsj3OURndGJ0uUQ3\njfrFoa/RbJa2ZARd566OO+LO9N2X+gayD7QJ7O84LnBR5amQfGXf48g43fPG\nPxkvB6RCnncf2G14aU0lvRDQJWEegZ95qJM+rZsyXaDPbVp2d3Eo1bny3TY2\nulX1iPcwuKI5iPNTVIlcs0a8w0KNb7qNlCNwAfp+dR6tculfl2A4DMZgP6KU\nCnixPrvwji7KNlrwWXtAzfa5PYAYFZ8boszs0H5SLHaL4dWwHriJljLJGSyY\nuqk/zTNuMb4EHUDa05WXdEzm4rn1wjdlzR9c7y/nYMSxfAcLiYUXpvIrsylZ\nLS3+Ywsmv4ZhA7+W+ozTbDh8nNuuA8LGCH0UP1LvTGD6XA8oJXwI+lCaGsAA\n4kocYKmssyOqallUm01pzhhHSY2wcptwHgyaZuRJCrK85Si8YypR/mvT7jha\nBj7c9snpb2aq8k0dDSOn5ViQfJNL/URBx5X1t2/S2+CK0AjVYuCzyAhqz0i7\n3/2budRs7jwbzf7Evi84gCnuPKuqNrNYXKrQrYkLgGPxO5ka2mE4Hwp4da34\n0dcOYbsbG/v8S832x1DwAAjrlKCrRhETOZJSvnkqUIbr67VIcxfNJz+l34dg\nHVEZ\r\n=qG0+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"f045a4d0c94faa61433a933edd34e274319f8f32","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.10.6/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.0-alpha.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.0-alpha.3_1548251959238_0.18166521026866067","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"apollo-server-azure-functions","version":"2.3.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.3.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bcf3bb3c782641ce6725a79465a44a70df4944b3","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.3.2.tgz","fileCount":20,"integrity":"sha512-7WZuSbdhklHYA0/S9dt6fpo+0JQjqKbuQ0+PrLY7GKprq1kku0JAk0zKHaDd8p6N+lYZvMCUcOfIedQvmTZN4g==","signatures":[{"sig":"MEUCIGAWI9T8oMfl3ScfSBjj1YMDMGnU4MxQOV8lxBf/4NvqAiEAxoScAb8KWjvd6LfTEoHSbC6Z3FoSXZQCWGK33ywpr28=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSz3zCRA9TVsSAnZWagAAbaYP/R8Im5MFLO6k32a1BLRA\nix7+eR5K5QRq9MkLm4Mf3QN7Qq2up1ZNTifEDmrYJCRXFQaDmF0ZaKcQDaku\n+wWoujREdyDO9CwrMA5x4sV1TLV8ctIK7i7+oU61PknF5HeeMQCsJY3NdBAM\n/etNpYbTvCAzfNso+8el7b79qRa3+3cO5JiIsnGdR53xRkTBBc7446TTVYb3\n+s/tYrS3xG7zYdxLNu8LQcYcIXZkhMyaoeym1A2YqFx/hCQviKBd8mmDb044\nLFGq1AfLofWvHkgbhEvuweYQekDs3e45BSKfZpBMRoiaCFao4qc1yYcHm4uP\nZf+OWMH4/y75CKnFYX/nLVrqqlJM6EuWppSDS6mdHEakRQgqn+A5+7HM7nYI\nY26E+I9YRIrnFpOwTovzaYubGhNnuwsZ/P8O2gX1OC56tKYrFZRLaymMc5KT\nWHuhEJxaYN5r2sKTAmDsCdodik8H6PWFJT9sgm9Yck899WaO7E0f5G6iRg4A\nX7J2YuK0ycq96g5y3W9/oY+MKOjVsYPkUljcovVj+ZZ+seOs04wOTMTOV4Nz\nKpHWG0Fqy02cVQSBP0ZKaubJqj0ZE5VFi9qwknJKtDYAJ+Wl0RB1F3sjwXil\nuAz/z5uQCvWIHpxGcz4wz6SUaWRhlXry6St6SKBOMV5kgwqF4tIdYLfQu1QT\nkXWl\r\n=eV9Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"d48d0972c5730ea63969daa892f58a34aa1db543","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.10.7/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.3.2","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.3.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.3.2_1548434931460_0.7609252408348568","host":"s3://npm-registry-packages"}},"2.3.3":{"name":"apollo-server-azure-functions","version":"2.3.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.3.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fd00b558b21bb876f69edebec1d507f8b3fee562","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.3.3.tgz","fileCount":20,"integrity":"sha512-peL04RVVTzbHNYyDU3ZieEpBryzqJlWtkQSoii5evESqlR7RyKTywOGt3lwOJ6/YAQ3HsBm0JkAkVhB0TrDK5w==","signatures":[{"sig":"MEUCIDu48IV80DH381XSG0JofbLFGGFO7UsPdvX4yk9LX5p9AiEAr0J7OmwaoElEa2drPX/PrykG0nRdaw1VO82JXFdieNI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUCI1CRA9TVsSAnZWagAA6RoQAI2/MNOK4TwWaqW65ZxZ\n5h5DVWmU1lXUgR+n+J/9wFB/TvNhM/knIpDZqd6qTbbFKaOMRdQeOP+FOyUh\nsj7EXWTpTVMxUB5yWCZ2M6Hd4h2x1U7TTKii8+Wig8xLtnBymcAAbR1MtOyu\n2qxIwnOXkmAarF8fM7zeXXc/6gfzBK9QOtUZLHcJDfjyHwjo0+TTE2DumVA+\ntkc24kETXSMxda0dVkEm1PJrWAWbnh1w8HWdDREk9yh1QgbmmBABqHYHwiFt\nq25VUBUF9frXVAYbyn9SFkFFxyHqoSCpDn4///j+XRSbq+p+AMkDKemCm48a\nHotMv3BkwxgdCkNp8yjRIi8bMNu6mDr4g6VJPf5J/O4alR72kjap6FRX866c\n+b7556ivWVZRODGqCyh9EmG1oFlpN2Xg0eU2elW+vDIPi2YxLSYe7USC9Snd\nT6Qc+8OhX4p17I4tHZeJTXDBZu/yVse7u1xTSzDW24HThGCBXCNWheqm6i1A\nJJl760icoIIUBGOEvoamu1ggWZdSE+aIHkLg8Jc7TDR0mDXYgixFWSnUkGl9\nN9oGI0y6FTTJ8RKIRJhP19S0MJ9Gp27gfFrSfAj2AESh7GINrIuZeeF9NMFw\nq7ZFPcU29Nwg4zS6M74sTb8B9BqgN1H6U68pHylRHz0VkNOD+sy3Lf+g83v/\ndZ8f\r\n=0VSA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"5939327edd7f455cf1d621f761c01c55161639fb","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.10.7/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.3.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.3.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.3.3_1548755508466_0.4733753569230954","host":"s3://npm-registry-packages"}},"2.4.0-alpha.4":{"name":"apollo-server-azure-functions","version":"2.4.0-alpha.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.0-alpha.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fb6774529c94c113a81644a419a646bc0d04ae9e","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.0-alpha.4.tgz","fileCount":20,"integrity":"sha512-fIH83WP/XE1CK7cv2HthdApI6GAzS687z1z1Bbyl9XtD7msJ6m/tatmw92aXh5XZ9CrnNEuUrf7PP6VKe7siYw==","signatures":[{"sig":"MEYCIQDgxjuQnHVNssZlYP36cn6yhPye0/MpSisBpxZUHR7JEwIhANM5kP6uT2GR5IRUSBwfVaZ0RFztnZ8N0wu9CD9wJsb1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXBAbCRA9TVsSAnZWagAAzMYP/iaaDp/sgeEuB3DzB1HD\nz4RZ68S5thg0ChMfkuC5j6NdZjl6GIY35RU65QaP31A2J0n4I6R3jX8MuqcB\nAdpCTNejsmcdSt6yP57kBZQg3/CdEjl9TIpjtYfZW2mR8e5WUuuWf08SjWVt\nh5wuX8teOAKX79fL4eoFwPbqsTdueilOppItgHpIK25VEdcFU2z0rlYFdIi6\njDBGTpkuB67Q95EcoAph6HP33T5IyYKDHSfFxsMA1LKbEB2VIcSr5xj8vM6Z\nsIB9ilxJbDFqSolqWZblPeCJDMr5h3fMyCl8Cs4iLFljVNn53D6+HwF/Gnq4\nLAGj6m4ItlFBWh+V/5thUUwuAonPid0U2xRBCEHf8egmvasHqSNBJSc/PHuI\nbFgeAO0Zwewc7qNVvpwv/w++9de0HXldbeEzOcYziMxuJlPUAeZZaRsVjIsW\n6scl0nGofQzdqEXvX48WRjEfNSHdav3JedE7rDWgEDYxabaZWWuHA9CTYofT\nm/JJhAijhHbzUU7IFTXk/g+thG66A/LrBbBXhaIaJMJwE3GPq+I5D6N2ZC/g\nwwfFGTLBdCG3H+TPLNn0YgW5sLe0IMpk7bBPyY/HshzkwsMzo9MxLyWkXkx/\n/x7ZeM8kuh+0QoZLnTRHD0udUZ8pmM8cgLPjIiOAkjIHwejTXxYk7wowd3Az\nT2Ta\r\n=0v9q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"f74610b290106f31308e36e507386ed2f352f3bf","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.0-alpha.4","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.0-alpha.4_1549537306943_0.20502753401422402","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"apollo-server-azure-functions","version":"2.4.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a4e3edfc022f0e544107205188bc74f0c89d199c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.0.tgz","fileCount":20,"integrity":"sha512-5VtPqGpfhBU/wivdvEEAnS1/q0szHUWoVpIfzSuGe9rKzZUmlO2zKhGUNGptjzVhLjqBgvAEaGJnCjeVwgvkwA==","signatures":[{"sig":"MEUCIDYfXYAS0UPxpDNaXORZLqAL9e7F0Ef32T8Q1coNCp3IAiEA9u9NZ2sTkX7MSvrYD7FZAy3PmR/W87UbENxq+hYGJ7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39520,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXB/kCRA9TVsSAnZWagAAxE0P/2gBPIHnqRcNzSG6vtGn\nIo4vtQ+EkNlWr84aHp8bydndkJ9+T+ta2lVnycqwCdMCBLwc+iTCNioGqUKd\nQBFIq84zACG7hIAGbZIaQfdwG/CguB1aCug37YRW5Pdf+THYU7y/hS4Qz6z8\nsXnaeh8MklqgL8T+HipV3m7aHsDTJ0IJASSNuDiSGCS4a0r3CDCyM0d5ck9M\ngtRf5+5v5bIkXY3QHVWH/ZqOvH79T6rr6Yt1snzZ1e9noGjTR9r5zHyerMHP\nmBVdYjI8yjgHe20Uyx/2K+tzBXBpBAEXRwAScCJven1fhWqCukZAdFgGCTWL\nD3rrVIfmclRVF6OuvZxoL2uqBkd1SyO6T1Z8ng+i8NJUbynQnVtV+ZTFkMrJ\nqxKh1GnabRDNYurtxqBQsyBpAkxb3ZB1PKThElj6xws3SIeZoD2f8AHUfKTu\n/rRJy4DJEalsJWCkyIHKpktEQL+qRb/sI7+9epL3mUfsQBbmaTij91MwtJO0\n7+rli0lDZlw5yeSiOZ8wH6V3Q0q/H8urBEO/0uTx/5eNrAYXCSvMDDTj+ngF\ndecpXD5p6dEyzeD027X7E67rve/W/C0r5eXIppYzNZWYVXQe/Ou9Hkna6dcy\nhdmptPK30HzPh0nJF73/jcPjcBV/6GQFzka/UcG/20f+KnAmrpMfatB0UtbP\n8p4X\r\n=H3jX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"a3222ece11f04ada75ce9c592efcf337396951ec","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.10.8/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.0_1549541347834_0.8056158552800192","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"apollo-server-azure-functions","version":"2.4.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.1","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c0baf9f65bafb99695ae8deba9cdda62328dffc8","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.1.tgz","fileCount":24,"integrity":"sha512-tdTD1p4n7hSHnHpcBRvcIpKX804nckQ1SQ9szMXjY6xLGUJaRJQ3vIsTJg54xjuceqynRPylOuHcrvmPl/Peow==","signatures":[{"sig":"MEYCIQD3z2Do72kOqXNZ+PQ81wWw1qol3DHRkPkpX9qvfQ4J9wIhANAmz4jMZmSUrSqF+yOEocDuhxDgSHaVf0g9dhRppwZN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYzwLCRA9TVsSAnZWagAAH1kP/0A2wbXETJ7S80Ck3whq\nETg7i5Amg/lxbGl7fqpjo+52VjeGXBJOl32SSuCEF4AfA/W2PYjEpCcLnokY\nmpO6aK4I5Xs1Yg4pA21LmDPS1T8bXjBW3gprUD34elKuSbmHTB3ljaGOWKa/\nuDM5oFIIXOx7ZmOrmeALGrHxZDzBF3YoqK4ZUjjEou4WcE2+ZwFWGbvLVsrk\nveVYTEUHjr2hwE37TH9wJGR4pLjIze5scDI2Ifch/sgFVl6cr2z3KNIBRcYe\nzpwy6wyalHMmkGfQS0WCk0jtodhPN+Uvc6aXMNBem/NXoq0psHpPxVPwhhAI\n1E8ewQjOn6LYsIuRjTYS02ACGx/NNmN4yiPs4jWJLIgOnhzNq8Fts9Y5EMSW\niqfwJ4bpTgsQUSTFT7WltE5uu7JJ+QuhZ7GupYU5k6u/dZtG7AO0E1nyRXcN\nLi4Qh4pVQpAnrVuwpjLanr8s+Kz/lLhpBTPykAxdZFwyiseOlK1Tkhn83Dnq\neKyrQDCySSwRqQWe2H3JF1g2qDaOqASKf4r5Scf16QSDkHoWQuZFxkVEE8UY\nmwfNJnQyhIZs6XyW+G5YrAlkGsz94XnLBDGo43gKNGmzdtaJGSbx/O+tzh1d\nD3azd1tJl5AweEofLIs+krMXhIcsHMbE9D3crH1/RXCmGCqhwHBGMVkL4EkX\nGIPD\r\n=G1Xm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"4116b2ff4a410049e1fd39eb2203ff691cb1077f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.11.1/node@v8.9.2+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.9.2","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.1","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.1_1550007307045_0.23405071195655336","host":"s3://npm-registry-packages"}},"2.4.2-rc.0":{"name":"apollo-server-azure-functions","version":"2.4.2-rc.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.2-rc.0","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"02ff86ee366409ce7d02540175a628cce2f63d1d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.2-rc.0.tgz","fileCount":25,"integrity":"sha512-63BlRClThfaAdQY+8L/THAc//ljklt7dweWg9hkxm45lVVptLmV/Nybf4d/+h15qFxA1Cbyvc6FrrtvW7nm/JQ==","signatures":[{"sig":"MEYCIQDYc1eAWSrN72bkgCbofOoTW1jSQwDtKAUf2JixoDb6zwIhAKu6wUOyGl5yvUwmcIZNNQ57Ttg2W93tiNmBIQCAzJYn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZWpbCRA9TVsSAnZWagAAJiIP/3hVuGzzzaG7DA/5rueW\n40fAe5A7xh0j6yxheOUCPzVWefOG6PKrMJgZ2zjPi5pPbYTD7OeEq4CNHA3k\naVTwBYLHfzXZrfUta4msnMFCgUBR58bWl7mbE4PcDGiOZJ84dh3NmjhmAdZ6\nKTXak9NcgsQjypM9Du0uyskIWi1dezZ9O5dMpXm9DZll8f2cRo5soBQ0flas\npsojhSdsnovAVCEbRJ0MS4T3In7nS8Q6FoeZsWqEOrpHsNHKpvyasK3lJsL0\njYUeoC2ixsp0IlABKGmBdurhU3aKWp+4OVMXW1EowjggUU26oDgW7jzan9sb\n/PedwX5zhFjwNTOPz3yJnrMmWoLOyK4FNaNA3Nmuu8XlufImjFbfDyg43pqP\niKmgGcTf8/z8tJQwZouI1MWuHMeaxnA4RpE8STLotUaCGVfQI7r2Tsy/+HvW\nnDPaechkpgPECFs+S64XY4yn+8TU+nsU4/t6v8WETujc8IP+177aSlGjFEuG\nhMQlZZPuNPFrSylT31bNEww26i2TxUrw0sFiyIsnniR0OeNxnDij4CR1RFW3\nFhsR52ro/b49+BkNo/CoO9O1j85nK8lebmQ3z6yDx8qxQkBW8OntkBVY3aQg\nOHH1sSs2t75KuqKyH1tygNfqotlaZ+mqqjDVq88WXXnW8erA2YKx3wbk6uR0\nN/6g\r\n=3fSP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"f988a30e8c655a10d33cde26bdae1e4c265cdb60","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.11.1/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.2-rc.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.2-rc.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.2-rc.0_1550150235260_0.13881886388738596","host":"s3://npm-registry-packages"}},"2.4.2":{"name":"apollo-server-azure-functions","version":"2.4.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.2","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c66c34bc2a2f852b41450338a3a1e9d2b8075620","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.2.tgz","fileCount":25,"integrity":"sha512-sWpQuZFkxQDq+EhatXdyYdbrf1itSuKVJGpAFtzJa+gVjzyoi4Zfshnfe0B28tF/AmVYftA6xYVmDlbbT/CyAA==","signatures":[{"sig":"MEYCIQDkfmUWYrLPcnGJPs5MfFkKBCl3HRFntwlbQwKNI1oHbwIhAJprvmLgWi2TdP/il54e6Qw4IwS1RAwOObZQfZwNNcSh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZWx/CRA9TVsSAnZWagAAM6sP/A+6/NyM2zZTeD7MQvX0\nR49Hd3xI+VT1p0m7tXNjIohGZmCXqzjpNnQu5hPUssFJ+vYACRL2hpuSVKfi\nMogZh3WpOK1fqWYkcd+SfzYIOhYXCmRO+pvASeqpzd/EVz7zBNuHaCASU5x4\nT+TnuNlXUU18yi0GKpMsUG13PiLZAnUZyyi6V6iZl6Qec7Ucqkn4CZDmHvmI\ncNeCFVESYXRKu1iiv6cWvsoOPNw8u/fW6fvnFE5gHln9k1/s+Kt5ZUQCQQJ6\nQJfSd3R4sdT8C2q9JU3gCTeH1SBK8Q8M113ZkIJh8B1YNwhs6oasoanLE9KP\nwqNEohrRM2y3hbD4ZYvgivXksEsEaWgZBNgx5qTMLw2YfR+3e2KxVlafyzKr\n+QvoqHaxT6smYr2RdXdhDz+NDSx/XDymaeg1AJXe9mFjkNRsoFR24tdNJ3/c\n8YMv182L6bIVeenygcVBw2faCT+emGivoV2+sWgjzrC4VqLKcEjpkArVRUbb\nqX925Z1dAizoL9pbeGY67W+45qrfFUHllChu2w4Syt/G+cX+sgFm0Se14OYW\n4YEDZKh8qYrK2Dv9+scxhjId0dif3IdyMdKF/MlfK3ZkQ6xoZ5uDM7rYEPS6\nhvy5nue0rwfqdF6coe4hzTbkFj5tEFnpXE3YGvWAhRbqXgHS45pWLodh0VWW\nGyyx\r\n=hMb0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"c1669c3d74ae44088bf3bb23cdd9132270b26ee6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.11.1/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.2","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.2_1550150782967_0.8891834775938177","host":"s3://npm-registry-packages"}},"2.4.3":{"name":"apollo-server-azure-functions","version":"2.4.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.3","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a68e1d7591ca81180f6cad8e422431dc8a54fba1","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.3.tgz","fileCount":25,"integrity":"sha512-Y5Tm/QzmGi+1Pv2iwODZ17eh168SO7rv5qFVDeItwQvDbmz8DDGCp/fl4kBRNBWkeNhrXyt920pJ7WwMMD6KOw==","signatures":[{"sig":"MEQCIA7SOAhRokgJbkPDEHlw/+XlmFnW4EopYZ5GBTSQJF3YAiAEhhh8eXHEc419laqUD/SNw4JbITcBW89gxv3z9EVmhA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbYe0CRA9TVsSAnZWagAAsIsP/RzfS6XoDc+IPLwrwkCq\nj9IpRIFJ7u755mmbACPEPiZsLHHod7kKY2waBAjxMZtK8pgzuzPARoTmFlzZ\nLfy6uogK6G+TqKzxw4TZjraMahbd+W/jj3fob6GHBK3lcNwf6tWu2OwdGCN4\n+GK1c2HoeOEiDIN1aiASaki6sl2hPAAOxisAPwGkLzDh0Ya6zUHWzG67QI2E\np5h9VjV8lyogarnj8MjoaJVHKCqnljllFcH4PSPvWcV20lM7DmAj0stB/3Y6\nXYLNtomP/9UGbvkOrr3hBLh3+Y4+Uyb326Mh/HoyiYOm9ztxxGaYhuz4+Njx\nSUXpjj8DWlYS8Jjw3Me8NzD8+g+1pRtX9HHPfJyzmlpOIcLWFqb9GdLfI1V9\n1rnpJLN1ePKEeXSEtOwKAOA+t1U7xYZBxY8A+rYSE4Rppi+F8D1YCxnPOOYu\n0DWnECxFFDoMdiLM2vyaBE8OXf7g50Y5RZlRds1huyxsqOQVXRFrMfA8Ie3p\nKfVtZ14y89Z0W63QmuSOMXzrlHc/fzGFw20Mpydiy2rGZDihXy5iEzp8Qtr9\nv3ReXlw/7x9cXsZYCQwkVxe73e8thCCKxglERZdbHmsMABWfI0RtpttyBnCw\nE7WoUDC6KWTx7xK0M8odFiYJGx3MEvCIhYLmX07EaKAzABs0Gv4fIHmiJ//V\nWm3K\r\n=tS7y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions@alpha graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"e1d7078817222f125d4e96269e22f66ef0a8ea0f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.4.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.3_1550682035946_0.0736595947594536","host":"s3://npm-registry-packages"}},"2.4.4":{"name":"apollo-server-azure-functions","version":"2.4.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.4","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0f5a20b8c3f5998e5c550addf5ac4b336576bc30","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.4.tgz","fileCount":25,"integrity":"sha512-cik67WNzMHdRtmYXizIWxmA5VPA2UOww3bbnXRf/6CWrb1k7jO8SRGEB0pwrGE0h6f/IFEIgbiCFese8piyg7A==","signatures":[{"sig":"MEQCIFudTr2TtBpEtGnRXWIyj8DW/ANET3CEEKBf/E9Qb4ikAiAHGSoofsDxWyNH+kFmyapSjDT2Iueysa35deHZ6la4+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcbux/CRA9TVsSAnZWagAA7+gQAJW8ZrzCRVEZBTfZmF1c\nHqLmWzZFd9o/jDcSsfqIcvWZ9XzV9Jf+TO5U0RzcfrP2aaobdf382guJbvPH\nAxPifxPtEuRizvGdg0Sgptg62Q1s31X+c5vbURspfF3AWsTEY2tlaWABfXkU\nUJByjBx5i0Oxhhm9QbQgldrOYru7KNpiWZpqx9JXMwtRimE/L+LdiyLi6JLp\nrYqe6Zsj3mcGE8zaZLZ3PNyfNDP4jI5lQtwWJO6o+pGOrnmGcLxZIZQ1IGzq\nj+X0dwOjjC5/kMOaA+YnY1XntlYmlfyBBr4DZCjn94XCzbeC6bAidVP5J8u5\nSE1qKF4nzO4RmZ4GX+42YSm0M3JTVeWLaMXOAtuhx7zD+RLf7W6toxsrUabp\ncrhDmiZoiTQAPiKhvgQaJ9BkgNowFIoFtIfqlpgVzH5zsTZfiQ7X5kE+dwID\nzDtDiCFXBtvv9n/FeXUz3fz9S03B1QwVJsjVwvHKhZE+rT2L9EQMd6hroyTp\nM6C+we9G0wbbWeoWzq8sLlz9noE/NAp8LqgSuVctzBkJpDRRkIibHovVpC9g\n4eHltuFXQQAGrkVSOSFgvLV1oe301lvDOUGWgytWxnihOgvl5xXuugFjq+mp\neSShphFoRrFWwKdgIcuXEArWceF4SF48Oz4DtFWi80aN6DCnk/mCGuWgZxr3\nMvD7\r\n=tiuG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"879ed190349eded2221e5b9827281a4f6ae86660","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.0/node@v10.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.14.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.4","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.4_1550773374943_0.10780831379871625","host":"s3://npm-registry-packages"}},"2.4.6":{"name":"apollo-server-azure-functions","version":"2.4.6","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.6","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0325a2d946dc8d448e7f431c21004c51c5143eb4","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.6.tgz","fileCount":25,"integrity":"sha512-C2uD9h8MyJ3i/WgzUJxF1nNZQoZF0URnU89xeP+s8w6gZPtNUHnVjpadpQDFp2Zkth+2veyv57SVcLTGYV5NLg==","signatures":[{"sig":"MEUCIHgxhQUpjOiEKC0pTt9tRsqJ29kqeykN+hN2S6/OXir/AiEAuKl1LXOqMHgaEJfhxUN61GNfTIdQoQyvuoi73kiumYk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcb6MpCRA9TVsSAnZWagAAB9sP/16BH8UUECtWMhLB/J91\nRDX6nDZNq2KvxBD9iBuE9+9EIOaOrkxNXeNZ477V+F+3/Ti/pi6Ulw0v7wdM\nW55ayDuSo8NzI8OzC3kd9WwYFwpUytDpIN+jPfQkhQq0vAEb3HUlmAa1oIVF\n58ByAtTIxHNSEzb3H7hoPIF/GExMwdIjbhJvuQLOfswUo7GLenFhh9Bl4HEi\nQHt7U3zMqY8yyQqSPUB2U/M392+IIX5Bmv4dhClSZdqIWgSyKdqFeu9c2No9\nBS9UcsaOhzsf5PVZUOumQ6A9auXyA2Nj0BjpZkD1dG0XPb/gW/MofuGQzL29\n/d6ExygsO7K9UWPhPhe6koWLx1KsTj9VsYHXRVe0SPbEEbaW12AtJMG61IvJ\n5WRTCUQew/41HhibImmjqVXVjJej5TuSAbsu+FkzB+NuIZQnRzPHwPPuhW0D\naWXBtMEB2ghg4QSNqidB7bp5YV3zuHV4nAEQQedzTl/pC9rNV/Gzo3PTWQQs\nuysAqlYGOMJsRkLrrIOUaWAcRssWdOP2hJau7ooYd/SH1TUElHVsSxKvw3A/\nehHCo/X3QdAROaawsWYBN2tdBjwdpXHT43Rx2YF5o28wjB3jM1jFzMcR9qcp\nWAxeXwxGAgVDIKMZXa8hFdbyMePXvv+JPRf+817ZmiqmmkPCaSoFgM9dxJ04\n0v8u\r\n=bux2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"62587e037bc60778432093eb69bfe9b662105a83","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.15.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.6","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.6_1550820136478_0.06454614942617987","host":"s3://npm-registry-packages"}},"2.4.7":{"name":"apollo-server-azure-functions","version":"2.4.7","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.7","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6b382d3d999c0cddb01bd7348edbe78fa4021187","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.7.tgz","fileCount":25,"integrity":"sha512-GrH8tsVl5/twsnmRxGY1qn4NKG3SJDZ5N4tDGfvxBZoMMc9gWsmQUtCpgv1k0svfvvazvd15iO/KhVct9sKyGA==","signatures":[{"sig":"MEUCIQDq0LmchufqTTuXSy6Eix0i02gqcpVRKY/Lrr9P3hZEGgIgFDDDCTXXtFqYPUqdt1yi94aV/ExC32JyhGtQQTLuexw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdSFOCRA9TVsSAnZWagAAwJEP/iT2rEVr16LR3xLAnj+p\nSMgeMcYY935GMR5e0cqYYRbQ6ByxEcuY8ONe5zSg94DDcfyrphSqGJ9U1+yu\n8RgBrCI3TRwAL8Uf3gFThJOYsF/7k0oQdMjlWJaby9IH31HmWNIYDgndDpN/\nhjm5AX6sNsJTR/D5/6lM7e0j4V1oSdhSS9omvpmGQsiJiNP/a4Uh3QExBXuL\nllL2EAtVtP6/Pd43f9pPsyU32KfjfOQ5UvFMFP/Qdc2Qh4LANesnQHehk2LB\n+kfR8RLC2BggHPv2OT9qCmiHHAALvk3InwhOMOnlgiLp7agN9sg787agW4R3\nR1DGKCxTFd1SfU+OOae7KtyGoVDzPlsldQNnaCZ+G5SKAuQcOCwEBBp2u+Tr\nJrwiDFCeLMYycqLq5fwt28SeTiBQW9dRNBqz2Jh/1JmmA2fmEI08UaVMzoKf\n44sg93d+oRvMZpwWq9OFE3UG74mUiVuSnlvrmDBK3pDeyVgtfF2+KKZY/8Cf\n/vw1syexVMUVewD0tKISQSwcf8noVedIJWPPQdGIZCqM+smpGT07ikPWQSE1\nS8kI+VwlGPkMZ7WjJ+KloCoKkYpdjY1qq4gEWpOdLWVxUq+z+BnwnlhrOYB6\nmyKSxuc5veamxXsJAdnm+BOZPlFq9A6umff4nB3Pbek0pTDYhUW2jdh458GV\nnAjI\r\n=YHD7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"a95421f19bbb6c3e1d92b0a02dcdf64069a2ab76","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.7","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.7_1551180109838_0.7555699673349165","host":"s3://npm-registry-packages"}},"2.4.8":{"name":"apollo-server-azure-functions","version":"2.4.8","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.4.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"cb5af490f7858f8efeb864a20c4d3045cec4b64f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.4.8.tgz","fileCount":25,"integrity":"sha512-XNEMp2wVKPLL4c3UmF9lb0WbX/I+tr/J5wdQnPZE7+3OgKf+fFtBjIlOe/hg3HUJnfQwEE0RqUWhG7SsQhX6vg==","signatures":[{"sig":"MEYCIQD3KyN71y0o00LEVk7i1sog4ndMjvIzz5V5JgvasoFa5wIhAIzc41jrwwXsASaNFXbNsRTftodAsaFihBExmKMncRTH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdUx/CRA9TVsSAnZWagAAax0P/R9IVsZdf7iT72B/vB9e\nvQvwp3DrVfMf8sfaJnpu7pYGARMo9tcA03vsK8JxvOWSSMJesrc0yMJm4O7l\nFP0Pqey0SjSL4NvPWODVFbxVPzLCHkakVsoiadoam3uVt2lhCVMb8iqkS6oZ\nJRwoDvndxaPtPn4RoxxnrvlrD4Zt9JFetWzdIcHwyhGPiZ+zXrZHZSsxYoD/\niASe3VsOHPtni9gtLheTMS1fN1mLOdY7wAm3A2rUs8e+cDakE/eQSR2ANCdw\nWhBeSUhF7H+z8+Aa+W4cidUTTbulj4xqYba4JGSg3OGh7Nc+uWwr7WwqYlsQ\ndy9ZdZ7h3pQhgKqZbCpfZ8RJ3RQSC6w1gRo39hOvjrbriemFt13XAR8ihn3H\nmEjwlSwng/EMQ4vproXrpTlkHL6Ph1MoUjKibIsRU2GJzhIeloZHwcFwaBfP\n/gmzjx9K8uE/jeoftIbHOOeRivM7fdodfppIzE3rGeKU6Jk6yoPZJarHuh5E\npBiIscAJijQ8cYT6QgdlUY4oCKvLfRf5pylGnjPYGIj/3fan7vAmo9DGsLIl\nTrR53fPK3XOnQuYDBoMR0VfzR8EU8dycgtON+73EWWKS78H2QmcIib+/4f9R\nOR/Pwje8LhdHlNeEv8+reUiwB+g26Zo1a7OFqZauKnS4q1QHCGhsF06bBBp/\n0+NC\r\n=bu/V\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"046327068b5cbb2d80c3865cdb2566654ea988c9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.0/node@v8.15.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.2.0","apollo-server-core":"2.4.8","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.4.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.4.8_1551191167014_0.8979439258061945","host":"s3://npm-registry-packages"}},"2.5.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.5.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"75346b8d14ceb25ef604ecd14413cd233f8a4bde","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0-alpha.0.tgz","fileCount":25,"integrity":"sha512-GMk2DCduLhQ+2Efgrk819MSeIIyN8sOTDZ+9nMDnlejXr0f/99Bfi8zeL39JuPL4ZybDJDDq+CUUxWuq0DwcAw==","signatures":[{"sig":"MEYCIQDrdyV/ptcAUw86lnRwfgNhaFTGgtziwJYibH9RtSlG2QIhAMoldCy6TF9IUxPipMAM27x+hkrbJRdpoo/rjZQ0skjA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclSpECRA9TVsSAnZWagAAFGIQAIuZzr4nrTEP4n3ppyig\nssU60FrB8E515H6mpF4hHL32+8SSp3gm1DemZ7aSpR3WYkFxsGnxVGA44HF0\nbDp+CkJI7zmX6yYF+WPMKa5AlmDdq6w9ZXlUCbMySi5VWWARkCFO3x+7Okyz\nnYhDKoF329+1l1L8SKoYzkMPOdQZLJpKaHINS4UsY2JME/Ns5n4vVRVsQ7Sr\nLOar4zM4zvXnylIghuxp912e6jJsoZllvKUDtB1UbL5XJnLkCYimSpzIv3/R\nlosfNQettmYOvPOTT6nipItfWvNPpwA4ZbvKhEKk9x0SphpTvHAQ5rKsTZ4Y\nUHScitlWfmXWCzOw/ETc3qrm11g5xyeiJeNWsNVyc4E9KXf8uLfvXLnNxUvR\n/8Fyibx0GtS2TZYTjpQw3C67A8I0wlWLWL5ZZTE1QRQEt9CrjSanFwIwtPmd\n7JZVO3n1pubXGTsVuOM9+37UI7ivfk9xsAY97wkVQnfUGOLYNaY4AjPdzek8\n8RQOpFmZZOot4MkhN+NGhkX+KMr8YnvQNtzduHuzlkEhVbo0p+SyFi06vRU/\nZn3o0F7lnid5OaWH1VLZHhapRoltbLHxDhhFiMcvz39yaFVTk1Z6/xJvOet8\nytXUrFHweiZH4HIKEd/qvQnG9PCHFgoP2HiMi8LKAuVapNbzujSP3A37wP6Z\nmtYd\r\n=Svgd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"77192d647901443df54762544d2528eb8aab24ed","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.11.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"11.11.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0-alpha.0","apollo-server-core":"2.5.0-alpha.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0-alpha.0_1553279555471_0.2615539541453282","host":"s3://npm-registry-packages"}},"2.5.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.5.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4f9bcf07fb65823eccfc3f03a5f6f92aaa26cf99","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0-alpha.1.tgz","fileCount":25,"integrity":"sha512-sK4UBSj3Pqo7EFwu6vaM0iByWaiY+OrqbSvwINkL1rr2HvjVJ0TruuLLZbSiwnFvycsdnTHoRDpv3v3pLAH0FQ==","signatures":[{"sig":"MEUCIQDAsIH/uqatQIGHMcryLTW8iOe6nVJsD+s+XEl65YpZ+gIgf0HlpSoatZyVhUI0DmQ+TaiL0KGDPXOM9Rxd/5Vhk/k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmm5jCRA9TVsSAnZWagAAs+oP/R8bldDmJC16nbNCURgp\nqcdcNW/uEuG4KJp4DJtkmkTquLsYukKuTvrA9R9T1K48rYuSNDTZUcE6QXKG\n2WcRRgJFrGgDi5nPg6UPCfAWoJo2SiAO6RH4PNi+/UtmcLCWfZOgsegE8l/y\ng14ztgzsLw+xJd9gTe4RpHR9Mx5wKyGmFbMRlvGvmgCtx9TjrTeIzWgak3iV\nac1ghTZQZIStkxMnS/Bhd0B3gqXZw7tSAxvQfsNoZP7/d5BnPwqqn4rKINHp\ndaGOeD0PB4Bhb6PLw8zG/Cwm30mxYhbiuau9S+B71Z0kN0/TU5v4W4ZLXk+O\nhdNSk44MV8JLh31v4PZBSb15wc0nQuXrCdWsFRzJHh5lQZkzBha0SNXOdsf9\nzaaxaOOoQOMm9LUOtGaDny7b1yKY7R59nQdH0BjSW0glW7O3LboO88LS+mMo\nMXsnEBSc2zYHgWTJT9syOX0p5MCAvlC91vWjeB6t4ug6O2GFFUmvkrBtU/eM\n/NPPlrtoo4zEuUSEguvrLdxl9qkClZi9rH+H9XOUfkTBFjSM/0FPJmf+DunG\nLYGGsxDW9LNf12gGkHLqYZT471E3DF9EXspOBfRtYqEy8ddO5IFyMTL0Ib/H\nw245SJR40eKiik4Nr8QXTPX/WQPOFyR/KEGW2CeXMNyoVr+lppvs5j9YP/hx\nh843\r\n=SbYq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"6bfd459d4530cb32cd9d468bd87f61a612b93764","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.11.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"11.11.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0-alpha.0","apollo-server-core":"2.5.0-alpha.1","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0-alpha.1_1553624674814_0.6981752613422065","host":"s3://npm-registry-packages"}},"2.5.0-alpha.2":{"name":"apollo-server-azure-functions","version":"2.5.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ea2fa00ded291bf2fa54f2d9b7d34a48d60e3fc1","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0-alpha.2.tgz","fileCount":25,"integrity":"sha512-UZR/OeTu0jF576Ctw3SCyOg4Ja5FZuwrIYESbQJPaPATY8kWXwdL4hvq+CqvZ6BJrqf5QlB7TquwD+dYLgHfAg==","signatures":[{"sig":"MEYCIQD7moezkJWb0sbmOAwDjpSe0Pb/txoCHOn/3cmu11y7ngIhAPByWxT/2jJAaywVBc+fQtO99HGBAMYhNV7XOyGMA1A8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp2ySCRA9TVsSAnZWagAABD0P/2CRVAmj/5E2rXX6TUhy\nDrVONFdQfPHyX0DfdXTE0vNHKrDZUU+IW2ff8s0/xaIv5trLslofKUJn71tr\nCp1c7Hj58m/zL4sTOdxlGrr3gP5E+nCK/LK6D5OzY0JAUxHd7cvCt1/sIPp7\njtc5EU+9vJLXomzeQjj1JzWW1NyZzFmmUjN1Xs+lJNxNMFyR/tJpnILd3NT8\npV5phiLpji3BntE/dNuicfrWi+nRYOBYAD8xxwwQH4iz1aGZzpj5LBjG/KCb\nuLVpPFOs/S7kzNqKsik48pa9MqXHHo0xRFXUI2jR/veN7pcDqaDDj55QdthD\n8fcy5wYjmR8LxA9t5ei0SAuQqqF/nLDQamNOmx3U2vMwPNcczBH05ey1FGPi\nBa9oMPgopHi+NKfb+UkL2r8QRBtWcO9fsl2CCYMGir4/oaiTjbhkfIpo8VVx\nkJTb7rUGTPLDx7nuc9U1tSsLvXtEPU/Jef6dq+vLm9dG3phGKdKP0L2DiO8C\ncNecjJhJJgwFWGUjV4Xa/OWnZoMB5It5pYREHAnvnP7ary4gDQUl5xNiQoLp\nDGW2cLK/Cdq8r06auReRBZrleJ+j4OsRYtJ90czOiJ5C2A2iAYZC/UPHkT+Z\nuFXvBa7QeDuG7z3W5VB6bgUX3YUOo+cJ05xyYYe7/L81Za/+H1vZNl8A5O4k\nHq/K\r\n=et9W\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"4279d56188e56f03b8a2c0e8c9e1ea05cc2ea2a4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0-alpha.0","apollo-server-core":"2.5.0-alpha.2","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0-alpha.2_1554476177698_0.3101904732134668","host":"s3://npm-registry-packages"}},"2.5.0-alpha.3":{"name":"apollo-server-azure-functions","version":"2.5.0-alpha.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1e43eec2e2aadd188a7f9f1cca1c5f24471cbe25","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0-alpha.3.tgz","fileCount":25,"integrity":"sha512-5WaftdD5g73p/QY41yNH58myQrpzIGq2muAX7GJVfQb+SUuiOIpsF9sabrOlCKOQmd3iBV6jqnk5oL+N1wljUA==","signatures":[{"sig":"MEQCIH1303Jm2VA0KUQ/LjB0DAf7anCrclemH36uzoJAygyJAiAdahAYVo0AOxLUJ8vNH5yc8jH/EWNXycds50toPENvdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55538,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp4fgCRA9TVsSAnZWagAAvpQP/1vKhfTXDe90LT1HXZEl\nv7E9gSJkY7An9yoSx1/uP2ZOfqZFohN3Jc9j6WF0/Gg6oWvkeuvnuhtfIiwl\nYTab1fJrwrWSiZpm0Pu2n86apq2pbKuaXzeuk++U4BnUNGOAyPaVtl7nXCgL\n7qzFmtIXPjG+2gL/fH3mzfnVSOJutkhxGctadVKKpQSxdH/YbYOgMjZaHy0M\nJ9MI3/OmXtDa+kw+ljYUfH/n+9GF8wN4IZaYBfpYK/Ml6HiBG3GkNAqtQyMF\nKkMQrYq/hEjMoHOwIAdtQLjIVvK1W7qoQNy43cG+5Bv9VPruJwM7TJSAKbPT\nFoht/aTupdvLT97/2k6/jgKP7HgccfJBwmRg5Zi8a4VD7aZ7cKezc13XyDth\nHB1RQYO2FMpzEhsjf18afNxGUpNSi3qznRBNBKFEukHUlBexU8F2PTUzSd2O\ns+MbgzIFDA9jYduovM/dza/q+1Ob5ZL9JkNFocPUL8ZROAqv1mITDeTTCKmK\nX5x++DMYmYCIYnOEiqtfpF8v3snD+K1nbtESOoL2w0vDqj6937s2hGpetc6c\nMx4F/XTFjnw0T8bXSYaBRbwJnRzwRyx1BwojQsRHtZU86KQ7GbHEwULzuAoX\npufujK/j9Mx2fY9XY8SqmXuEHCH3KCjy4ZRnTm/X/x0VUA+aQoq2p7ujjS4T\nQXYZ\r\n=HBxB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"9e9543f6b7f7ce0b6ce6d59f06f10f4ec18d8a26","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0-alpha.0","apollo-server-core":"2.5.0-alpha.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0-alpha.3_1554483168180_0.7096843950500269","host":"s3://npm-registry-packages"}},"2.5.0-alpha.4":{"name":"apollo-server-azure-functions","version":"2.5.0-alpha.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"04b12951b7a26bc19c7c504c03eaa63964c4e295","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0-alpha.4.tgz","fileCount":20,"integrity":"sha512-CULDHihlxMR4aBNxBIwDgVdCjRWLC+mXFA625tAZEpOzobPJw3Sq5izJP5sXNa/MjRSQfPTyXpI9pi3R36RxRw==","signatures":[{"sig":"MEQCIHoHJu0FPZs6w5dlBaqD+mhO1Syv8tbIvW63KzbGQZqfAiAcPB8s3Iu4wtfvRbrJE0uH2dcJAqSZe4MFnS8NowjdFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp4z+CRA9TVsSAnZWagAAxaYP/AqNx4nyquygrvI9yd62\n+F7J/x5bUVPjl5yN01KTKX4rB47lqNMRXn5832y/PxycKSWSz6TiiVb52wrj\nb3XQQsVByHNpIlNeKEVRtSCFXtewTlUkdRMf7j96avFeNr3WYbCPBplG6MG4\nv2DAN+z0TAJJ0rAZcCA0OlXTe1SgormDQXifoTOj739+zuUaYvj2NlTmvgOO\nbRtYu/wuu3Bnqzs2zXHRGZG5VXyUh0BTxNh6f0zkk6vogK/ZsnR3AkGiSLFq\nuzm5nj0tE+WX/BK2+XBFCR1QhJZHTG3nl/Vf+N/5idMUW4l9mqp6kzZ4aSCo\n9ozsAzhiUhhiofdatMNXY7oGZmZOP1T0sozHBJHiC3OIwTlI0T7mJv1VQE1U\n8B9BNTSaQfTZcA+LGR/+gnRtmU+hgaSlcWFOBtxyE9FH8Jv5PMqTdpBXnc7q\nlijgS8jhg8U0Jx/CtkMj8FrzBiEXcetNrRlOEOqEZqWeOJyj3pQR2VuG7qri\nfy80VSyYOlSiWNou8YZzrx0hnSRDjStqGyBMXP2mDNW69dCetLB4kB+4pTkT\nB1fBCkR7kjr/UhqlAb5k+B2U9E15AC6nVNZAiW+B/wWqDVzRU9cSz4eLQDsE\n3HUffR3bQ+cOfLf6AaxmoEWyVL3TtMf+Zkql/gXXcYSFDLT1Uh5yNBEiUfAh\nmvUF\r\n=z4xw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"3c34c03c5af692b32189b650dcaf95f4d73f09a0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0-alpha.0","apollo-server-core":"2.5.0-alpha.4","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0-alpha.4_1554484478092_0.6061812153964294","host":"s3://npm-registry-packages"}},"2.5.0-alpha.5":{"name":"apollo-server-azure-functions","version":"2.5.0-alpha.5","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c4e9445a60360ebf682b0311853727f1c865e6b0","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0-alpha.5.tgz","fileCount":20,"integrity":"sha512-z590zwuHQ3FKTn5xPEWkDk5/sFNJOihVEdCZDaYHHxQoh6QQwdOVOxrZGTtv4nDa1ggLDS1++ASw0vSyhsChbQ==","signatures":[{"sig":"MEUCIQDENP/z+vRIZ+jOoGCe9EWf37IfqJimlCgZtpYDaaEhmQIgY/BQ1bgztx6YdQj6QwGDdVDYcORqXjBuyu6I1xE7ccU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsFu9CRA9TVsSAnZWagAALRIQAKMv3Cb2P4QbhNZtxRbn\naOrqq5MrtPT/npQwXY/6DQBFykUtFuY+9hZ4vgNLdi5VFVzmi/iKiA0wpBE+\nAIA502AlmslIML+rPrmynx88PKbCPKvcTYwQwMTNaPvtiES2wEDmwJPjat6U\nbqR5XsW7rmpJy0dJTxFmTf36Zh7caIV3w/p49/qJX8mbCKvo2cS6hVo4q+kS\neGO4gnhM+I7w6AGa3pHi22RuM7+t3SOuRLYuQ8UkLBFTzff4CnyJgpqxYW3R\noBCGEz9QiTmK2TwgR/aPp8ajn6IIYd8LK4QdI7EYbcV02/cj33zznXgl/n55\nbHMbntR56IIpu7LWSXtUKFmWFIlO8ZsiO8MKEVZLyA1AwIsclsv+n8ieA424\nG+hUG6mMzJ/I8Si0X4a/gUcHFqyUKoW9SWquXlQYGgCa1pPPeTwlnYmXAaYX\ns5YpZ18+MR7dJObZTgJDA70O56PIF3GF8FqFROrC00VhY4HnEGSM562YeKrd\nqj6fniB4Tyyxzup+Ie4N0knjn/z5UkQqH0AfCvVDJBbj3rgpE6bIkgZ6GD4J\nyMjvxDv/Er3HKfWWT8YZ7LA/h12k2q2pVuJx7/NAnvKHc0ZS4odGu4Lwycav\nXS+aPzKaz4kUIy0qhUT51IzKawdpWz2x88G8dDGlsInYUTKFzDyAPwNitX5+\nUarh\r\n=a8tR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"be2c7ac98e7f279de067f6914ebb699662426b4d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0-alpha.0","apollo-server-core":"2.5.0-alpha.5","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0-alpha.5_1555061692325_0.09880821036654153","host":"s3://npm-registry-packages"}},"2.5.0-alpha.6":{"name":"apollo-server-azure-functions","version":"2.5.0-alpha.6","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0-alpha.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"69e1696c2aeb55d19d8282173bfd4504595dd992","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0-alpha.6.tgz","fileCount":24,"integrity":"sha512-K9hmTRICvw4/PzdZAgZfkGoenk7d2IbNW4mwbGyj4YUr6DqnHAjc2iIrBqb9Fx+4PEIdDUdYtsemRfs3eZj6sg==","signatures":[{"sig":"MEQCIFVjw0L143pb9uDliXVPUROuTws5zr44Z873A/RbwlATAiAxRdOibxAb8pBEE2WSk7kf7rT6muAAQ3Dm5yXIFzJcoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51476,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsq7ZCRA9TVsSAnZWagAAI5cP/1ou0ikmh3UsGavEQrLq\nYFQhMtrkhgSQNVj/3UDjKv3PvED3hNpWmYP1O5/kbXG0XGjcZHbIkZdFwMP/\nO1U05nqqoo5SmrpP+HdDWpBRuCPe6HB8XSbyxNBkF0xccQLN/VGKIjWXt4Af\n6W5PIdhGwIWVqpsriYeRDKe7j17xlIp4qWSBFxE7iI1TEEDkoYjitpdM0Qg7\njLvamRns+ubO71/4McGMdGIvYXgZBzjTRfrU176ues1i+h64Lq65YAKjWLHx\nfqDaQIXRcJh3XqGxrDbGpeKDNezpXXkLCB7Rgth2H+tWPnqp+u5E6svyHzgd\nwrPcWLUn4gYVo/cRyp0k6O/v7EBUG3lKWKpQoMvPSLw9JoT8mFZeVCm5ypbx\nfWa56yWoil+CFIcoTeN2gZuXPpZGcc12cYYZMdyxSoe6705Tg2RkmhkZc6DJ\ns3U/oTyaN/zFIkcp/XisU/U3ATvBrfMRbSNtIUWM65Q47IGeLQmYr3gBCQWT\na1Say5VBsiB1ElIdPL04MsGxQfLVhc3MiYSX9QeYxvpLs09Jgz1Rzqk+Bt7p\npHbUZBcGjMY7cdE1b+welcNhEbvxCEY4VaH4nPvhIpn1lFmSzewufdfDFh2I\n0kHOOGDg+oZkZvLj/TvsDe4lEQSnv3l3Oyw/jVgy8HbgjKhilLzcyQaGDi6t\nzEGo\r\n=OzMc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"551c7580cdc3082f590ce2c52161e51496d45cf7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.1/node@v11.2.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"11.2.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0-alpha.0","apollo-server-core":"2.5.0-alpha.6","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0-alpha.6_1555214040591_0.513495697727121","host":"s3://npm-registry-packages"}},"2.5.0-alpha.7":{"name":"apollo-server-azure-functions","version":"2.5.0-alpha.7","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0-alpha.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5b5829348419511b371e69e995601cbefbe97452","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0-alpha.7.tgz","fileCount":20,"integrity":"sha512-Qj4ZADTDfo58/5YMxDb3dnv6PILDBomzf/OxjrUQvnhOiC4CHU8wQnPM0ToLAmYlzId00+76rO95k6u84QHMOw==","signatures":[{"sig":"MEYCIQDhnfOD/k1aAaOJAFy7puvXAjTFogDU3uxa/JM3ul8uHAIhAPHmVYPdVgkuXptLWQfThB2yUI/cv0xVvRPeEoo6dQK8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwfOqCRA9TVsSAnZWagAAWC0P/38QCsv2/fz/IVuJQYie\nEuqb0XCjT3aywSVDSfive/N4iletJLMn3kWK0c7sNG14SGxrKuMvKFMU4NOb\n8TQq/1ExUsou83au/tuhUikVxIGlVNS1B/SXYZAdlr0E90UyjlKfCWBJhS2T\n6ZlscXoj/YbwzuE9HZuVmHyQkGfec8N/pHQbZMu0oO573fyCE+e92UPUzsa1\nRgPmLz5movjEjydjd8HGjhBf7hvkx2dZSU/abOs3Xot6VtENC6X2PKFtUwCo\npjYXh7KPQj2duzuzN09mH+ifuPfoerUWdrIPzsPWvqdLSDRgjcGjS5hTbGff\nH9Xk1J8bTR8e2nhbxbjxvygpERC/M5Z//oySQraHrXthz0a6Sqe9+rPbkNpD\n5DG3tChUTcpI0DxA+5+3Ep1GdkXR8nG/sfHf/ZCo1HWfEpdlehB4JvZa2g21\nIa7k/FGXwHY3qFB9TECrELGEieFykIhCaHNstw9KqnsSlZ4DDTpUo+8y7HR7\nZHTapWqKC8TLvcJ0FUS5oHBExUxkE4bC4WIbsQbg0DhiQbiOKUexONBdi2sb\n3WvnFtqV0zOsfnUmmS8Cf9Z2YqaNA1BNnWjSNyTb7ZckPVcE7E8A7SS8Qfke\nnt3GPzZPWVMtnOHoD/p4YHIdipLb64vdsN77uw5SObbuUBztX6LsOzW7wHzR\nv+gf\r\n=hMsu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"7b8ff7a9c14eadff9ba95ad12669197c1803cbe0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.1/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0-alpha.0","apollo-server-core":"2.5.0-alpha.7","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-alpha.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0-alpha.7_1556214697653_0.49713814511967724","host":"s3://npm-registry-packages"}},"2.5.0-rc.0":{"name":"apollo-server-azure-functions","version":"2.5.0-rc.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0-rc.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"aa0661f7a98b7f37c20bdf16a2826e69608c8529","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0-rc.0.tgz","fileCount":20,"integrity":"sha512-xzCWkprKjKHR9APRTrwVGzvcFc+jwWivXpnAmbDVs3G0YQHMMSQBnxyJ+S78EugIjCFMgP91mQq/Cn8RkVuoQA==","signatures":[{"sig":"MEQCIF0wQgGgfQzIT2tJhWo5NV+QSS7OjM5EnBRU4a0N3F1rAiBkzu3rhbcK79KFlT3Pjw9WKzNoauM3GQKnbCMnCv2k3A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35922,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcyDnnCRA9TVsSAnZWagAAXxMP/3imGTFFzePA61Xd9JCJ\nvvxiq+htVEvSjY/4JhrTyWGTpuc1dMgLN2wrE2mJPhJcz9tQxPDa53aqM9d5\nIREjqsrbnB9jEDbs7/qm1CMMVXRN/wqmu7PdfGaz+4fL49lgLZHO192cT+3E\no4MnG7Qg1LAqBu/ZoPLJ6x3sDJDrOsZEmhoPmnEf8RfBm2MC4e9/3s62jKGW\nq2Jb6sO4Mq/HU/x+whhd8KcuSRsHxLp4AaYzX02rkjbvIYJXgROKWLBU42QX\n5S05RcGR8ZET29Q7m2VILF83VBDhGmHFNd4ZWQEq3nxsW1Ef/x+7DRZ5NeAg\nI21FU9LqQfnGRPq0EhXwGnD9yKdYEQc5S5EZ3/XhpXsZBKUSrkFjybh2OX89\n66D3HI2FoRGNBKEoS7eSPI9FynGVwPMq9Vd8AD4+kneIL3+CEaQJ4iTD/i6u\nWyKnAwjTERQSHY6i8LIcrULp+PSHq35O95qx/aFD4B4X0oHnA4cnlDg6TErp\n5OPrBfD3W2NAnU9CTjZIn2YZUSYuXAxBpcd/MefE66LpwIdYXe/USVO6QhfY\nClDdntGInNVS+UZu3KHz0eN7xhKlcpFCOsPCYbzfQ1mJKa3VC/RvMgN6gzJG\nxNgb+hpVQpTZ2MYfMXYKdxR+3OB8tsiv3cq0Gs096dJ2uS9wq61Z946ultg/\nSRKx\r\n=dtKP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"5aef85b143900bf64f9eb3dfaa5093718ad364c9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0-alpha.0","apollo-server-core":"2.5.0-rc.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.0-rc.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0-rc.0_1556625894810_0.3551833475881583","host":"s3://npm-registry-packages"}},"2.5.0":{"name":"apollo-server-azure-functions","version":"2.5.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5c4fc2f6f9ab3f237698eba5b870d35d44ae58da","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.0.tgz","fileCount":20,"integrity":"sha512-eKq4wQ+h8jDduT+zLz/FVma4+UUHLHNhkT2LC/Dr9FVCZZV3eUDFOGdvVIoJnp1iwUp2kC8wU5YV1UJ4l1HGBA==","signatures":[{"sig":"MEQCIEUi503ZH1P7bGAeUXdVlOFYaZipQCmuptAiGu0BoeTnAiAc8+XahsUKR3X9oBo3rf1iQuJJ4GUNS+gz3WCjQVhpag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0X2YCRA9TVsSAnZWagAAAhMP/iufIIeZSO830oJ9aoyF\npOtcihaycpRxjwjHUGNvx2yqfViGdOXCxfl0JbC+4XQMQ7xIWUGae0Ug8jia\ny4w6C2b1WxiqNf1ab0mUdIwU/x22j6xAavzucyhjPYQ2qqNfZcMUBYubUaZb\nYK23XZFt6/y+kxrGQMw3oHdWT0WDCyS/wBfdVyTbbOFBWCiWnTZ1EMO2Xkxa\nYJU/UTJKRKkGGRjv8SjQ9UBac8vjXp+GBGYcf7UXdwzRwMr7KcZ1UtyaQcF/\nvrMEDWGtgRihZWvoj3GBTDT16KdgQOac0uCtQA409wFJjSRdaR8KXDonj50C\n2BmTlm0GXhNiAZG3GPKTk715ngEeEyFwCIK5DmY4UIXCJ4HiqFizdMHPq5Kj\nOQDjQGL5XX8V8qRzERfhSveGaf6EMF9eR/Voh2mkTM4ZvupvsvxmlkLh4lFj\n+nA12c8oPxSZsAGID2+okQyqjmawNrNVpl9tirN3H3kkbenDRJYbGiUW/tYg\nL9FzCSNbcIPq9fejRsLRkofwASVhWuTAQOiZf9bJg8fqHPkc87/S64LXAvQ1\nv5iTS/40zGRYfiXUVpFAJKy3Ax98sUlDkOFVRP0Pjs5WogUlGhelAO79B535\njMhjB2VLifOuOTYMafzKEDVxtR7y94ZAi/7DhCOqHBQ7PR+o1j77vMD4vAtc\n72tE\r\n=dPpy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"f7e8ea067d6421fbc8ef41f91d1e673cd20f08d8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.5.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.5.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.0_1557233047950_0.4755667415288749","host":"s3://npm-registry-packages"}},"2.5.1-alpha.14":{"name":"apollo-server-azure-functions","version":"2.5.1-alpha.14","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.1-alpha.14","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"220a1ac7e20efc11f6145a74d8f1dfe97eea36c0","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.1-alpha.14.tgz","fileCount":20,"integrity":"sha512-Cf6522NiVk/wJWAWSjjfuZU6kTbgaJR66+sfnqC74k3rok98KDDDu4/35D2Lnpq6hLeqb1Crnbr99x0RQrK9Hg==","signatures":[{"sig":"MEUCIF1Qk2BDqfja/WIYl5L2XjgGffWPLul4p8H3cvFzYa6rAiEA8gGjavlukwB8D4RQc9sP82TMU2x+vScBCH/3aMIEYU8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1NwkCRA9TVsSAnZWagAA8kYP/RKWtiskqNxBE6q60OL2\n8XF8DSt9Z02WRH++7J484mBYEaIyGWlhmEM13JvGAS+fbOnEpRMSZsgvKpjc\n+91sPBDdm91VmwCggaVEfueD2vdTc09TiT3p1H4kuo5QD8od9pKsYUS+ytID\nN5XF05lfEJDspYPF1w1tiiRKJ6YQvGrCMaKCWB0Ry/OUxqiLYn2TI98ZAR1a\nFndRuQ116C/Iy4yfn6I2zl7kFPvFwvzOKZe4ykxVvtcGl3/Ina/o7aFyigr+\nkHttPOdAZgXEDnc42bbyEJzoqmQtiS8t+Xf8ZsjcOekXHcqpLYD0zC+fx76v\nU7NHIvUFr2WzgW69/xkbXjrie5rvnlMuG5nS+pJvp2udGG52MXGzqV+kAb1t\nd3D/oaMbbAlxKFcBnhA3JNNc1xVrpcSe2AEa63erBCdzfXjOTNR1jrUFK098\nHfbexu/U696yEeGqE9spgIDEJo6jQcfcjL16+dCv5uHK8U5WVaE816sNpHK6\nTKX/42knmgHvYfkoaz2dLoqKY2ZBY7nT+dx9MMvMpAu2UghzZoj1DClcoeV7\na9rBIfflB7zDm/qxIeNcKm+DJYBofe7ZTGdx240SYHI2sPU/QsdmUhLQff6F\n/sfzlljYVw3B1UUbEzSxoAYNXUtpVIz9D9dAnQJ+cgrHB9FctepySPonlZf5\ndrKP\r\n=ZpsL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"bd51b22fcbccb6284e465f26681c5b359f13c05f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.14.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.5.1-alpha.14+bd51b22f","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.1-alpha.14+bd51b22f"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.1-alpha.14_1557453859744_0.9583445553416603","host":"s3://npm-registry-packages"}},"2.5.1-alpha.15":{"name":"apollo-server-azure-functions","version":"2.5.1-alpha.15","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.1-alpha.15","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8ee7957b729e265f4e12795ab287a131238c5012","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.1-alpha.15.tgz","fileCount":20,"integrity":"sha512-jzne12irpanFV9Hx662gfUdUmCFxgnntHr8rmEolJceQAKTXVfAaq9LCooI+QeNFSVHyrqH2Znwgr5VsHsjDKA==","signatures":[{"sig":"MEUCIHmV00HUp1TnFh3ZPE6YZOsYU+XsmSwEqJozBVOczRg+AiEAxa+OAZCltV2ktuPUSL2X5sBcAaN7aL6rPZzhkD5qUkA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35953,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1OOGCRA9TVsSAnZWagAAH0EQAJFw3c2VkiIN36zloCM/\npN/c1dkKNLNBCCZwSkd8KIbG10Ao/34yWpbcCvKBXNSSykoPDJGNuXUOK76B\nXHWSrcr5Z9Ps96br6BGlY/0Bbhh48Q5zqHHbwGq1QSGPiwKNqkGdYFiCzOOf\ny7GyCts7sQcHbApz6+1fYI3FDfoXO/ytLuyLgitsXiUobJeKXGhpi3hcnHn/\nUHbHfXT9NEK3+w4VU29nl5F+sJfzeKCTJsuqjWB44Wmc4lblvTvrylXGLaXX\n+v8Ms5tEHzV26cQEDXGSQzeMbUeUbiDdk2o8fJy+7yyn2ZUFYWBCWSfMS81h\nqyv2LGorKoqDv8Ws1DDW6PiPUa2MureCvysQ3bKr3VdQ64C/DkcweyWGoj6h\nttOxxPZ6m0P3lJUUi3ywhDaM6teVPCgNZNDgMWnCjwIoj9np56ODV9knJX26\nwT9UVrcCRHCPArkSXEGaHSOwLqlmIY12IZr2N3L2OBOd+kbS52yUo7E6Wmjq\nfuvoqa8LtfODMmLoLGCbMHZVdZHYXRBO9NAttN6dM3xVelsZtl3LARu01Z7p\nVdonpCEcVPTW2xfU0VKsogUrcNvyoknUrR5NX1OjCV8jru1O9IjCBQZtx4/l\n3kEq42Ezfe4QZsB33v+56hGBQsjG/3ruJqhQPTcscy5YofxevI8XWsTKQopj\nHWu5\r\n=dmgK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"e2670f66c1d39eb6597f2f524683843f4d95663d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.14.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.5.1-alpha.15+e2670f66","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.1-alpha.15+e2670f66"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.1-alpha.15_1557455750268_0.7847094165494097","host":"s3://npm-registry-packages"}},"2.6.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"767c2693e2e61f3bcd8ed604f42e6386c9e34e7d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-OadZLdTId6SKEdAkFZHgz016WWcnokfoEqu6yL6wk8i9EpXurmuZR6ZUHtzO6Aog+Sp5S0petYNPYy0ENraaaQ==","signatures":[{"sig":"MEUCIQDYa6vmox8GTsUmo8qrSuK/04T26Evq4i8j1sEQmBO0wAIgaNQcs8GpXursNZ63HAL0ugfX/mKeml0pLwE+EwAv4T0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc2cQjCRA9TVsSAnZWagAAR/oP/iC/D4zQM/R9lG6vD9bv\ngNMufS7xAvYeoVmhCZI18x8m5Vg2cqWhk3ko1Xf2+ccD5xUTYSzLfRROKl+e\nk7Dfr6/iONs6/X6zoEw22Id/tDqEZYHNZjKNoJ7gEfqPjKPc8DbAuLEslaLE\nV37pUPIFohSn1rU8Dg4mJLNwY5vMLy6+0ZHp8yUV9W6zKcqGb1aIKMe9kjTd\nAb1HIF6GVCOUUXHWZmbeu6IuUMjq6HN7mPjL+/u8oGMFv2ukb3we8Kvxq+aE\nBvAxPE6tW2JZ0kcRpAI9AGKSYwhnus3UB16MjxqsKznW7vgdBVEwfT4KDSid\nqIgbhZLTwjdDpRB9hV0PJl6CH9ZF9xKiU7KPqqQnSMJqE/ST+s9pzFATetCZ\nYDBrsLxzW3jDh+gdZ7Lv2cxIh4zttTrMyfsyfp5aL5SBxCFOOfPPw/bB42/X\nXm0P5kPz/vyQWE85/ZHXN64wM17KX8K1m2LMKRGUjosMnmroSYyvwJqGXh1e\nM2ZVN2YANXPKL77Z+AoZl2I+BMx27NFtkVaH5ntcqQpcPHOeBLWIY7e6RNsA\nWWSaacwzZwjWnAqDkXxf1KHTJ5g98S+ExZsd/CJGao6BRXA/KIjHgfFOVwDL\nflhQxywDolMn1k2ZUmcdrto9xaZp7MdBimsJ7eeSiJM974Z9nC+qItQ4rJnJ\nkjWb\r\n=s+92\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"2c2f1b6ed2c79957de1cc11a298249f67f2c59e8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.16.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.16.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.6.0-alpha.0","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.0_1557775395085_0.5411278191500015","host":"s3://npm-registry-packages"}},"2.6.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8905a907ef083e1bda4d65aa1f4edb5e956ba85b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-ITyechPUV/f2Lw19fe6uq6+/DB3SYq3vhOMPjEQ602bwVKSeRhs2ZxGvm0+Eo8JH88Llfh2n38NTAoC6Tq3d3Q==","signatures":[{"sig":"MEUCIFAJCukmD2BpZo1WeUDU1FXhYYKNBgnLgsoVFFxGOtX9AiEA+ExUZOFCcsUccVuABQWS0uGAcFBg5hQf+fhr073Imq8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5ZZCCRA9TVsSAnZWagAAgDwQAJKHRdSFEFDU+B4sYZve\n2pSpj1o+TaEtbaNwhn6PDAmP/F6NQM+aIcD6cjAiDvQMzHJ3P1tXaw2Ph18Q\nrqWFVQLNcPHhuhLV0kPLbWvye2lU/A9PSCmgTlOSa+YblFBt42MLh3F9DJQy\nkI5azoCkmUssDHsV8WMBLSYevkB8s5SCwOfGEzJoV+NcndqHVWNYLTkhIcCy\nd0dBC6f/yrggci4inx6+53jISoNVw0EmcXdyLLvjMQPA6YedzyAbzz9TK+SR\nIU/HmvoA2/u5p2BlgHcFc/zuBIGtoaE9HURyH09y/CVQvpLQyubKCwN2FeVB\nDs4paOl4/0oyktBYB1iH4pKN/0+vNZye5Weq2kXo7xhxuW5cYNT9mVIo096C\nSxrJNdz5FzLJ3ZzL1LzY4TGnMTvHAZTtWGe4Iy7suNfQbwzGTZNXxqUWLHv8\nVUdo4N4suoNGl3UlZgUQPZM/rv8LbYYznkG5Ctm4bVOBgEk8kkMrlR8146Uy\ntn1smAEld8J0chth94G8NbW7SLETKuiz9FCHj4RTGhUUZDBkD2oRUuvJID/1\nsrG88dVmyBJUI/xTMNKYAm3srz2wTa4rdXRcLoWzcB2Y2NcXYdB5149hQcwb\nPD7QPbK3BqZ2w7VSXWLgHWxyg7H60k17Cs477TDSOUdEIvK9tRVE4Oi2skOR\n9cch\r\n=dV7B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"81282f920f901994544925ed27f5a2c77f8a7120","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.6.0-alpha.1","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.1_1558550081408_0.7854060829914848","host":"s3://npm-registry-packages"}},"2.6.0-alpha.2":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"dfaf52bed6f5a22e2b82339c41f253d3701a921c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-L1jIAkala8tineodihuB5Pyrxxq9Qf9Q4za96UfsjpRpw08WAI4TECIzcH6hVxzLwrYWFPYBjJh9f3CHycMytA==","signatures":[{"sig":"MEUCIDnvwx/wABssjvlKMQQPzLcd5MNBfSI/PM/5xB37B1DZAiEA0AlhIsbdkmdx3iIg+GtZTJ1LVv5My1Iae8AXqlzzzr4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5axhCRA9TVsSAnZWagAAVL4P/iJb08b+WFqMGXtnVeqU\nRHVhUnssTCm98IAVBWe6Z747Pb8caGtsWIHf7oQVNGQ+mEQjsNAzLgu5biGI\nKe6ItcUaFIXWi2bF+PQeR2DOBDKTZYNh/UvNh/Dla3PpbPQyB7sKkoDAC3fY\nJ1Ahx/ibxgGxfhMRgcS6e9zK7pcGl0Hx/1hHJUnVI360tqNXlyrsfDxTI5Ma\ntWVujTlpUOHoP2BSXBuqO5fQ+FvnX4r0NWcufDfXELPVHosFLhJFvHGAJvQJ\nLFMS9NDEILXm2lXcpaaxJpvtmUr4yQS0B2BRIG4klDZw5P3eSbgqP7/jhSh6\n9J2v10IMp9zasfGUu0NrrJ0xjcRM617XUZdXKHfIHXttbyC0UfRwSts9F/2R\nSBPqZpKt0Oi9/O4fO++JkpRZIRSMc1PPGK+js8TE+Hd2qOazZaT0wV1otH++\nCnzenWagDloctBKvJneKe03lafZ58YoBqz2wbmpZShPtsSSWeUB750At3UdS\nm9Ze4QIk6xwThUXbqZ9/w4deU78KqLTykjpvnLyrFrq1P+rTz+jeYkYMs44U\nauyiC6Tw+3jFU2zdIK9aaS0QqSFom7vIN33qIzYAge/wQVmSeZeGtRwAIHGL\njujVY4kGKikPypWytO5/56gypH67AvP1p0VsPDOABpD12JTIt5BAXO/TB6EE\nVHXS\r\n=/WOU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"ecc9880ce99428eb6a62c0e6bff242beb1799f27","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.6.0-alpha.2","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.2_1558555744711_0.6996381747219236","host":"s3://npm-registry-packages"}},"2.6.0-alpha.3":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9e1a19360e0ba23df2cf887f38a16fdb21cd5198","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.3.tgz","fileCount":20,"integrity":"sha512-d3ZTaI4S8IfYK7hU+LGWpf8Ie++9tHkKVrVSvYCsF5brcHrA0Icn2LPu8f/zkRTdsc4As3K3HyzCIsjpGHVCyg==","signatures":[{"sig":"MEYCIQC9GSuRhw0YnYm+CPbm56lF9u4/QItEv1/gCyOE35/MxAIhAOBCMeMYOSUaWwVPlMb1Oetba3VpIU43WP1T+UJpCt96","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5a1tCRA9TVsSAnZWagAAxIMP/0XytzyiOimdUAeH8RIh\nYbUgY6eMzhVuPtPRcmZCEMBtyKdGNBlWUfqn0WG+k9HJiTMoxRy5j5YbjDHi\nGmElk+GTQvBXwYm9SLwYARbDcnSfCz+HdY3Z2d2oUpd180ykGgPG04NQw0KQ\nd6X23a0pyCEnKgxf/dKRrBmx1ty6hgdMbMniRGwZkRAN9L7+s5XXhvsD3Fhn\nqvh+HoZ1WVs3R00WHVf13t0nNpKi0fcwJx95zvSR7WLB65ZlMcad33Kunf7Z\n9tQn3+t5cpL4jGgf173E2OjfG5fWAczbK0inpVNHzadPB+1glFy5TKDyFe1r\ngi5j4FL9+kwmxeyznEQAe4MiAqA1kLmtXr2tsKNQUsuEIpeTIvLiKXiAr3ND\nEwG1e94CmqXc9JK4z3AZx7UhywOqIkAVhqYwtYPo87+ApnpBv33QhE9wrncT\nPTGUW/wFhJfJfqDcDUETKZPeSltX+LyE9C1K1+vg+VxAWzCQ0rmFNpjIUIKM\n9hxGu5rzyuVTGOsJP3DPibbx5W1lTCOAr+jfPkuwRRTbIks0OH8UF1yMLnDK\nZhcv5wFFeRqLiQ163e6787FKqNrDvhAtqaLtSxdSBtudiENtQ4p6jpbJ/UXS\njnhsyQS+dUtyjSmdjGNsJMlurIJJeSdk3ShRnsaYaJGl3Sp6Mr2zNX8mL+cT\nNFNp\r\n=So98\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"7becac459840988ad698966196cbe120c7d680ea","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.6.0-alpha.3","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.3_1558556013174_0.44064557949716665","host":"s3://npm-registry-packages"}},"2.6.0-alpha.4":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d6571759ca812b139d3f458f3f7197db66ea9de7","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.4.tgz","fileCount":20,"integrity":"sha512-GNJdnQz/cIrDF13Y2I0ZIQ5+AfNc/SMtBgsjJ1gCR2eJDf4KO4A+S5tZY5SijdsjaUDc6yPPjCjMBYKU1qcvOQ==","signatures":[{"sig":"MEUCIF09wbuUNS2iyiAXl5/SZMTFVjuV1uHmkN0lYiVeN6AyAiEAtU8YGQJ9RSuUvEBxEgnnErDhwYdrv/iFPYCoe3ZhLIU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5taeCRA9TVsSAnZWagAA/FEP/1A0iPibCwpHIkAbipo+\nS9VEB+JqTbxiqIGsKG/tnPI2TmvLlY4MIPZOCVgvsyJiEZZwGTo37xiZ8frZ\nKLVE4ZF8s1Nl52R+tGhBn3jeuy7IG/LDBHAZXkAzb53VAC6Dbrnu+Y3BDJVJ\nO3yOcYn5Nac3vzovRjh0NHJlSNE+bODWM7I30jB9vBpTn1nAH3cPDv4f5RZq\naALknV2Zblm50iCbnZfULfnEGmblVZD0E4TYASbVZQCE6RrYn53IrFgPhCdG\noDjp1FMMdEube6EH6HdHImfjl9eFAxOuiPtz6ch82ANsO3MRLXx2hmUKmwSC\nVEiUHXYEow5QqWmuaaX5Xu2MMu5xZ96XxzYIqxmmhL+3gooPqd/GhnviCDg7\n05hNBC/iYxnNPwI9k23XiJHzLCRq7RX4s5mwkiwL5hDtMOaIEHUyAk6ZuJFX\nUZFI5vGx2NpXDGpsHBKa3QzzL6EEw3P6NovZ3vNywIq43+VVODxJf9qMlkQA\nJEhR/845nX3n1Y2hhOvytFHyRvWAyZo41hemtoA8W+nf658ykF7WhkjIx3KZ\nl9EOAds0BWtrKfoev6T5TdL+FiO+IFwCDOsrxX6wsftpNcN8KzoI/fvdhA2J\nealxLI/XVPtWtBprmbu3zJOFkdzpeDjUir4K7QQcIOfP0xNvCpXhyf832/kU\n8Z6Y\r\n=EWeJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"bae1f5c4b748c9935daaaf899f5508af18fc2c41","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.6.0-alpha.4","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.4_1558632094173_0.4524294659970234","host":"s3://npm-registry-packages"}},"2.6.0-alpha.5":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.5","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a10c07564ae98edaddb68a724b3af06d6d76c5c4","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.5.tgz","fileCount":20,"integrity":"sha512-bKRbj5rrp/kqa4KXkM8eNZk7oheV1XJeNjnuJWQvLh5qMrTRE5CZNLHaq5wN0sRUoDSaAknLEMsY8AqvCeAa8Q==","signatures":[{"sig":"MEUCIQDhyNfOFUj8tBsHuY4xND5X/zM2+HFBq4ujXRXv950RNAIgICgiD5ulkIRi3W0psXdCSxriiOZlGTAg8O9eQgE57Po=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5vcGCRA9TVsSAnZWagAAPB0P/3ZBCV85g+SuXnQgeLHD\nHr+BayUFmbMDyneRP4Ak9cGH1LxBkvuUjRwekxe+u2HqlgYFXh0TO55fnosR\nux/Xl8gUdNZ8x0cPirpZCueIC7GNcE/+4C0qR2DNXRuAOAMIA00Jcae+OQ2h\nzIVlK6yFkoZ63mdzszsKaTWVWjMG6sBa3LQTpYijfXA337ml0S46DF9KMKw2\nqxoh7agmoaaj0mZ5vuhxUPc9mBV/n6gzjVMOvOKOyQoypgvqbpCuXShL4wk0\n7lF7pSe4qQAJIKFCDp660O8/MpobpVJeCmwyWbyys+yhwUj0IG+R98tLG27P\n53SLfTc5h9Eb0HiDmlskSYWWzVduIQrknrYHlb7X3Ln04vvL73SIXfnFGeQ0\nWSjJoaRatorVFEHnWf4gXkaTNASLi/iCFjQXfXoWW8aksz3VMqEUkbxN2BFg\ng595tgNnwM0pqxBOZKfQV75+fCK+dUQr2mY3Q1V1mHppWnZWzNyoAb3zqixj\nbD018kUWZoyfBk1pW0udFoaYRI03Z04Ru042+H91zHWxIl/0P9+iY5BY+JZA\ncfdTbso8F+dMYZgJfm7+ZUFSbuktJsAbgnR+IHhvoMuiH+YmS2uruv1oXkc9\n9HHZmnfXC3fML6rCKNcBMgXgev6O/pTdr/12A2Wv8oGPxE0gLlospLH5Z6l4\nvozv\r\n=MzSB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"2654dde239e1b91980bc58c21bc576cfa40e3966","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.6.0-alpha.5","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.5_1558640390430_0.9845077571965197","host":"s3://npm-registry-packages"}},"2.6.0-alpha.6":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.6","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ba5bce8594c1366fdd0106d3fc773221d0693fbd","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.6.tgz","fileCount":20,"integrity":"sha512-vO0JrpEuW72wSu1cD+oP39k5KO3z4lmvJaTsr0+RDJ5JGkiJE4105fUDuuylW535d24wpKQWBCp9VcGenqIoFQ==","signatures":[{"sig":"MEUCIQCvPfJ5oIgXtxxOWZUG8E22A5yGV1ts3iemoE6X27/FlgIgGWkNhE+nFUIZm469GkO5joDRtDX9ywb1sG6EZavWq50=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6GCUCRA9TVsSAnZWagAA7OkQAKI34xEBKFE3phUvj/6u\nwk3O5oRHWW3z1PmTZArcOZ6KaTLlqlaV1kFJAKKP1btFcK4RgzXfh2OHnP2H\nPHK/dYQY+ESE/m1N6UDgoAgnjVmTc0n1Ji3KeQTh5gAUPwbJ1rii2ud+YK93\nWKF/FzZMzbghCenZAKHpZM/otmxBJcBgK/PvPodfdMoBCjjaV1MWlSlpK+BW\nziDbPqhq6Vj1KeOajQHuSoN1NOWckf5LetScPHclNAz2rY1aSRzD8bG/O6eg\njLBXRF12nG1hhhYkWZ9KfTosKNW2xxLD05PxJgtP07sMNyi2fdiJ1hKfEz24\nbwoBwyVGRa9/qoPm4hHYMxWtriBc+4kvtywhUP21mKlEnncsMIekLH46oC8a\n+LiVzK0StvpdiUU6+rx1Cq/aM5Bgw1PBkDgROAtN9Q5MbWBtUL0SuzC3FPOD\nmyIIMmPULJ+7mH1oYu2c3DYKOOcWWILLb58PYSnk5XGIDnqdrKiIO3yMstWC\njF8jIeGPA5B7KojpH9IOLFhxRUfZd9WNoumqSBXvSywaS/9MZplqy+XO8Ss3\n7f0nnDPwWWIRXsyfk+rKSsyvcCf61v/NCKW0LosQZX0BCVNXafG+7AzoS/OF\nDwDoqjc/Otwwbzu8lqQsN86ukJMm5wvC16r3/SEpnkRwSxt9Mze9ZuTaYLWs\nv/Xz\r\n=WnL3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"590c1baf5cc5aebe58a9532c717453cc9d344a31","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.6.0-alpha.6","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.6_1558732947582_0.04502666303267544","host":"s3://npm-registry-packages"}},"2.6.0-alpha.7":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.7","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"40956a24a68f54767762121ad4093b31069cec39","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.7.tgz","fileCount":20,"integrity":"sha512-lsT1c/il/ZHm31slfY8nUbvJVPmnuF/dqjrgz+xxYlQ8Fq2ObTPt6ntR4DQdjefNn5Booyqb8fttpt3aMniouw==","signatures":[{"sig":"MEUCIQCTZC6UEsypArnJxCSagdwbZrjnLoHDQirxf4yy60ZjiQIgLfcAE8UVIDuWAmiUbUxPGnjpUi9e4P8XrcqC350bd9Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7CwqCRA9TVsSAnZWagAAB2IP/ivTS1K9OqvcGSWHm3s6\nAzmv6MqxdYSD1pOyHr52A1jT2CfvVz0OS9RwqnWg1btYuRSvWLuxAuWU7TWv\npWhZEi00tjEWC2hpuAty//xqU9cR0+4RFMGrcL6dkwH+3FOnIUg8s6YlcF5W\nL8b/HW9ehOybPZJAVN3D3gtamJvspY65cTMhnuzjnAiTaJfyusEHfiG0kulj\njFJ9s/qpl75d06BoyAsjIswwrln2m9z4Wb6aj+nIOksjl6wUYAhk2YDQ0KM1\ntj9addwCCqHHpzaMUQXmGn0GJaL6hBrqWMEJBR0Xx+YDv/iOm4zd9SnPQhnY\nU7ppdDWChAWNHGibg+J9O1YKBTkGG/8uEpsBS7eUUNN1miEKI5/fpd9ZD/GC\nG8GGOGDnJK1qgysITnBnuSh6MSgtj4q7sRxr2SlPdnIxvJgaf3mpE+eDmIRS\nGcKoo5f5CKkPg5E+4V4qNlLw5tfF5UyPrUViKWKeq69m29lnjayg1vWQ1PZs\n9p9ZGe3g2Bs4mePxyS3Rj2wCJOXWAybeuKQmJQ7ZoOERAEPVIrPxga0NSg/U\n8ar4QcBf7EnAbCqSEzkvkI9kOxv8sKTm1Dv0OllbwkBQJo7zw6OpGFj3R/PO\nixJvcsdeoQmNkMSBAXFpS+J1023KeGaDAwZk3341G569kDkflheyaVylIQiC\nRYdn\r\n=QIr9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"b544a25db9d3c6372f96210f901c5c9076610391","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.1-alpha.0","apollo-server-core":"2.6.0-alpha.7","@apollographql/graphql-playground-html":"^1.6.6"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.7_1558981673488_0.7952694487491621","host":"s3://npm-registry-packages"}},"2.6.0-alpha.8":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.8","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3108c42607e3cd8fec81688c8bf43ae1b751612c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.8.tgz","fileCount":20,"integrity":"sha512-9Imq9We08Eft0r669z/ZA//KPpjS0TvLUEcf2kDHQ1tD12nXvyxGblHpO5ybJtnCri/MpVM2wtzIBxOmkYmmlA==","signatures":[{"sig":"MEUCIAd2cUQUiQ43lTFSI/KFHTQjMT5TWYTnDxhoUkhucvjMAiEA8KdSjwba5Z0HWB1m/jw7eW4RToK1dN8lK9fEDbSB6+s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7VMdCRA9TVsSAnZWagAA1qQP/1eNEVRX+oj2E8kiYY/7\nkVT2lylJcp1cXZS34qulSf6v00dxWVrLEwXb46KUl6/5siKS+jv63mYiLB6n\nbaHB9BBu1meG/4YFyS3kxuEqsyNgM6F3EvVmp8hatz4/4MnAIh//jwoaRBHI\nCxigoC2X2SlR0CLejM+WaEQ/CvnOYuirsXs7YSNayYcoyuwm8b3olK0Puscl\ne2YvHb/j8loAj8WfklJbEBpwN7DzhTKTPkMxrzPp2uSsNCalxAtPJV6nzaXd\ntiIzv24be9sWOJLLieH0SmTRRzH5XDA0f4k9PutH6GsYUnZOmPSjdWjiJiGQ\n3iIPMyNWVPs0BSJz/BSP9qKzO/1AhbpgGm3M3kMIwCHZPKPn3xqzFog75vk6\nUMQgbya2J21cFRBSYRPFRZ+jA/F1qvFbcDhjAXBf1xS9bltRNd92N+ARobdA\nJ1SQP5HXpCrki6yW46fFNS2BGtm/zoEsLrQpF9n8ZEmxvn3w7DjLbjGeiaYx\nMjrPXGGWN7hggsDz07dHNaDsUfrpFnd+yJj+1llW2IyxDkFJnvZp5L+psUSw\nZJoscuvSsGi/w+Pot4Q3kL/YoVmzM44BrkF/IQJ8hyi61+AGuH+sBAsyAmeY\n4FpSJTvtPy38uifoVQDbgM2VmiTCDzMW1RBLo5GuiumFs+n0Er3RX0zorlxM\nE09p\r\n=w+1z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"85c1caf6c52932493f6f811faf59af516e8f7dc5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.1-alpha.0","apollo-server-core":"2.6.0-alpha.8","@apollographql/graphql-playground-html":"1.6.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.8_1559057179987_0.9055283250120001","host":"s3://npm-registry-packages"}},"2.5.1-alpha.0":{"name":"apollo-server-azure-functions","version":"2.5.1-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f226d5e7376edcf9454f69c71b205c3f9fa53d1f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.1-alpha.0.tgz","fileCount":20,"integrity":"sha512-VkS3hCDplj7HSIN2l2AUTYOMRr5zHlF7PhMKZCjXVCA8Ua3IbRisiBp+LLXuHKq15dEqAW5QRM0bDPUb9YZbhA==","signatures":[{"sig":"MEYCIQDUvlF2xrF4IIF7rmnJ8IFcsrht5ENEGUnn41v0TSkpWAIhAK+pGYVNFF4SWvyqPtDTPjltnaS3I4DD+c8tpFNtpplP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc75w/CRA9TVsSAnZWagAARugQAJpMOcg7C/M+lwSkkDs9\nYvXnvn5R3syIvrN8WMCyu+zul8cCWcrr0rqrCLwWVwpEQCmGk4Spivp7nkJU\nEs8kHvoWDFPcLvMA3WnBdgTfk4krwL+SyQgfqinDWEN5Dmxq1fkeJMDubBU/\n8c0CLngey4eYOj4Zr0SuygTy9u6PDctQFaXkM1TWFceJY2e4+B+5lUflCeG2\nCREUL22YOYgpBRpiyGY4WQ2ACyGz3B4B7CruJqQre6f4l+wbwN83RAX701Md\nlDrEe7aEZkPqzxZvAeLW6iKil0oLAyvOn1g9OZkND4bDtnEKhzeUBPP8vcW+\n2lX4jNGKIiUlrJ1maF2olBbuPe9F54z6etaFWYEYJQcKQph0430hpyovCnLL\n6aZj0FeJhMC1H32oHpUkVW8U6B6U98BiUlSpPln3TFJ+bhAoZGCaFPgJ0N2z\nLj+6v7HXU69DQ9wFFnS+hOnTJURBNNS6zhwqs+whFuZlB3xnAe6wu9PI2kun\nW+LbsWIkz/HsoQnINXTrsYtUNzvyW6LR4QJE+XMDaFOD96X50Cymib/tpNOL\ngkMupqq6DseIok8mEYADjxCNgaAqVJ+5AA6b++zm8u9+bIPo94k36uHfVcNZ\nO2+YKEjY7HdHkOIW6TsB8QO8CX1iWeTnm8UkDRUnQn3eadx4IzQl0Bvv1XDI\naRCO\r\n=/C5T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"ffc00543701cb66dd0d83798caf295e4052473a8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.5.1-alpha.0","@apollographql/graphql-playground-html":"1.6.19"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.1-alpha.0_1559206975107_0.07104562353940769","host":"s3://npm-registry-packages"}},"2.5.1-alpha.1":{"name":"apollo-server-azure-functions","version":"2.5.1-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.1-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0fc1ad94d7e6bc7b55f0598e8bd2a6f868333f40","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.1-alpha.1.tgz","fileCount":20,"integrity":"sha512-F/a8q7oMUlJp3qXSkZVEf7A8YKrwO1gxW/uzd/YhJd6plz8JZL3YbvkKe0jLWwcnXtFuX8PPXtuAzfwfxDMgow==","signatures":[{"sig":"MEQCIBA6mV3O+rwIpt7xpkc+Wv4bnor6UoO7NJkdbu6SGJmUAiBI9nB6zem4awwZnzLXWKjlYNZaK1WrMZNxOZ1eqcLIyA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc77cUCRA9TVsSAnZWagAADgIP/0wIWBujgOiEnRZQmTDv\nzc6Ctc5xQETDUe31uzbd8OTDGmuNiUROXmRK/TTSyUkAsiyOa7pIpMR41yGG\n7QN9wmXI3wzJREVXjaSG0AJZBny1gtSk0uV+/t3zLyOrlTYTSh6c4KrZGJPR\nLFBOkyS+2gsK3+l1rUZCh1Ley8S0oYe21ufyHPVPLu9zqR43LlIIH7TDYMDI\nZ0vrrJ8DthXnmU9KMMSd0O6wXYUptt2TC/fl+ztu7pqQIo2NmVxAhhhDD/FS\niujL/rtIWYIu1rtaceeB/eEr112W1a4jirfCZTtRpl2NJKs8cUL51BS+GsQG\nrEhsqEctHjx7ulXHvftgxkqXSj9zLVtex5NAbzUzqA0laqZRNePo0N+h3zKp\nhjWMy2rnKTOKJgx1tv4ac0edFCfnKlHSZQXzd0MX2pU2wAulxre+X8keQgPA\nZzPhwqGmJGLAejgNFP2JRbrDOKtYcsNvdS/UI+yNctPkLH9f9EsvU+X+OFwD\nz588ScqAu+kkocYeGwdMEI/scds9WX8F+YG21VtnvATQKbLsPmNhIryqRaEZ\np9PfJGyT2F601o2ZMxa1GoSSCQ2LJk4Zf4PyVgJKHctsV5GTRPsAPQkNdrd/\n1BSoJkx+1A/xwYeHxnk9Qi7e/D4f9Dkv1IpQydMHEK6pvocBXUAhInDG2QuY\nczFc\r\n=iGOU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```sh\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"240e8973a67f6404f46ab1fb8cddf6a0d824b242","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.5.1-alpha.1","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.5.1-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.1-alpha.1_1559213843404_0.03487234822524021","host":"s3://npm-registry-packages"}},"2.5.1":{"name":"apollo-server-azure-functions","version":"2.5.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.5.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"317e878ee46d9c798cb2185c0cb54e860eb8c644","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.5.1.tgz","fileCount":20,"integrity":"sha512-Xd6QHTW0oH6B7DOSpuYWVmYqWXTMs+3YRYGdTX47RdVnQOF/KHTTKqKb/+c2HufYYGG1rW+z9cI9B+SoI8l9tQ==","signatures":[{"sig":"MEUCIQDIQo/6o0jzx2CF04Wn6xuAxELIxYbUKYmy+o74hEjE5wIgH9stqx3eZArScNZcYjVlOetF//ulMWZSlMgXGDWdNBY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35899,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc79gnCRA9TVsSAnZWagAA4pMP/1cMzT6bGTWZxKyg8dhC\nvwM3kHnBFPiFWfxx5qXTEtNM8fA/xnNBatFE0aJrfBEMHzchKndUoCagYqC1\n9WWzD4qdn3lOsi6BT0CLsw40c8zq3uD1XL+GH2qfkiFy+FhJDa1HeRRSbO/w\nUk2lApYFygz0MicW2w8QNhONkB1cznWBLQr/VAB5W3Ebz0sJ2HZmP6tutnnC\nIcsYqzqbH84OnJoUJFSr4rSJciigeeNP5U6TEqAij/YrvEUwQgbR5FCsW4DL\nzLO7IU2aqO9g/VVoKocgigHg81GyTPsneV2tYSOfC3X21yrmIbY+j/oxDQVK\nj8YYPifXT+dyc7EBtFHmybLvKQgZdSxP1B8a12Lhf5J258aWk8lge/aAPahF\ndwMHlv0Rqf07xHDrNHOwfnlfZuA9+kNpNKReBH44Y6Ef9jEOol8lqqfRpf9H\nTMZ7hYsSFQcXKLPnYuLg91z+YNCVvKtrTu4jpwEqoacWkhCnolccyAn+SdeR\nmgh5BH0q1gel4Q1i4SkRusdnzjEjxtq0t61786jCBoQMz10zQ/cXxvijXcIO\nb8Cy3vVwKwCxrv/rPFGaT+DEsIw3zdY+LJODnJ+aXYlaGv0VjU9x1/Nrd/bW\nrYMnm9XAEvntJwoSQPvnDQq0EpANTYfOsnsXRJ+jWELhXe68VP90ShWerALn\nE+bP\r\n=VCI3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"5814f0a9f53cfff131f0b127301866f9242ce196","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.0","apollo-server-core":"2.5.1","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.5.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.5.1_1559222311281_0.018441411565621735","host":"s3://npm-registry-packages"}},"2.6.0-alpha.9":{"name":"apollo-server-azure-functions","version":"2.6.0-alpha.9","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-alpha.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0b6844b42c8e5dd04bd0a67cfb8d947716b1f60c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-alpha.9.tgz","fileCount":20,"integrity":"sha512-NqhSWiyLlv8cyKuu4qeHme3PIX6RGIZ0XNSVfCCfyb3d4y3+LrGsuDqT2mC9T75KZ+3rBMs2VRRw6tUCA/Tenw==","signatures":[{"sig":"MEUCIQDOjVfuSelNWr6ZXpeT2x8+0oM6b2tWf3HJ8zPU/IRMDwIgUhaxJxA5lYXsc9IC6r1rzPZ+1f2PQ2g+VhK1Q/Esei8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8DUpCRA9TVsSAnZWagAAatcP/1E6mSAx1d36jSdB6Hw2\nGGiz0OH934zodP3b84AcRMzbOX0E6Iyg1yWhO5/ROvoyiImWIf3KVtOfe93M\nSKwzu7bYC9ffxdiiZpMN3RT9rhZpGVtbOTd7M4WJ1pwnEUSrBNVhs0X+0Z+B\n7RxuBEJqsX44kiAnGWpeHqsIp41KzElsyyT4ZCbLrxuH524PCIXK7nv4sWeE\n83uzKHlaIgnwjRkQJzCrZlR2zi+HOk+SpJpJXypi6gcg3RrJPNX9GBzPuHA4\n1JQkIxusf4vCNF3Q0s0I86/BJ+VT9TWY2gTatQkCMfbeaWWCsYrxzgxtWHzu\nOo7heTgHMcTfF3pRNlWvpbgY52KSn41RWaxOD20WtPmkGiOZwGLrxQZLv2vM\nvjIcsiMduUDa52Ou372TJspercQ2goVaTwmzRGnatNVUlZIM8qmV/y5JJinS\nmeXZ4j+IEjPNt2X++S/QtOV6Zi9yxQMjPSoYzRE98kZia+nvshxaLqv+AdHz\nUnd4AqYWtRYzF+NorFcn/P7J+ryxDzKtHqv6ICDj+6sfxbJOFgWtuN+AU0eX\nEHjE15iNuw+UeG7f1Nc2DijY9JW1hl+1Zi8UW3TASMc7kFUXOxpyBk7PFBPc\n63OppYjHqvCaroqSqZRfUGB4vGgbI5IerRDPEoRJ48P/s+4TlnfM/BIkgzUZ\nBRKb\r\n=AaI1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"fdcd0d29c14a76bd70931c7bb5961b49a4f84d0e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.1-alpha.0","apollo-server-core":"2.6.0-alpha.9","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-alpha.9"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-alpha.9_1559246120243_0.5891520804060673","host":"s3://npm-registry-packages"}},"2.6.0-rc.0":{"name":"apollo-server-azure-functions","version":"2.6.0-rc.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0-rc.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5072a4e37a17a5b4e19af744f570f1c1b9687103","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0-rc.0.tgz","fileCount":20,"integrity":"sha512-ND0J4Oy6bzSzgDqhkie9/PMziW0hm1RfObo4MJ+K1ikX2lqc1UEXphrn6O9IC2XYOP1U0rTvjSiuEwR3+pqWjQ==","signatures":[{"sig":"MEQCIFzZZ7hg/E2il2OhopT9bKC+aDxkUbFCHqOZzktsrUNCAiADU9irdoha/dxCzUVp+n+FBGI6qpWMAOlUXh9HavCeoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8D1LCRA9TVsSAnZWagAAO1cP/0VhA3mFiQEcaACD8FZ/\nO136jS+b7QWgB1XBCt7RTxzIHip1y8ous9Ay9T7zzpZ2oCA5vSnv43om0YkP\nxbgw9znqkg3NKrZNfJ6wUr0831/lwQ5lTc+yrLcz7a7aB7VKP4hXx1dhsd7s\nejhKdj0S6mwBy1f+FMmuaDXWwMbxXb9d9Qhbi0+SM1p610BFvy0xOp2YIdtQ\nCOdIOGi1b8bweeQwVDU+VUw7bL2TXDoDNmFR6hNmzgwd2I+DPBsfE/0WH4b5\n1zulBi8t4nmUiMGKuym7kat2Ql2ernq7bYMvCg45erSTYC4/HNA9s8ofFz2C\nrOMHLohi5jEgLGLq3VCoHl2RcBYRiABMI/+F27egVLqtXm8vU22P2FEO6VNZ\neSuddN1Xhimf4vw0Y1ZyhFzwbEUaYlkAPBVYzWZ9OPBgQvkxZQD6oIJBX1Ns\n3liNESYrRH6M9AAoqOXc46KrVQsKbfYyQcv9BcLi3it/teGbfpp3zBNJ+mBz\nD431Sp4xpK7kBX9DUy2g3dgZLXZ0nfeVWUnCmKgD+kLODHBFrBXZOwNaiDPN\nWRh5gFjJnaqTZABwC/SyRNHcAu1vUQOrW88bfAFWatLLttKP4NUGYhacD1XQ\nrEgwRunGUYMGdkdfet9AT9byb/Wattgq2tl9/rA3EjDEJmhOBAqODv3X7jnW\nl6W9\r\n=piU/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"cfdac5365781a2459b3daea5dcc6769990cbd666","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.3.1-alpha.0","apollo-server-core":"2.6.0-rc.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.0-rc.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0-rc.0_1559248203507_0.9258937259874203","host":"s3://npm-registry-packages"}},"2.6.0":{"name":"apollo-server-azure-functions","version":"2.6.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1b735178ffa48b6a24864756de468af349dbc123","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.0.tgz","fileCount":20,"integrity":"sha512-aaN6sB+sk4SzPVRhvs5vmozUnlZqub8Ik5+PcyMNt7fbayaDi9fNy7wUb7tZrCM0mJf/gDSlU8jVtinqFRy9Vg==","signatures":[{"sig":"MEUCIBdnj6rYro6Do1r21J50BeXpsavvTL0RyScj69IOhvXQAiEA21B3q13dyB5lsm8zpjWpjzv/sQcv7+ROpcJizqntiQU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8WtqCRA9TVsSAnZWagAAwD0QAIFge7nD+25y2YCXdJ5t\n9d7hcAOZFVagROZlRWOxU2BoWsXz0tAiXG4OK00wl30f4dajn8Kf/ZkE6Gjk\nXCcsf5exkzbvWEQasepB+8xghSaYIjzq3y50PerEh+NzAgYZu2jZg3Rvkx/f\n+vyBlr+EDHzMaw4Sx3Fa4sVd/JDy/lzpFKgUet6ihGIrKEnv4PV0f85DQCsM\njFxAQCmLzWz/K1JyzcVhfdfDAQBMQmwWFYLi6ByROGzM1AYoD1oXkN06leIt\nggckr9pujpk+LQkSs4GFr95vwJRvMp9rdewpjCMpc8SbwiOjjQjm6GlYJ5a+\n/HCOyDjRA55tbfvNx9sXcdfIoTBr3SLHZIK2nvaygazE4XMoB9CmPyezJrkj\n7KgfIqMC0CPv06II4BYHrN6yhqxhm+x0YUdELWNVySb3J6jMEvFV2NZIVYLS\n+wHBdpITVexhJvWhy9gynHfTm/JaSQxIEl9xNCes/3rZ01SY0fDLFoFgWoGZ\nAFQWmn5U4AxAh60uPaVls8FaTxYFJXgQ3CWMNUmH01k8E3snISBQxz3qffpj\nHuJYjlkeD78M2+w54Qxn8tRddYo7iPaqJ3VFHRpdM5qYKZVySxY4eZ14l7D4\nZcLFAbtDQDg1vdqLfwu3qNEr1v3YX5OiNOwWOhi/RJ4IgECe3HlqmiugMFRd\nXPyB\r\n=CLC+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"dcab64689dec2d00a9c6d302c7c05c5ab847e855","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.0_1559325545931_0.25045668639965935","host":"s3://npm-registry-packages"}},"2.6.1-alpha.0":{"name":"apollo-server-azure-functions","version":"2.6.1-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"45bd0530c8392910a45853b025155329e785cdde","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.1-alpha.0.tgz","fileCount":20,"integrity":"sha512-qsmwrzHB8oPCHzZvgfvarFrmSxJn2ZlrbVXVt5H0KIeiEMckaI+9eHhuYZBR30N//97WS6GTc5qNA3CWHVnN1Q==","signatures":[{"sig":"MEUCIQCWdil6874XnY1mcLYg9NPslvhoREWKltuasc/KJmafOAIgI7F1KMkbgIeZcdkvW46hl/lyftip3jLks5sAlWyTU30=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8Z+nCRA9TVsSAnZWagAAmp0QAIyBNBjYvAA5mih8B4ep\nr67gmjJp3IMX8MJsKhXGXNhiuFANDvNSN8HIZjt4119D4l6rVeRKEjavQpg0\nH4/cLZSm+OqO2vA61d359Y4Hko74/RaiY149a/aKSCvbVB1ZrjvJUY8YbrJL\nv9UCWZ+cGN4FkA8KnIcFj/2n6DQe0l+xeRKcKCjIdLhGugr0CjUuC5PaQVnz\nYWpOoNg+GlIqsCnFjkQhazVI4wubxcVd7II4JopcqnIW2ERNZSQ3zU+rxtdH\nOt7ZvOFeMNmgA4x99YXRSL43l5CP21El/x+EAAkj/Yx2jbFQTG5LckZC3zDj\nH35OP2CWiuoiUtsrxeo2yvtJTr0NuwzXDevAQj+9xA7mh+2A9fcS+kziv2t7\n5pCaHMusj70+xUw1qXKOUFbm+TQNWu5NRPGuZ/k+quMNtwKtUGmtBbnRrdfN\n4wtjB1qUxA8Oc9uxQfqL0Nnn0RS9a7xMyNgsEtIrU9b5OM2Vgu2Me06ffmT3\n0X6mOu2LSsjXivVmlqWlsYzvF1biXyRNNR12FvjlTf+tAqAvk5s3udbLPrEa\nd9jHwqmPfb7gxZGHJAk5xoX1cFLplLkq7N1FA4R8XavkiJif8/TCy76aHSu6\nyUDR4IL8RyzMulsS3kg6pHDyiev4wQBGl9xHOh/DGHYG3vqgW/L4xaB9+DDl\nYyQ8\r\n=HaI7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"acaac3c64a050eac02848cffc32feb514825b672","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.1-alpha.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.1-alpha.0_1559338919030_0.9530436724351117","host":"s3://npm-registry-packages"}},"2.6.1":{"name":"apollo-server-azure-functions","version":"2.6.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"34a05dfbc84e5b630621d76be10e554e43cfde54","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.1.tgz","fileCount":20,"integrity":"sha512-/iMeMSya+HgbfDat4vr7YfLM7+rmnIw/2lVyty3YYBTYx+cUAAHnPMcJgEH01UnnDtfEvDRjpYNGMB7ex7iU0Q==","signatures":[{"sig":"MEUCIAQGhYiok8oEBGFyUPz5RnOajocLldNx2ZB0lHn9CjYMAiEAwI1BIWmIBuZDO4yxbeEZsJ9RLzkMTHPZH+kVz8wToYM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8aSOCRA9TVsSAnZWagAA1kYP/1ySp5wReOibtvYMMlU2\nhKlAkYMuUvXfJdGA/ds2Nx22qkVq+dCezdhEilSOcCt4XkVv0fTMhtb7llNC\nzXCQdqM26snyq4Z2VPBlOqnXjxshj6Qui6M5UgSiHmLqdfTC2Fi2tNrBdcWw\nPqtPIoKm5DPExSSuhj/vhvC9lTyH+2A67R2KP5D8kYcLBcMCbnkEYG1RkTWW\n/+CfEBgUCAH1s59IGgOdZIgJPpAdDO+fT6h8pm9fQ/bXDEM4A3ZUBkMT0oUM\neOcZ7I79CHl12+CsjzKfR2SBZUPMdo+jtssOhAWKCbdHfX3apH4mBZ6mrZtm\n7zNmiTBBlvl79VQqYdkg6H32h+lHaJPhuvhYf6035S2Jo7F6TKXVVIgcpBUP\n2pRoU0TD3BG8DEvnoH5bVckkOzMuE5Wx32f2DrgJvkGkGrSA2QR16mpQCQKH\nlRm2hFu+TrXYb9KSArVex5r3KMTroJDYaui46a7C/4imclZYiDPg7TinsyR4\nvXzybWsK/oi/qPNxDXQYCgM1pnGqd/27kuQjNnz8xCcmNTKNVsnpAQ8s8BC4\nw4R7CQvJRWx19ydCO/QV3wriFlQO1jE5MVaxAZeYIqeScHWtRd+vNfFNqRiq\nUaEugTFJUUeE2cuxoz6jaAAix8bHPdVerzDBYVLIQQ4ID/p5tA3a5mVShA7/\nTDZ1\r\n=azDj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"77b044169d61dd50f8426a1ba87710cf38fefd36","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.1","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.1_1559340173763_0.9201896225840749","host":"s3://npm-registry-packages"}},"2.6.2-alpha.0":{"name":"apollo-server-azure-functions","version":"2.6.2-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.2-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"dd8aa52191e66480ffa3adfcefd0b4dcb00ab422","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.2-alpha.0.tgz","fileCount":20,"integrity":"sha512-tdS3uH4Y8BQ5DijHwsUP7/fcXdZTJVlp1arOjAp+t6rDagmjwJRIlj3q0GdzbuVFgaZcyeJb7dI94wdJ0JQG/Q==","signatures":[{"sig":"MEUCIG8eU2qT0ZOwuFfj82oli/i5cXPK7pIc0KSd1HFxLGFIAiEAh22APIkTVKtGMeJFqFG5fUWVAOGxQKEpIUm+rhGRl/g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+TDeCRA9TVsSAnZWagAAX5MP/iwehdoqrp5vxvPvlUjL\nR0SR8tgreQ5CDs/jFwq1j9sckumFuvwUa5SHLjmj+lakKsZUBBRZ6F1MAxDi\nmf268TNwKO1ChPSqCQ6Bt1MTbrjrKOP5Qw/aO2UKISvqKoSVOrDuu8UKF769\nvtEQBF0/CisBGjpwZZIeHdC6sTzuhcfyNcyI0+ylfmJ1cwNode6qiu7mQIYC\nFWRvNFZas6mXv4j+ogWLFsGZ15+u2t9p2YJ1mXc/BsjVnE7FQCkKUwlEOyyO\nZSZvA1gOjAyO08Hr7RXHGRHUFR25L0AYV2ExR+vwSmeqTHmZqdOymmuzMVCu\n90iFNz+1JzTEPWuvC4aj8c8mf+2aYiQRaXFzQcZICSKRpiq3pTHHaN6b8X2N\nPNVTsUO0Kd1H4RpDGBt4XklBj+4dgMUvxhApEWTrxNPsd2rNP4ZwY0k+14nm\nzmhOkiZCu2UuuCy0ZjYj0stHYhxRBDQOzqfwbPghclcMn1xo3DNSAjiwzyPa\ngRwkhHrD3AL22P25NDcDsaEtAhTtMtRK67Pf1NaBqlG+anJ0RRJty1ENvhh4\nz9D9RrhhWDopNAxkjOefUeWZwTZEjnC906IQj6qsWr1Ak45TxnZRr6Cr1uMd\n8Zhyi5KqpZU0HsejQHORMUomIqlbbCXQJnWruyTuoTpS5J/FxabI8+t9TU8e\nv2eq\r\n=t6S5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"d7d9180a88f22b7259742fa4f14cadcf34c557cd","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.14.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.2-alpha.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.2-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.2-alpha.0_1559834845733_0.3491379871161968","host":"s3://npm-registry-packages"}},"2.6.2":{"name":"apollo-server-azure-functions","version":"2.6.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"89a28412df623b3f57a17ce7b438c0a54173a2b4","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.2.tgz","fileCount":20,"integrity":"sha512-xF+jTG5jsZEwOPp+IUC4xeCuWrKla/IIZ/ACecnEULFcyQy7gAQFWNoEMh037BNLuzl1VE2L0Ozy7H8k93vhJw==","signatures":[{"sig":"MEYCIQDj0OX1oHpJx90vz7iw+YLOQDF668YuYuXOtIiaum5eQgIhAOekLTzuh7025SIJQj1okYshiTqpfE7wwqkdvM0h6EVP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+W4lCRA9TVsSAnZWagAAGcYP/2yBvgBqjIlleYL78CvT\noNrNSkf2Hbu1fWqshhbFP3UMlTGL4RNyhhiG2itXzQq4m9v+fn/CZzInsmPX\nwUI1ty+uvb5iA3nNSrUqy6TnMU3rIohNz7BUiT5Y8eQi9rHPqE2iv4DXuHln\n87X7JBO96wjrgIJJ0fnnG3QH/MHHW8P+kaKnqzIW/PGqbri1eyFueafrilXE\nmoJ8dj0HjG6tjrIX5wop96yNtZHJzUsrCyqTBTuS7gFV26zZn60bPQVx+HOh\nOh6xITvlmOvFtj87wth77g5olQZNQypM9mEunGiYzoXHNdekb45Hqq5ao680\niu1ubGiA/xNF7XULUoDfmbg8BARLB9DMOFjwXvUaVyIZHMi1mTy9WUzm42wK\nvGOoZu/G6lVTJ+U3ux/zaSKTYnqEdAALryhyhW4OmhgKqEwcMWnWvAleJh/g\nmekAhSMUeY2zzfl8LboGBgWO11scU0EV8uKHoUDf9pOOXfRzgZbYWtd9F8a6\njXuKiEKhn7svqQvE6x05KOYY2EwRdREizS9J758xZdBU3OXInMquaiERr1U6\nSjlginVW8WkRaDzUwEhe8sjyG/EuHtLOR3p0ohry88L0UlGuJZqLiEz8oRmu\nKqy3HDpyjKvpr6Su7HwkGW03YGs/4FxWFa/6+lN7NxKuTklji8gVG3YCL4g9\nUcN4\r\n=44lu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"4fdf6f2aa2f14854b54b0d6de7d477afc7702916","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.14.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.2","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.2_1559850532603_0.6266087505723417","host":"s3://npm-registry-packages"}},"2.6.3":{"name":"apollo-server-azure-functions","version":"2.6.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"04310e58e63febb234410a51ee645ccbb31b1278","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.3.tgz","fileCount":19,"integrity":"sha512-nLFKJdo5FEZO952fvqNZtXMaXGxb6/RmuBfMosChaQexRDSpqTZ+MSjPNWiU44K1VCmJ2jEpoMtoJG0TnS0yqg==","signatures":[{"sig":"MEUCIHcWvjxgTovduSN6L6rz2013ogwxcAo0O0dWBIlUTpddAiEAqR2R0CVcQpRJzFcCIuTe7ADjGjrCZAmrDooOl4insgc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAJccCRA9TVsSAnZWagAAmn0P/0EUQPt2VzjaiMv3F1+2\nLh1fYCeHCXxZ2VReMmr+wgVyGPGd5SHu9BO8O+xapnPZ93Z0BiIXbSXuOlHS\nY643rAARfT+yqDmm17gDJbWgPnETqAXYrFB4bSp1IFkK0Ebr5kOEkZ2YFrS7\nyhxIyYMVX/1ARCTVRuFdXs8oJI40nwIFGqIWRhYoQRn8c5S2hHBEV+3En4rw\nESk4ujh6tzBPxvEew/vvqnrBu9VfGRbMhWYsK5GJeEMBOS0m7hcR8h4xjyGk\nXPef/yj9kPsPzWSozVFXtDITDs6W5LsZcCpw7kVuB/vG2SBNnUqyTUJjFsy6\nLf3SuulfhwyVtKvVj5YbiR+WYgJbhckilzhLKrbAqQx7cbqgmL7ffwmlK1tO\ndZM8K6n/mUEeR6DFqZitNTbuISUOlOeUVZ6suMO9P6W17QEKtz0S4cRS+TkB\nYe9EEoCmVXXVRrsFyEX2MdEoyLzsBE+Xz/H7YMKMOcN6PMvhCdMBce+hGtws\ndjxwJUE+NtwkKqyvO0p4YYU0vUuY5Am0nLV/Xo+sB+u/t8dfa5e3lNiUATTT\n1RawvnxMdDv4Myj/r1/XkvUFu0BDfJb/VT7KO97fF2ObVAmbuC9sOu3GKAjs\nWyf+e/wE7zUZfeBT82w8BZs1mSCh724Mh3Rj6ebcTXzncT+2THZ6APku2eBP\ntqPv\r\n=2ZfS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","_from":"file:apollo-server-azure-functions-2.6.3.tgz","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"9af8063d7c2fdd56dad5144604aef78781ed5727","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"_resolved":"","_integrity":"","deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"6.4.1","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.14.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.3","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.3_1560319771479_0.5455333608917232","host":"s3://npm-registry-packages"}},"2.6.4":{"name":"apollo-server-azure-functions","version":"2.6.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c05a458f9165950734cb42906f0dba89993da4f4","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.4.tgz","fileCount":20,"integrity":"sha512-QNc4gsjZKgcy9sa8jRQ4NCyQxM53oym6muq/Mi5e/N+EUakAuTFRmssLbKtrWrz+MfLA+PisVqvvpjNscLEyjA==","signatures":[{"sig":"MEUCIFSTAbjA3BQ7z5p2n/qcQc4vs+4Mz3ZMROpEIVo9WXtLAiEAqt0cFpzVl0Ed2l+7+lIFvthVEGTGKK0tNGRf022VFho=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC/GcCRA9TVsSAnZWagAANPoP/393cHHHDXtfsjtAMZu2\nE6bPFdWbZXOjG+hp9Nx3l6IBbpVCKMwTfj7lwoLatR7K/8QmgCoKGDpR6kvz\nOhNCiMGEkeFc/PNOkP92h9qw2OT2f+ZDncCIyUU3ODgo7dQgyuP1DxjhBou+\nnsSCqPwYKQGR0+/DJTFwARfg69ANfrPvUjNdq/ZAxXf0nLzxDbq8cAH+vHvE\n/rHRPxWi+uTalT56VPMJZWwFSuOXcwCYuivH/AwRclLQYJwRBg30aH5crgYZ\nqbWO3e8fHOhaMZ5GAvAvMjBJTJ4vgvkHUysTkZ3Cw+kCzbf8Xu+kRie8xfx7\n9lIf+Vp933IxlOi9HpIDi10m/YPk1BzQZvbIFkZ5vYmYQ2m+M+aucMoug0mc\nwZjijwrqLO9QZA3aJkR+TqONCBQN5PXt7pufdJY/7O9XRElQQ3GkDnxKU+67\nWwIEDCQIwmLoyLjX6E47Tzj9ZmdiOeyLlVwLSAmQi1mmRleoFREio0Kth560\nak5xT84DMGKCFigNKYLARn9xZ7hrf/jm8RRXQK+6rHcPm9u/gC0thYRN3Isc\n6wTcA+8zRfnaYrtyQjW2NT/Me/vIsqL3wrV3MfFBsoLOrf9K4nEUHo/FQmF1\nyj/uF5iUYXeTy/v2tk8E9DBbEpcf5xdVeNaJ8i/lWTRxkO7PBt03rRO7SEhp\nHGbh\r\n=+KPH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"e6929134939c653fc817ed2b8172b4ee42406bcc","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.14.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.4","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.4_1561063835498_0.23340959875325318","host":"s3://npm-registry-packages"}},"2.6.5-alpha.0":{"name":"apollo-server-azure-functions","version":"2.6.5-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.5-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1174763100480389efbecbb38e4704420aaf2cd7","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.5-alpha.0.tgz","fileCount":20,"integrity":"sha512-EnZYtF/7cyhgCP8v8+iDxe60YK6AJ8Pp8G37LzCmtJrhct/rsLzUmWZIIxk1EULgHSL5xqBPqQcX//Mc+l3/Ig==","signatures":[{"sig":"MEUCIQDLq+DnLWYCmD1aMgoxxZSEQ+mNljb3eZWmPfEkbqNXgwIgLOEaPBu1s64j1qB8S3PrmTf1e5kdDRVY3gnA5xxC0Qg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDQsFCRA9TVsSAnZWagAAoXgQAKIs1go6l7KONuFIRtnI\nFGo3CsiDWbKi2w6DglSRbSdfkCUwmNvW5jLIcY14Vnlhr38TDGCBzr78yHeN\nnIvF1idIkcYt8Ln+rjjzhDtLEo1s9BefWTmO9KJZtiTX/HwUnVK3ShXLeQAF\nIvX/4myEgea043vrfB6bl6jnWWuycN/Um6qgoAiSZZZAS9niyv2cYBOR8VoM\nMAViXEscxwzjoCN4YqNvnoXVNC0BOlxhN+3OIkyVad3RBmFK9HpdfXCC2FNo\nFv4CGXk1dEdcg8WuNJY8dyePECLQ9H2fC0olBolZJSvhKsEQJE4GQ1hdqST7\nTtIJ9tDRiAgu8DGiiJQyEhiPdHtJWxyxY2QW/BuZgnUHjyAB2zKtgnxiURd6\n7eBkfFgy3Lk+Bhww3BwThKWGbw7iS5PE4EfDUh8BaHpCzknSWXsQn4vbgv9v\ndJZmZaz2MTiur1zD6mNYtdjBwfxpSzfSXYOZphTd4xcEyDJqhWbbFdOm4k3A\nseDDDjPEBzChZPr9rVV0MGvwvr/64R00u622cBqoFFfOFnoTsgRpO/ZiWt9n\n4KJtuuzGyMSyCVgDrNTagpYJ7+xuAwEnl+CRh+nETExK0jvXgnV06XgKgSbT\nSdASW8uHQB/3TgXiSYPUyIL1tdWQrov+OBXCRMUn6wYfUibY9ieJjxWoVwqc\n7Z/6\r\n=bvLR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"ec329472a9c779331132a0ec4ebec9ab9709ff8d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"11.14.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.5-alpha.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.5-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.5-alpha.0_1561135876733_0.36411411810233374","host":"s3://npm-registry-packages"}},"2.6.5":{"name":"apollo-server-azure-functions","version":"2.6.5","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9748186e3047a8e23fb26e8f88dc27ba9a5545a4","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.5.tgz","fileCount":20,"integrity":"sha512-ul32L6XYRkkoWl7QQXRRaZB3rtugZyFRAKJm/7VRMrIdr3vh8WFt9vO0B7xqT3u9FdeLOcNqB48gl8fuvClweQ==","signatures":[{"sig":"MEUCICHdkmUHZvdpsf8aY3JBPXxc9u+7dii9IFd72j8gC+d2AiEAouGTXk8IaIHr2yvfEcFqzH3RVQHrWiuYcFQccirtRHI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEkneCRA9TVsSAnZWagAAzQgP/3YasETH1Jeukli9cL7Q\npgzh/oe0yZi4aH+uG9/4DNw5NHYSMw1zmAR06bWFPy2Y7uXM0Kyuo0lbChxT\nJHD/DwIr5BKe9RhFFqqPJrPNp+I5ALFgcUxFPyeXkNTZ/A154LWjfq1NOY2b\nvPurgTFn9ZAyVnfnRnuUSH2v8aWgjKLMN/QDGviXQrAaiz6FbjHoRX+ORIEg\nTEmi9uA7FiRjhm+bxltGxde05xtK2I6Eh2oiyzrzh3KtKPkx2yTqaTA1ucwz\nVq+0XbQll/Z+LTIQgGU3BA0PSwO8izsyL2MiwH4GqzSIG78hCx4IHRL53H8N\n2zl/BxHGKkjfAYWZUtoRYkN70Eoa/ybJqw+IPjQrudTRrgTghv/xV4eTUmOz\nBJp6bOrmKLORQReHmeNoF2CSWgZ096APXNDfoT3mLT9pjZ6ufSZ8HiYhXaK1\n/FN/Zy2EaLOZAcDF2H8uVJqck0iyBJ6+chkvSXYaKaAZUxaDS0i/12AUbXpS\nNGEtQuEVDvxxNIp2jErl6SDKlXkCRhLDeYm1xrYhfCB50sTeze3RowZBnKON\naqtxAZcJIL0e36iNKx/u1P2QqrvgQBHveYJicX+ms2Ywb9mN1cYIDf2R5FX0\nYLFr/JfpJoh6cY77b+2NenoNCEEw6BcVxNgi0CbHrIWA/sJRHJn45eri1exp\neY1W\r\n=QMqp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"a2b2a0d8f013826d08433129a69834035e04f1d5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.5","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.5_1561479645700_0.6311744855847514","host":"s3://npm-registry-packages"}},"2.6.6":{"name":"apollo-server-azure-functions","version":"2.6.6","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a41203b8d78a7ea70bd559f559509bf7c3f2af2b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.6.tgz","fileCount":20,"integrity":"sha512-AdUUgAziHRMQdGnnWxteXvTVw1NyCg39RUtyImDCur73OGXl1nnJ0YI6Ul7s2OB74e1q25Lv9rLAqEpzI236XA==","signatures":[{"sig":"MEQCIGsKEJ7uRHEYUh/Q8PGfZkLq39iFZRFrNTvDhBSBssoIAiAVqJAkRWmPR129tKUCEXU7MCRSaeY9g2BZrIh2Oe2u8A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEmOzCRA9TVsSAnZWagAA7A8P/RfwRcFQWj2lDU61Jdln\nOPpCWFBQeCILb9MuRvI7p/tS/Gp3qZcFks9it6kFWtWrbdcrLcRumQ4pVNlX\n0bPSbsRqVf1wFneptexPPidydwDTHWshClMOuSVuRwevTbbuqqxr63WggtDG\nDewVftJ6WTcYcThKZbwjDetOG7h6IJqdGzHtIvdHsFwdUVml3hLIbIfkDKEM\ncikTmmzJsAiFU7m8HScdSLyLNHOK+3EX+GGoQI4APT89X4bpscZ0TQsp4Buh\nFy0p+3XaXaSM3pzuBR/CXFilRcthOSCnfEen9ikaqrek9/KCWphhWh1AWvWI\nDa2hpjqaf030AAoyQPhfVkkW5L9EMKTlb+9jUjep0oKDFhw3NXAnGVtwM5DG\nZr2l+CYAX+s0zLjwSZMx7844Unuv6KJx+ydSOrYQJiHUi9pXaU1lH/fVomT2\nvT/OVfZTKNWRuzOl/aW99H9bDij7YuXsL2y71IODvpYAdrytxngC8DmTvcOz\nq0ZSTHol5VGBxsgzpTDjxUS4+kaWNoHoC0olJ/GAN6Pkq6VeSLHOL7n+UW6I\ni70NhHfRIL7u6brKiVQ3ok9ihESWoBFb96Ds14OJAzmj3B8wDNHU17F7wIe6\nPeb1jSJIENJ2JxVQdVF3cTvd3Moye0+Q+Ap3ujttDUx5NFCEc91Z3qUZjidU\n31Dk\r\n=HjGH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"26db63cbd5adf54b07a5b67c0e0fbff8e61c79aa","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.6","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.6_1561486258689_0.42667606767404687","host":"s3://npm-registry-packages"}},"2.6.7-alpha.0":{"name":"apollo-server-azure-functions","version":"2.6.7-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.7-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"224df039de8771ff1937591330f8acaaf747630f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.7-alpha.0.tgz","fileCount":20,"integrity":"sha512-UsbwuaAQcfcHjwwHe9BrQ5DIOA9wGXDoScNZNUjLkC3dcm3CjAp2cPm8MWa7XjpPIpW48ipGMsAkF+QPdtPReQ==","signatures":[{"sig":"MEYCIQD9ZKXLNKeUfS4DDfohc5ta96Nrr+q+8JXsLa+KdKnbCAIhALi5R7lZSTfJK88dMHURYA7mXidVlm5Dv/SrH07127EC","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEptoCRA9TVsSAnZWagAALEsP/3znJQQZ0c/YfVdD7Pbe\nzPGHa54tCfjGq/FOiwZDQ6g9A78t7Al692nk58bdR9XUUscS172rzqDxj5LU\ncVvG2+zQXdYOW2R+qZlQN35MbMa4V6JJPlapdxuf+7fUzBC431WX/jUygt7z\nkpF3bqkjbLSrw4T6H/bWl6scwwnqPWSNi3hBKo0Y95nLnVWoUwfsdDB+IqNf\nVgEH/gzFlZVx4DyV7awgfSNXxib9snEacDFepq4s/H+ht6GDnvaJdaIsjqNs\npGon83Xn8Y3/f9P0WDck4KElu6wa1CSK0B0J0ngNXEQ7JtK12aiTMINnFUIP\nx2ZLSGRH+nPyqp5xpPa6+jQbuAqj1EziC3V6yxu6ex6pYIZjjeqj2wfPacXs\nvDTM8nsof+YLwksuNo+gFnQUUoI10QULDGnCjQGFlZ/8emXgJA3TWdShCCTj\nDLIqRH/kTnhRSDPT8KEjz2O63/r7ObGAbK6DeycbVOVOdwsSzS4m3da2Ocru\n3jr7WgEOo0aIdLxOPnNP/64aWAvoS5EE/rmUCy3zfGIkPLAyA0at9lKEERyq\njLYgQUWW+RheERUHMRkpuzH8QaZkkvlZyf6sWg4LMAu+KK1n/DCo4FFb95s9\npLN2NuDzQzmqQAJt1s9Nzqdbq6UR02q+EcLw/At82bkQ4vIJbtS6qhxOsMrs\nhug9\r\n=cLyk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"ec185a874c2f07b3724db62a3ec8560cfe3850af","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"11.14.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.1-alpha.0","apollo-server-core":"2.6.7-alpha.1","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.6.7-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.7-alpha.0_1561500520274_0.7342139399887326","host":"s3://npm-registry-packages"}},"2.6.7":{"name":"apollo-server-azure-functions","version":"2.6.7","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4cadb5a501e1a38f18d2052892ff2856c4c87b51","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.7.tgz","fileCount":20,"integrity":"sha512-FRgmcy2VD4wHxm3Yo2iwdoZ2uE54MyIcDFXuPtHYWcy4iRbtxn5NZEm6wkMeDrf8z6QHQX3CLd0P2UwZrhIXyg==","signatures":[{"sig":"MEQCIElNzQ6jMYDg4o9ts7lVJvcmMxQqpg7csivXYfIc4pFKAiBPHL589HWRXTfBu3SJif/7NJwrYHDjS90art4qG17aqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdE1w/CRA9TVsSAnZWagAA97kP/jv37bBMbwir732sZmVL\n8nyNGRSAm1OOxjOJQEIhZ50pfx8cJ4C9tnyReUR2h3IIBwvpG6bSvblqcS1e\nEiQsEYdXgNyirjRp7TV9EvHt8ZFnktOMoN8Ahe5OuIUOb1OPvn6Je7YFozUt\nVT3/Y7/JB7Fu2eY3NVBhF3u4dF9M1gsqTNjTq2nkyfVCPLYdI52LxjBa8V82\nnyyEM98GFmGGReueJI2lO20OjKUEE+1RrQyWBT61HzXnDrCi6LSwgSHZMYZ9\nbhulX6Ju/KAI2/m4Ln6N7aS2/p8FnZwotEJ1sWwqvUhDSXrQh66nMRGuccds\ne28YalRJYiGcDFRjnaNnmeyKkLKjPdG4WsQFKzA7hS92dJyx7piy8hGT/vxD\nd+WqJbmx/B/g27HI7gGSU2mQVpmSWvCia1B+PqRBGlheWn0dngVDTlRvXxD3\nUKwN8pe184OMrvtn/opa76soe8/yoKq5QpxtklPa5Dv2hPioiaAIqHoyeOfw\n9tPqLJkIHh994lo7nst6vXHyR5dxTKBeCYXB/ViCb6TjuGfGaw6bDVYAHp8U\noOVB5tZRQ+TWi+KgomTfst6D5gEukbsBKSzfxb5b4Q6Pna9ANZJAE0q/4+xh\nw5rCC9axzXkB1FJpoaywWpju3hpyItM5Qx8A9NRWi3bAUYCdii3PwtPfOiBT\nM2Ad\r\n=odW6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"183de5f112324def375a45c239955e1bf1608fae","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.7","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.7_1561549886387_0.6291054569011818","host":"s3://npm-registry-packages"}},"2.7.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9d110eb7a422b39a6af3f21366b46a2e894006be","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-2RRcoU7IJYy1gD6jG/TtAxwK02h28Yi7dQCLKID02qE9QmjP90ax+aYM4y2fSgOQuQ4w/r/UNBC8Rs2qXhsT0w==","signatures":[{"sig":"MEQCIFYakxWjLgmMt89tpqx++zANeORvI8QHgIp6TiV5K0nsAiAr67E0Zzp9BvBlHhgWq8XDNgMdaec53aZtLL1ZlRw+lA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFSC3CRA9TVsSAnZWagAAG5kP/3lTSMJs7l9BBlOX0rOq\n/We0hjAotn8kOyUPMEEDG9rGBul9ID2mpME4KNjFZXA/kVMknjH794R3B2e8\nMttoKHektTI8rirTwYCYPK2jZM2TNovMGpB4/1uDpBHLb7lx5ul04Vzu0iak\n+FFv75LlP8ubgSthD4+OZjYcnlKu80FuDqNxfNM+mTVvAHyhW5LC41gRlLCv\nZu9FdMZ2MWit/tyB9Yu90rgCss5q5Vv/ESDUj2NDHs/QPak5M6VVdAgUcRt0\nch1IQ6jLcgC58OeqsViaOX3mG3lx2aFznvVaj0lwZrzOhyNQug7eIe2HOBoc\nzviCHD/eSqaWeW+WrqkeBnwACUSRaSRC74XYHrHTTWOzhAhVMG0y9I6p6yvb\nly5qA9Z3ZFWLRKiIfPJmV9vTFqd4nplntdIGRakH1Cz8iVZHjDo0T5Ogqvxu\n0kWwiUgIjZkKzOiuedjcO9xHij77aoZ37+jC8gjS5nkLsA/ejSAwWoCAELl5\n0rdAzuZpURYoImJKmeeQEkWymAmHWQEk+mULi8rKkoVW/+/HR8sqb1XxoBWs\ncuTCGP08xQZcZExFLAJyBwBicLK9lt0D74vdF6A4LQliaEcbvIX/niWOZ8wk\nhctC5nSg5XaqdYKtR45jGKBfIU3LXZVOj2a5vGN/Jd9IusVh2n7BFYPXnS8A\nG9dA\r\n=T6ld\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"5ec74e31d5a6ca6ab4c3e1df6fa0f178f8610293","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.0","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.0_1561665718556_0.9907647440614222","host":"s3://npm-registry-packages"}},"2.7.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7d8340ef491b62dc3face535d8860dc7467df728","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-kvFI0q3hs0f9Rkn7v5DU0lsvrc1CUbZXrVZWMFb0mW/IE8LzxVI9eGjKxEHuab55dITyUrcszY7rWpNxhQMyvw==","signatures":[{"sig":"MEUCIFebzbWMr2g5YzEc0H5iOUJXHl/QRTJ9Fa+HAAVYcAbGAiEApV+UiWwm/5locwv0gMeV1DqSVhJdFfR/77lzdn03Bo8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFS6TCRA9TVsSAnZWagAAJAIP/3uk9M1FcEdaN26jwykn\nwNvA1KCbYIu3AmRiT2S8dPkZQh1qP5k2+f2hR6MuTcSJxGTTybPjRTj9r+cL\nJ71QBLlAfXsNgR7JETaUXHooqcZ8J1rzyiehb+Bvsagc0rC156N32Ursd6o8\nVYb94U8aUMzal6HYIleXa5vD3GQMDAgDs/77nQFwyv5Twb0ZmaCsxkUe/4Q5\n8InGBSa0+dQCIZJN+W+hq8Ls0lAiy7qMV0VXkcxnOHe9ostWK0nLb6A8KTmx\nQmfTH4wGL2G5w0Qo2zJWU3DmA+S0jYp2QUSTqpK/1qjZkmLAqyAnTvgjk8Lb\n7DfOr5o3elq5ERlIDpAE/qDDGwFhHmm0vJSKupmiB03e6JsrOdrm9CadKkn+\ne+FqgQEJTIW53sKn0S3t6zg7hFsIzcSqGDQZTYh5IKD20K/p0nvjy27L2HtK\nRiWu4py8Q3t66PQCYckQBs3pktCYbdhSiED0KGHWWhD/3zh/xxENpZ85l6SV\nY9m/cnsMQNaSPrNoBQ322r0RFZ0MgGiRaFRub27pDIisQrxZS4JkbKuJ4Kpd\ny6u67kZQT8aSDWxKqMjTCMyUytvrxxQlMZ8I0FR8eiDqVXpod4R2nblj6cxM\n1/dlogYONAW1z+BtV/fu0NjaMKq8xz0UgdbpI3u5Bu0/1RnV9nCZMe/WYUUz\n2y63\r\n=8OXo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"c1749d75c3737accdfcb69f58bc0f1a51f59e02e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.1","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.1_1561669266380_0.40307931464149394","host":"s3://npm-registry-packages"}},"2.7.0-alpha.2":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7f5c180d3254a21afe7e2c00d5f89efe83d8f1b7","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-UZ6aMNUIPpkou4iL1bKgr0pPTS1bG6SMSkSmGLazYt2lMxN4cngqJZWiJN7SvTih+tk1EuR7numwyBq+LYnmgQ==","signatures":[{"sig":"MEUCIQCI2vq0y3LPyJ4Kahh9PtgtOqWjPWbFEkJkIXwhSrFdlQIgAUfXtkk518U9dd0vdjLbrxqAp5M5ZrSgWta2O0w1ReA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGTL+CRA9TVsSAnZWagAAEgEP/1J2M3mTFMUmR7V2M/l3\nz+4zZhG2iy0zBhm80CNDCvsDzhTM31oP+L+UA/3eJ3opYKFKEFEXKfjFkHq2\n4g55RoSknyRIE55X+oU193lfy1wCayhEzCVPZ2TB1Iwu7dr8pKZfuC2NU9yr\n1bk8kBjllmxX2rcSwOzExLEkqmMmBZx/ustDAMb/KQwdcSm4BljvynSwT7Nb\nS7cNfQoVxg/NbGUr9UmJPYPwA5peo2Pgsvet73IVDijNYsokiJpY5cu1OGLj\ntPlItZHqesaZGD69bkQ85c0qG8xAeMoTJzmGivDKsrj99Td8p4iApwuc6nBs\n9e1KCOpsmAPFIm7rEzm1cjs6I06Qa2p3ULAq0DGYKzM34y32SLoiE9AcQzWn\nKx/W1xEKHGPtPapxJcx3g6DSr/ihkWZYq450HzpCRKlEQBhD8Zn0HEQTbV1A\nVQzHhxrG30ynThIasz/w7kZMSSXTZ0EdLZX9E7HedSYcOp/MhXFRr3ga2TyS\niS0fYbMLo7v3QmmbkkojZ6jbJ89A+tDeVQtXQLYWRmEvJm7d+Y2ngRreDpvG\nJz5VTslAIZqGL31gqlqjI3zBNtpI1Y4RwtJT93BGVHkfF9fC7i31BET7YdgF\nx/1nv7wYiJdjcLEji41xNEQGZg3qNQGphkiyLsmLCtYYqJ4brt1M0JvQS1Ox\nlc3y\r\n=yLHH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"c42d817836c10e3b59cc1afd0163eec59d7bec90","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.2","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.2_1561932541464_0.8665225555032994","host":"s3://npm-registry-packages"}},"2.7.0-alpha.3":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"26bee4505d967e8df298af90d9d5f70ad3142fd9","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.3.tgz","fileCount":20,"integrity":"sha512-AVhMLbAOly6QSjpzJidWX+d1Pg2CsoDwDwaGW/WQH8hEQBoNXctwd0Mb0/+pco4RKNvJpUn9AzaIYPAN/FCdZg==","signatures":[{"sig":"MEQCIBaU5cln4vBv9f7oZmzHD1eqKzvX4wbdHZLx5RB79OpmAiBwcUqixqdZ2OgW0kWCmIF3eXMoonsVT8vvAWP8bom/fA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGmZXCRA9TVsSAnZWagAAQuQP/1qTPtw4DEiSvabXaSJ+\nV/aeXLWe955RKPksMjVeZOrTC4z/S7cvJ2o0oEOYg9WV35xvG4lvkYq5+9Ng\nne9z9tkk590noZ1oPDfkyvFm5ScCka9G4pbo5GCUgkAftHXZanpfoaul6+Nd\n+K+ADYgFIyVtW32ntDgVs4k7D+toV9mccTmSGZ/fqR7AMydAJW3dN9FzkqOE\nbcbCJFYa8psbo1VPcAnmGgoZgH4T8q3LPIwSiCp5CFewVUpD1SAI4AZLtxW3\nUaL+ricxCoIa6725EcQeASDiof2c+Su0/Yjr7py2U/+Ql9LyDhpjjN6qU1rZ\n/Bqoiuu8a0RCG0pceiTmXuMzLupgTuC/86qk2w6FMS89X/NpgBKSEFSucqi+\nCbe7CCKdO+Yn0S3g1694BEKUxfCXqE+rOLPtFZeI8tlP7XxZZ4YXWap4+pmH\nwRljSepCI0Kknzqr6a/YY5Mejrk8Mp8qvH/0kKaXwVlkbtsMB0qwYZWjFts/\nm7sIFga0w+hxbvp3EiYjTnIIABXlbmU9NYeeF0sQyY7GJpHTRuBc3NsTYz8o\nLc6JW3nfGq7bzEbMyRwK44AUUy2YkjpabyclKbwxERU6enczueOBHYypJ1Sf\nxlGswte/3lnlJ4AzW5CNbNfeKrxiBKQ1AoN3iRQfugszP8RZkfGiK9hvl5HL\ncL15\r\n=q0ms\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"5f2063d6b315980d1ecf6573dfa29ad56b05208d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.3","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.3_1562011222775_0.331739499902461","host":"s3://npm-registry-packages"}},"2.7.0-alpha.4":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3505b0b7c81f675f11b95c5d0611c9c3a4a835d5","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.4.tgz","fileCount":20,"integrity":"sha512-8CVdXVeU3nMXXvWCnLk9V3FtUP4yR3RmpQ97P1JDC5+X1N8LyEjvVtYIPsIN6a4cLUHl8OYGiE9dGTvRIMFIAg==","signatures":[{"sig":"MEUCIHrV0gMTxdBgKs5Zo9K9VX24/V4djn3x22EAisP2BspdAiEAtx9Dd+jLPQtW1//1LzFxK48rpGUBNrXVx9wYC8Tcx6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHS6eCRA9TVsSAnZWagAAMk0QAI7Imx0IS6xdU0VkWbKB\nnkqKnymWC8BG63mzLoWdwchqf7gvwJYZW7lGjU9kVcV+LJJQb0GiV7xNyR6K\nxnir8y15rfUMeh7QOfwHdcqoDxXrrAX1Mv0txLA603qiTLhofqetFGHWMKwz\nljmzE38MzjHtuVKg03uzfvgWXebPTOEiE2ObRUVbbuRmOuAKn2dgNlK6lPYk\njW0/2fflgU0gudxmCCY0RuuXmEm7eRmtHwQTSaD/DlGHDfQE3BzadVi/ZfF6\nAeOHhyIibArc6iLZ1kt7Vce88oUzOS5HWTmE3ypYFh2rIgtHiyJ5GFICjQzL\nbB5siKKAR1gB6As5Mkzhof/MFAi+yOi1Lf7sBSP5qfShge4g5lnsGdlWp594\nK0P2zVHv2PCBGSF0EZc9+BEeDLvTdL1UwxJqYp3jZkJOHNcS2zIniRp9TzxN\nq103OF1asUnbHnJLHSpLq00Rd9Rbp6XIz2son2sbpAZJ5WPB8fahtW0AjqlD\nqosWcp2GKkfUV+x7/tOfEbsBGRe1SUhIY6JK8dIOtSdGOKYtObpA1pg/y+iY\n0aeou+c3fVArzp+9RYKwRzFJ4wwsGLdd1KZtS19xbcYhwtuz4Yg+MjFWJKYI\nVDzIwwwPopc4tOGrlU8+FK4NpuE3q/2Wgh9L9LlbbihDsMzyy/BJoGltOiU2\ngXbN\r\n=t8bg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"fe353084b7cb1a97baceb83ffd1b31b5598b5b60","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"11.14.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.4","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.4_1562193565787_0.38708700289510545","host":"s3://npm-registry-packages"}},"2.7.0-alpha.5":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.5","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c9de941277bc75f6417e6fcdeda78793dbfe2f9f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.5.tgz","fileCount":20,"integrity":"sha512-KphCJZIvg7HdyhqgtIVRNRECt0vKRAyQs9nriVMb3AoBfNfLjQnh0zpqdqyPUSESE7BzZl4l72DDTrI87TZK8A==","signatures":[{"sig":"MEYCIQC2nYachjVyr1cqh56FOzxlrj5cyNQ9u+9Zcdz1MLdclwIhAI3JbMtE71qNWNtNtN2lf87I2hCfbBVUhf+IpFmGIjGb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHkI8CRA9TVsSAnZWagAAgr4P/01OVbvxkR1ttQMiHq0G\n30xBbDAN8YjBoWO/oAbbSxzphNdtgGEXtWoiRaKVMTY7kO9BM/jhYNpUinX9\nVqPr9fffk9BPIMebfErYxv46zpAv+Ufa3+COU7FGz6TCziBUvOgnZCD+0E3L\nCBQwgC8d0GkMTB922qZDN8acm5UIdQN8Zbk0+smawcI8T/b+TCz8Cu6wQXzF\nHGrFG8568a7D7TcE1HkqA7h70jRzrQJTGmveBQ4fn5imxrfwoPZMTvcokaWn\nzwuZEqbdaTw7X+zdBfuB7JmhoftmjM332zvN4i3v5ctMZxpOSGOimeNoY8bR\nfgTZO+sH8SPPDnZ8xC3IJeGBTbVNCCIAYEp9kLkd7QTcEThQ6rkQNAcHfbNK\nK2IQKDJpBCxGInwJfS74HDJIpYOkiN4bh0gcyje6dKdYDiMWbDvU2ouDeopT\nDAnbS5hxsqCWj3KtCNuz2HkilSq+OYZynCDg0GWN7bFsTu5Qej9uV/n778yn\nHoIJBG7p4Eccm/qSCtMHkdFIVICtgSqHkdZyCUiTgbEqxPMgOZ8MsAGppfDu\n1NF7S28Kxyo9VFJrPMoWW9T+Z3fM/D6yfpEuNBTH1zlVU3lgZlcY/AwLudfm\n/WqWAEQlmm/Mw5fYBBo1sWF2sGP1/+u1Vnjct/htPPcAkyVgQBe8j6nZwww2\nfb6n\r\n=Hs7c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"93a846f171783ee4099147f08c05fdf28a5f50e0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.5","@apollographql/graphql-playground-html":"1.6.23"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.5_1562264124215_0.6483182688216669","host":"s3://npm-registry-packages"}},"2.7.0-alpha.6":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.6","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"446f384da9e1b789f06dc03eb1cfb5c698fe4cec","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.6.tgz","fileCount":20,"integrity":"sha512-Cv+Q6r8PWVNijzAIj52JmEXYhVx/nygXIL7TfnEG8PXbMBz17shBjRS7TPM4Pys+PFXHyY6h2ftO8QJtDHuGxQ==","signatures":[{"sig":"MEUCIQCTzQixh/kvvlYwVM5k9XQ3oqYSvIdmoNcLfP+D7KOI1gIgLxunC7xU+8lCsYh3LkblA0P6swb6hpikd4aS7hr3RZM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHk4ECRA9TVsSAnZWagAALYUP/jU6Apk8LvQp9XHL4aqx\nEqG7mySsZBSvWecMB/V2Yoo10ZBocPEtY0Aa10BIedRpn4z0YS0odftuzcqY\nH4ZaLAKoXXJDsM9XRaxLIjAL4XRTQH91JJIJHkz7t/VN+cCpFJ/GnThwmAqj\n9MdqDJI+69xNbI/GxDuDWtevd9G0aKokj5by3wj7uDTa5AiGgbdDNY3d4SIO\nqdfghD7xrEQ/c8fHgu6JSWEA9+6ULc0UECd9MNrP0Ne+JQ8EwynQTcLclXIF\n0SmdMuuERtRxLLV6xFwuXhHD3X1CXN3KGxwg6waMh1yRGlHqetaWc+7GxuoW\nth88zh5lJ3yu6yQ2KW6FOjMEtU87hYQI3LjAwnfqHKKQhc+u/adocHW5qCws\njbeADVDk4/WgcBaEP1601e/L5P7Am8RMT21YtsderkAFUQiDMPDb8r3HIaY/\n5wPfFxlJMlMjzbeeG4A/6Urf301WcXwSy2cq5LW/Mt0G6+CfeK1fHilr5QaZ\nGiksNNV2/yrrt9ingEYpmi9MjibPZeAZ7i/LBXmj/e5NQ33AGnKQgdvoMrrg\nlIkbBW8XjaBIhN4YM6PyscseKOXd170bukgpBe70eK0Ncf5mmyVcWZxWjp/b\ngCSbumxHnOxoH4rQ4/28I/kDZshRNzRnwZk2cJqMTT4AN/NzQEIUlSOsU1RA\npiYo\r\n=c2D2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"3d4c8311f677bee4e61d002d2b144afa965cf92c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.16.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.16.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.5","@apollographql/graphql-playground-html":"1.6.23"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.6_1562267139225_0.29457248233367817","host":"s3://npm-registry-packages"}},"2.7.0-alpha.7":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.7","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9d46db36d137168d9d5e0e834ace706bea96f3c9","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.7.tgz","fileCount":20,"integrity":"sha512-GaeFprIie3DIiwlI14FiiyaHpG3LlGdNXbWkO6P59IcXX5juyHTleJUuY1qgIdovp7Qc2106quUTgyG/+yUFiQ==","signatures":[{"sig":"MEQCIE7EMaCOkGDUejRkaRNF88ZrHY7heHmqOwkEIRDWD+PcAiBFkfXNS2uBmtHRn5zHUxAfCNgLyYR8K+64Qj182K2GVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH1IhCRA9TVsSAnZWagAAvnUP/1SGRy0pVjePmBEEHZvM\nXJxXy8JLmwfvQCCpNwsE7AVPfq1ik1HZ3Vlz5RBaWoShgYJGUehdkhDIJZGt\nozb8xuGBdQJPESbquHrmyq6/h9X1nWgkLzrDH48VfNkWGpUp8T140Roke1Hu\nG6RGg02yi0gHg5w+EZsxaV6PhFybbTdmL5InAjvZyrwCR2PuSGTIuSN8cIml\n69+KCQZng9y2JjQRXhpA/b1aHvCKyyWDXqSivR7brq7l96D7PBvEKzMvlvwP\nwGNbdVUAReQ1QApHl9hzDUmn20UvV9g1SuePt5UTwDZkJJva1RW9kjg5nzde\nMmaS17e7jf4/K0E5jy5cQn6Z3IEr4hxdNSlhmufxNNzoIaOmAoiOr6e6qO+D\nkJ4+fZYSjd52nYV7Cvgf0pQe3tcIF21nVtcAdBefUFuNqSMZh/uduzf6UgDu\nzgSG9V3fRsiMMHQXaN3IVyxrpJsf6VDN9JC2eE0y6+fdZgvykPSHjJI7ZWUf\nXOYEcDtAE1HVBeSSLMIaCKdoPQgXCmBCe74Ki7JFhrYxDptWf0FtYIuacz2b\njltnIK/ssYpUe4YG1VSZEGXq7Vv6gqQ8aSg8JXXuBY2JN8kqKefkB7HkVBQa\nV1L/jZvFExOttIouHc1Gm6bS/aJbC144BKXqPeEy50o7V2MZ5ya+QgBJEor4\nv/Vo\r\n=cXbk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"85eb8ee0c2880aa9e7526a9567b82850dcfa9f16","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.6","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.7_1562333728811_0.42453411913355477","host":"s3://npm-registry-packages"}},"2.7.0-alpha.8":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.8","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"88e4b899c480f0fba19a884af9411a5c0018506a","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.8.tgz","fileCount":20,"integrity":"sha512-Hqn/7Xxl1QhVYtC5yEfh1eMbTqNrD4jJyG8kiNu6LVdeBB33JEBEqANibIFEG0hX5LfB2qjbHutxEbEhWkr+sg==","signatures":[{"sig":"MEYCIQCW4/NFMmj/J7QfP/OSzSYJ34/DMuIHwbOxKIO6oC5bmwIhAKOk9QJc8uBl8mRHaiavTHYf4F06TgoMOFJyyYbZrHiV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH1UrCRA9TVsSAnZWagAAGbMQAJ0LMDbVZGR9Bg5EtPaG\n9/udM0ZmaLjYpJlnHQn5hu7P7B6cAxPIeaKkfwOjNDkrMdgCYcV1yAoWr/V2\ni8VoFBAXwZ57HXX0Ia/Vbj3Ci9qNfELIYaY8QW9Kr5OVPvkCc22pddisl2qH\nymP++wwjsHB8uhpPBXQ5Z/Q/yGaes59pW5DPTScssERFqCLXk6UZEXNbsyG4\nbN744gXUcvR6j0JmeGG4mZrkFdIFOtjwIOCqCH9lssi47WmKmiYlVKGGekiW\nttUttYIcHKa0brRqOMV/KTQ6QnNzpZBZGUG+sCV56XM9rzEMRD+HpjkBrP7W\nJHn3rpvXWD9Xp14IWCKnCC+XCtl7/nwawo0pWLwv94rHXuZU65UdFhoHsVmi\nknTyYel7AnWauY3EFS/UgAz8pWT6vrK2C8PJ86ArxfFYDpR89CWphPg7mJPa\nbzG6AZr5l/ttX5TMRK0tDSTfsV+1RQZ2lFK+z8rpIB7yq2taVvV0dao14AQL\n96jvnYsmnkV3kHWmMPLJZxpQUbSZYos7/59cNlifVye70f4+tC+HS+8K1Z/A\nEIqSuMkyHzMEOvG2bOOA4YHEc/aaVligdqA9iGZZa1QsIG/Gj8cwpUxZS5nU\nsvkt1n6h2daR4pkgQsYAQvzBWYjoAeN3c/vX6G6HDlT/rhOKiMyfd19G8Usk\nmWMA\r\n=cyx8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"---\ntitle: Azure Functions\ndescription: Setting up Apollo Server with Azure Functions\n---\n\nThis is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"02feb8a5fed73c529a119e2d24a74ade1e812e69","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.8","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.8_1562334506927_0.005850666934350546","host":"s3://npm-registry-packages"}},"2.6.8":{"name":"apollo-server-azure-functions","version":"2.6.8","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c3e341578d8a3186e6cb2dfba40c417222447182","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.8.tgz","fileCount":20,"integrity":"sha512-3wk7jjtUG/i/mA/QmGveUIKvt2Ao2S2Qfi58ZvGtLNJDszYNHrgvaxeSv+OiO5KcDjs9xcmZfPCn1lAbxutf9w==","signatures":[{"sig":"MEUCIQC9tKVSLNrm/cykAI18a48HQVp6AcTxbLGm6jKCyWfc1wIgMVA0qKENyLWoC5E7Jx4XbOsYtNh465NlMJ4VetDb7AQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35902,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJRQ8CRA9TVsSAnZWagAAd3sP/3U/G9/J716EqVnRDmH4\nsJXLd6JUQUtmtXgGjmrDIyVKpDVSbFV5QMX0qEb1gJADwj7MCosyZzjwof9x\nIk6/fZXSEz2p4N4AjXJiUzzXB/5eOL02cB0dqjBawPSST3UVXFqIpCCdlpw7\nTI3hYbVMlpOpNHUA+NFoaIYaFyeUsMflQcpht4KodT/PeGUH5MP9NFOT4PjL\nUrQTHpcsYwvkdvpNYPrq1mqTQoUYNvdHFBWJdPfeK7qaCMe3slM3+rlNgbgY\nezwA/O+d7HNj/uwvpJS7QPAOXnfCFvQOW5HzdqkQ5ID8K3pQArh+HO0qXnfT\nkzAQTk3VkKbicPl/QI97qjENsGG5OKdUxbHhnFMim6BCYyJz3hXJ2HT8Lehf\nf6qhfIbCWwA+MFOHGhOgGjElqyG5tl4XuPmc4n1p8LJ47PzUGdDRQFIMUDqZ\nYJW5KwPPL8i2u8g2ZwgvvvJJX+lgzK4+1ZHaM23ZyGcFtO4Z/HY9eLBB95dd\nh0mBrtUKvE6Ph8o5EYdh8v5WxGvmARGd4D+m5Gwe3xeO5c0FP8ufl5GKG+nk\nZB7ym1LW3vRb7AXCQ+uabYAbNHq22Unn7pgQ4jHs8RNsUNCP/Zo01e1aiM/C\n0WqQgIetLDu817eDMmlo603kX4ACAjKR2G/smroDQw/PcITHm3YUricYjDRe\npy/J\r\n=AVCh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"a06594117dbbf1e8abdb7b366b69a94ab808b065","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.14.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.14.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.8","@apollographql/graphql-playground-html":"1.6.20"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.8_1562711099792_0.10249690771191067","host":"s3://npm-registry-packages"}},"2.6.9":{"name":"apollo-server-azure-functions","version":"2.6.9","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.6.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9652d5afab9d4fc977eafc5017b2ed2dfda39005","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.6.9.tgz","fileCount":24,"integrity":"sha512-Dh0hM4oms+8FO5TXlXF+ozINqWwTLwY3hGuQsbY6Lq06MJmyB9tZ0yu87EolVBcbaMpWEk3rhMCO6pYrH2sXmQ==","signatures":[{"sig":"MEQCIH2h//Ny4/ta48CTdfTsDlGwgquhI/brGcecwY8Aa1muAiA7sOqZj4sopuq95YNZEkwZPSy4SW9Yrvf282rpf0r+Qw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJ4AGCRA9TVsSAnZWagAA9c0P/0amucfjO9twmk0Xo6NN\ncGNLNYys913enrrq6lhTP170GbWXB8dJiALwPFTg6siZJAFw4DBoPKdKDKLA\nmVI5RllPhP5Iwg+16JfqPIk3iJuD0dZCdNAgzV3QM/aIXX3YyA14wTT8FQno\nwxWltw0JLg0ap0VhwGA58VaSZ8J70Buf9DYNjNUv9ePApM2qbw3Hj0C3dJ2U\niutcfYijRBI9bUEIpOJ5F8SUOq/ZqDFBLU1I1kx4894cHdV8JRT8CvtSGW87\nUUR4mLEsloBOKW/Fw39JqBYNmg5Qbm+2FnOFencb3lO2SAIWSStekHDlEJY4\nh6MRkPxJCVNCnMUU+GfUAHPjV2EZU9GCUOfjsAKAqgQxAkb1IGXbfdfS9Ssy\nizeQ+mK8/sG7HU3W8YfKY8trQPvswm1okwZE+A3d/5yGhS3aisjNUMCKISk1\nc6CVcosbwhXpM1uCc3fIXMunrY3Om2C41dArW+q1XRFqQBVKPUIstuCdflHI\nss7UiErJBx3QPEyAyIe9feETSqHzVqkZLXXZOJ0vqCG2k5A9am+c6zlBL6qB\nq7DoitnZYDgWUJKESr8gBaEloERvwf/Z9Bsb8eqDwdypnuaxNwuPze8u/rrO\nzJB3icxnILS2oOd4gG3EpeGiTd8P5/kSbY7u1LNH52Ef1Bf9NDQPrs+uL2iT\nQwIU\r\n=UoYS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"57210129cda034b095d3f227298021feddda03f7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.16.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.16.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.6.9","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.6.9"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.6.9_1562869766125_0.7562548724531668","host":"s3://npm-registry-packages"}},"2.7.0-alpha.9":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.9","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d0267d64857accb25846c082e2597c0ac6fc4c50","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.9.tgz","fileCount":20,"integrity":"sha512-g1ufmYRHtahjWf7+5YewLNvu8/eI4CVsc2ldNSxI9UuH5obEpb9ZVQw6MHTHeNlKCKVAAkvWQQwfUKEXPqkqRA==","signatures":[{"sig":"MEQCIBqsIgU0BDDl3Um2dTIQ/2wU9gvrt5zffyPNIkxsn19gAiAiHbpJ0maDfNI+QvLrU5Ql5AX4T802xjtowXRmh3Hf9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdKkPwCRA9TVsSAnZWagAA7pEP/i4sHDzpgpkHkNejI0zX\ngKaLFWbamO9738nIUkvORh2xkjsvcKlJBeTBg7mMJACCn5Mxc2TP1kqlsiaq\n/jEUKyN92f/IOeew5f6Pflz9Rhb24u1Asz3Hvwqk4O9P7iwrw8vKFT9KxU+z\nlOk6vR6lXLCSTmsvRdV/RtmVh9nLNUUSrY79427+ILsj7fWw1SJ20bZktK8x\nG8r9LiM4u/7JId/XZsZ5QaZKbISmMgIeqkugvNxt9UrEH/GP/hxMnmj3jina\nftUV0YjBHtB6MGg0L4yYzFHg0odU13AEdys/73CSyu3PFWEBcynICrx7p8gT\nR7Z/nSOmfrA6iPL3tFg7n00wlwiX4heHJ3ekep35Ie11B/9En9bldx5AhVKA\nba5FcY+VEO2LoDNlB/M3L7FHJRa3xxYpKwqnYTbJQPWHq6sRgdZQucaX4xRG\nMSEJ5BEJW48w6JL4OhwRylNWi/E3pj4AejpgUAsuKlFNyLsALktNxyQFPIrl\nVr05TlSVUXQ0O1b+/FoJj3f0FlrS0jV/WlAUtuaH3sc9+4nv5eQQWzU5RbmD\nYicU8/dtoMAkTmExEPHIRrbl04DcAU03BPhvHmSQbFZ2RAJtMdwkKewD2HEe\n5leOOM/Lau8Oc+jvXEjGeaJCbSS7bHmmTlE+JT2QrmPjkP0ylJfa9iG2aDkR\nzuA+\r\n=Cjkj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"0b502808ff0151acc5ea0115f60cd080421500e4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.9","apollo-server-types":"0.1.1-alpha.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.9"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.9_1563050991431_0.6757387463137785","host":"s3://npm-registry-packages"}},"2.7.0-alpha.12":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.12","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.12","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0534ce9595619b9736fcc8e0fe427972c633c747","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.12.tgz","fileCount":20,"integrity":"sha512-2K6mr324lXplgqFjaZ5wnTisOtmceqviE7qquP8F2ZQVj5NkQiYIYT1Z/jki4dL2uoCPvzNxMoXstctHjd81cA==","signatures":[{"sig":"MEUCIFv0l7l1JgQRKIx2HnyC1erNorJ9tTaNbTR0IR6/salkAiEA8ke1tagcjSXJJfkZtUU0i78zLry8XYsC2Bsabny0T2k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLC5pCRA9TVsSAnZWagAA5ooP/2PT9aIZsqkqFmnFV/76\nVd8gni1F+dZj3/yPC3zxeXf4sRbA4JhzDVxD5HPV7qtaxaUO37EtaIhuimpd\nSc5pB+34H9gXOAr3VE2u2nrA81xE0fG4Kw+OeC699lwIfzrHWlKVIYayk+qa\nYwMiNMndWrEsy+PZaGsre0gIknNpUyPDfFnyrnkNJ2v+m9YGDwy5iTlnCMwb\niq0S/F+FIiwAiAa2WMun99doMqE51/hmdjaqfCYi88wQfGlFTaYjTYuxbA5U\nSlEePjzHyYkaIPuSuRmHEk+FBEo7LSPoINbBwxgCdubgwkQ4S6YtskZVsLV2\n9swbmvRg0uj0HGqp1Z1OJ+Y0MkwjBl2KyE9EalvcEx3r9CEhBOrwA7UqtZLA\nIpjHfxZvWjeSTCrB71IRW5SlUGnV5PPPBVH8m25WFTiOTuoGUTG4ldqc9NHN\no3b6sOkHanD0OPJsgVMj9YL5tAn14n7di0hcH1dn56baq2JwmCegAe5FFJC7\nCdlZOS/KZj2vqzzZZrtliWDVaYL2rD5RYKab4Pso33675ZWWk5FIpV4phSuG\nCX9brgjoSsbDCWXXB42fr0EM/1y28vitUoHQHuk0Q+g/jqVVyzzJ6gOAPRYX\nXDMuCSVdFRDh98UHgyN3qd7OQH43LQeJfGpTRJpjOnKeNMOJkj3y7k6evS2U\nYza1\r\n=nKiW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"6c69ecc7d1604115c99d0b28aed6f824f50e93db","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.9.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.9.0","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.10","apollo-server-types":"0.1.1-alpha.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.12"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.12_1563176552527_0.013476406555932963","host":"s3://npm-registry-packages"}},"2.7.0-alpha.13":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.13","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.13","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"53aabba0fa940613bb8df749e18e866bd2ab6966","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.13.tgz","fileCount":20,"integrity":"sha512-SN0USPepyrARCtmXamwspLniBJnnEcNBtuTBSqY3Dfohc1pkHixY+mdWuovcxSs4n5jP/FJLUxWxxoUz3CWzMg==","signatures":[{"sig":"MEUCIB39X1gnRfaJMW/P6IJBViQYUuBsqZmg5CTOnt1TT6m6AiEA3ho4hGixeVFpdD09IBcfL0KO5px/l3qgVS638parEzs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLHS4CRA9TVsSAnZWagAAeYUP/3F/pNs9V9H1HhBYDF/D\nz9wzH+kUIfRTRutPorCaabYWdcyXTBWuKtq71RLSym++KGMI8LxCIdYh3Pq0\nxg9/TW+cd4IdpfQLHb1bRvzabX0mLhU0w7YLNJLkAUSwiX2nK2+vOqEDhyRR\njh2u1MqvYv3j1qvXPcuSRdAEs3JGwQKFXzUD5AEfbezY4vqw8TvTwVRSGdoB\n8JqdadGTA/3371LZLiDdwUrkLmr5Kf6Bvd7OiwCLMSTL29BOYSYrz/QvupiY\nCzseSa0gBwJOw+sERaVxC29WWcQNiTWACzj+yyb3wZuDNYFPvmJq1H3Eeszc\nt/qwCWz1TFbGPanXuT5z5X51xAfiJdqKZ++XdeWJ4Z1njaINgX1h/1w4JCcc\nW3rDfvBbmACPZtoZkJmpY/fZWDYzXkNzFJp2iwdY5gaG/s/hd8TY7KrcaDSg\nJKCZTGZkKt5yej68FOnDsVALmYpzT7Q+8AebMRtcmwjKL19NSd+JEiZO/lrS\nPogGuk7z+ul+0xt/uGurloHeACt0yK4700fj7JGqf/VjJfpH5vz43WNXZPQz\nLTZkjoAZQE9GtiEvf2VmMxyviLO6JrXYUblMexqIhqLAf5t1Dz/yq2vKnv92\n/n1/sB1oFLNj2aQb8pYGp4aEBlLHtjSOxQvWNzYdGkFGHrK5fCWCkSTI9mTZ\nJLKW\r\n=OD6m\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"b76ca731c7de2ebb4cd1cecff7e4d6c23f1f3b9f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v8.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"8.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.13","apollo-server-types":"0.1.1-alpha.13","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.13"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.13_1563194551511_0.3441651223738471","host":"s3://npm-registry-packages"}},"2.7.0-alpha.14":{"name":"apollo-server-azure-functions","version":"2.7.0-alpha.14","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0-alpha.14","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fedd175681631c2741b0b91ab74e2beb1ebae4e0","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0-alpha.14.tgz","fileCount":20,"integrity":"sha512-bl44rwLNyrzZdMg1o0BrywiEB4Cx5dEER1xhbg44N36ij1wURIMm+3MEQ2t+Ik9l+Ty8h3Bn9YGeZBSjPjdsnA==","signatures":[{"sig":"MEUCIQC5uqeJCLcYLlVVBygbPqIXpXI33iLYml+27ZoiPvkyLgIgBqB8qW4gs6wDBYaC8LmQ/CumPZ0DfpxtEnh0SMJVF74=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLYo3CRA9TVsSAnZWagAANj8P/j7S5PaTTFaRKKgO9trE\nMP/OTrdPjWo77ijvrOacJ+DTwkmJ4THyYQfLS461kR0TwECi5ZaGQ9UIwDos\nkInloJbzzN3b2i83pf0tgcXFZbvAIlV3cbkWz3dq/fvlTl0y1mCFufF42kIn\nLvECKbaclZ26AGWpPFRlyRFeRqp6rGxv+gUuMjKT+tXUcVSoPhT6fBnhHDdG\nc0vHXnEybNZPIaVvDqgBDMRMRrZUiW215QsjoFblt+HcKYKxTP43sahHCeAJ\nz85A25q6LbhGIVz+yQzfxCOFPL8bnbo8JawP8VgXfg54t8XN4fiHKmpVLWHt\ndfrBiXf3gmimhPmUHGHzswaySK1VbnflbxjqOv2x1jHM51doQ5PNnSp3aIxs\nIVYx08N9WzeB5FoONaU+87Xrm2G0NZF6VmG4j7tFQHesMZyhfErXyuu872Ly\nAeIAzuW0REKn14dvT/qvNuQn+A7JCwujD2UFI5VrJr9qXtSSKvDAp7kyDNBb\nrLFYRdtZnBFNkSljxnHqH5dZB3uJHEUZxJm+6pJCbJnyfCWR0jv6JH624eA6\n8dJ/pkcPesTMhKNoK1+Pn+AroeprGMuoQ/eSyZlWq1UolkbD6WzwXWvWV/vW\nI2cmGMlQNy5LMSF3ua6XGbeZcfrmHQZtUQRe6mXvR4jr9kaoJiw+icbM2AK2\nMQE8\r\n=qZzs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"c2b9071e424e2b32fb68c122a30cb4df75de4dfa","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0-alpha.14","apollo-server-types":"0.1.1-alpha.13","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"2.7.0-alpha.14"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0-alpha.14_1563265590906_0.09610788033102113","host":"s3://npm-registry-packages"}},"2.7.0":{"name":"apollo-server-azure-functions","version":"2.7.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a617340bb602d15e5a38a5731cdbe651ee5b6c1a","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.0.tgz","fileCount":20,"integrity":"sha512-iXDHbrDIKIOsIve+yWOy+zQhmWpTL7eFvMpom96OixW0sRAB/l54GRyFvgvMCBzHmdb1E4W4W7zJpDmLVL8vdQ==","signatures":[{"sig":"MEUCIQC47B1VXlza9ZTXR36al/EWQGv4u4jQE/29QYCN8bTtzQIgPmyPxopvq+0eWn9K3YgmnWlFiOziOOwTy8EohqfeWVU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLdUcCRA9TVsSAnZWagAAtNAP/jGiMQr2F4s3R0P5ZjJz\n22+b3XCyKcl5NKPR/GbDcrVvnIjv4Ao3gewcBa/SmPj0t/fIIL/xUN3caIUQ\nvbXN3T6XghSCgGkWRXg8C3znUJLtrO9JDwwVra+0AcUY1lA7RUslin3RLWMs\nt1Nn6QoJXar6J0u3EQU2RLeobJZG3l4AX5ctGRS/QSJfc2H3aFmyYAc6U3sp\nm0fUfFzspAZfv0aIKlqW5hvqhHdhXOPr2m3qoK4eOl/pVJhXttIrvidzCvxH\nfZTDZfvBSTm59kbZ9xMGts2zF1VYDNQl8KPX0SIePHQHVQml77Iz7mXTMHPG\n+Fao4c5969OD3WFJ8oBsOTvao8ZYp0SsgB5F6eOI5vYVVBWnWazwnmlw8oHp\nlrNRpTcLSGnCXiLY2gQJtTtDABDThWidmMdqfMqWWef3KKOpYoPXcy6fIG6P\n03c8wxROdy3Nhs1r6C42IYwoXT7IalA6iiunZkZLsx0CDwNdLPvBvk7JPfGz\nQfLngoQWiSs/yuFfyvOt2+e211ox5Zr4ZsPXaV+kVnRl7c/wyf+6TzTu9eAj\n/VmXD0YVPBIVu8dP2qNQa3msMTeLLYxxKZ/0WlSanRhcjRKYh+7ZPtSLYB+R\nAf+MsSuoREE8GjJu02KhxMdnezHxJiYeW1RYFCx9wFx5epZZVioul9AtBwXY\nf4Tl\r\n=pcLc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"1d44f3d4756d43123eb01bf293e65f4a3c2e64c8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","apollo-server-env":"2.4.0","apollo-server-core":"2.7.0","apollo-server-types":"0.2.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.7.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.0_1563284764030_0.25103779125316694","host":"s3://npm-registry-packages"}},"2.7.1":{"name":"apollo-server-azure-functions","version":"2.7.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9592f272faaaae4322c9dbbf8e7b424b3e8a25eb","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.1.tgz","fileCount":24,"integrity":"sha512-kQHLOooyAJNyrk/4tWBEk+urG2ry+AucAGHeWZodaa69ov5gB998PiqVM+vJ+EXcwWFJQnYrkpeovfS4EbVm0g==","signatures":[{"sig":"MEUCIQCCPbtZhjyk/Ctg0Iifn5CQ2j8uaP8kt6Gy8f9qZznMvAIgWpPxFfFX8NfwfOFlOnhtL7QHtTPyg5DRIxr6vVqGaAo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOYi3CRA9TVsSAnZWagAAgRUP/A8RtUIixYKGj01v3Xpl\n4r8l2VCsKQo6nWXmivmatyGvk/PgVI+TlvLuKTRztEFH5XD9USR6OCiFnxPF\nTvzptMvPF44QlrT7ltVR/1yemqYm3erblZ5bqyXXd5Ul88cBKke7nAI2KD2g\nkPopG0NKcdfLin2EMIb+x0VDlakrjSrLLzDs7THRKfN7oOwm35E6mIvkDn60\nfw41DKLnUr4UH340+ET9vB/bG75B6qIhn/o68kgYYUljco0STbxVCiTyucp6\nN790fLUfjInF4soRmFt5TQmy988ybQnIDn+JQ8A2+uP6pBze5RLcWEyE8CPU\nfJbLToMYkTTmxeGFkAecE67OnQjQrR/wwaa6vAQ/rh+uJzzRIPPFMJFTAQXE\nZfINmByR4beQGPgdCqc/m052jK4jhNyCNfLNQ8dtLfhE8xIkK+a+aJ14RVKT\nB0opXbAWl7k9GPx8zCxPKuQDZ8POfBx8l88iGrByWYogS768dcjxNPuqOth0\nJvwvaNXrIooo9FYuSKkGDUyBYfHaswmqkoxyHzIwCrr5vXxo2LFMcR01by8r\nzidLW7kerNL0O5dE2yZJ94MHW4MPIJ8gSCUzxtzGlaXV+vZSjrhSm7LmGlFB\ndcdl+5RG695N4TP+0su3xUCcT5PtiPEli1AmVg+jSCbF8N2A/73XUrzmyd/K\nS0uV\r\n=rE1B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"2f87e4af9a6f1e3c8f4c51b4f77860bd3150c8c6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v10.16.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.16.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"2.4.1","apollo-server-core":"2.7.1","apollo-server-types":"0.2.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.7.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.1_1564051639161_0.9374439578803098","host":"s3://npm-registry-packages"}},"2.7.2":{"name":"apollo-server-azure-functions","version":"2.7.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.7.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7934a2325ed3ebed6a07c6033e9f698aea584269","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.7.2.tgz","fileCount":20,"integrity":"sha512-uhAVdkQLubAzEtL1vOl4DtRwwexG2o/NzLApzriucxjRjFX8aEEvp0P/dzoTG/MAVMTIl+zMi5pf1gSDdnuYzw==","signatures":[{"sig":"MEUCIFU7mdyD4yrgDb7W6wXf5a0dNDR16A4Yq/hwF0jSXr+7AiEA7627RPCjRD7oIkXOa/klJ/iu8/3BsEo/1dHCFQe7N/0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdO4y/CRA9TVsSAnZWagAAsWMP/A10gDBEMP+3+72Ch8+b\nhBrleJwjrLVE5oPxTgP+L3f7TTOq4A1dp1qZSfjuSzUcQVwXN2ZRYaN64MWt\nyFjBz7GDioBy1fcguNQRLg0LoYerHfYWBQyFDyBdPG8I8qVm4QnFQkWN0wWL\nvgy+JL057kkPTfO9eycQoeqhqSZFAULiAjQdfTFuEoX6tsiGlYn1gr2ypxwC\nLCCQsqegYnZxW4NS2b83jb71RCdjUHIaosCwbEkNA9Fta6Cn56rnM7lSQs0o\nyGnk6+cOL/tVXiX20RjDdRxJFG5c089e9zPT0Sb87MLa2llSGntPaWr5kdzC\nHzTO2VZu3/qZSoVVw97Tw6o2+u8SqR1vgU/2VL94O8UoVTyLc73kqLXvt979\nyhMN1+ZFw/zgxfe5dGtHhwjioVIxCySWMwL4dD4BSdP01M2nEBixytj5gz6h\nXtoP9w5H0VD1BkF1wkwTIk9Zo9mkVGOMUrLsq/sBPiVAXw1u4zpzLxO0yisB\n4A+bV2pFAtAbSxij5uc7Cnpnyx9plvjA26rOvzs4Vo9e3LWEcBO7L6/eDHp6\njWn/FHo0qunOxd/2GGuQruTWoGMZBrFd9MdfsEb50ky72b9pueNqjv7uvNU5\nnFInBwBfFveAAU6T2BhxlfWHkDM68uSSxnIUCKjkSxg/XN6YCAnehBWjApJg\nnygW\r\n=zejA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"d0b33f20ba4731c071d6fd8cfaeca1a1f3d83e4b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.13.4/node@v12.7.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.7.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"2.4.1","apollo-server-core":"2.7.2","apollo-server-types":"0.2.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.7.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.7.2_1564183743187_0.04314966574725099","host":"s3://npm-registry-packages"}},"2.8.0":{"name":"apollo-server-azure-functions","version":"2.8.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.8.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"212a4f9d4ac0ee2698f33af4fdc59209ea41fbd0","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.8.0.tgz","fileCount":20,"integrity":"sha512-F1uqb3st3nUYNLVBMQKxF6S99BQo+2rBBTDMMDpsbA+i3e8hxvE49Q06qRQDpYbzLPOqNfLPGdwBms4RONRoSA==","signatures":[{"sig":"MEUCIHZJ1bSbiEOsdxFA8Wml20pJim3cWEn/iG62HFPs4AeyAiEArhVsUwCLoZtFU0Gch85LCi9P88JMLHdhpyhT93Wg5UM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdPyl4CRA9TVsSAnZWagAAEUMP/jd7tbNt6iaU/FGduGxD\nL/KP3Xh4CgwCkgp6nKdHwHivin3QTQk2JSc719E0CuqwTiA3J5Kf0ahcuTub\nvbwZBz8vuzuIOAWyXaQjkdnbiLGg7rk4sc57cM6ZfvlHzlihVcmrm/BHVTGT\nDfKYVjbA0dBsCHwy/T/cykqYK5NkVmjn4x9SmxQh+MIS4XOMI7yY172q8ho0\nUWGK6SMdYAOyCUIB1Cy9V6mNelp1ECK/dsMmM+aAqo60DJsXA1r+acCa+t0v\nc0b1m3W+JQZ2tbO80mBb2NIWMs0GdknYnwRoNSsXaEQY4YlnupxuUptjgfPb\n9J1oXpV8MQ8nRj6oOAHMLZJcf3A+NOyiTXxNmwiQuK2aQwISGUo7FMJtVv4n\nDkibgLv+i/O9HRtqOHMQFXIyGfjPl8qhZzLCFvN8j7Fk+JWznMkxD2JUKflJ\n0njYuuflrGNAdjTKInSpXEKIQSrign3qVefjYscQyQLgdYwfgau5Hn44ftH2\nxBrP9Xm5vU4oX5I60BMM7UoFaaJ3LnqhaZM2sE6DcYtlJBVojATr8os4VW05\nfIOVCoSiqeexDI6LyE5kMFoH3lyY8B8qb1vbPFANZzgouiyAKaXsMsozeWmD\n3b+coW3AoZpg7jU0fkBAfs16auHKEBdNtrGyfm4QH6rOJ+sMhNLZKQw3oFd2\nIlZK\r\n=5PQc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"ddeb71f8d6a0f3c91646aa0c7c99d2003b5bf73f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"2.4.1","apollo-server-core":"2.8.0","apollo-server-types":"0.2.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.8.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.8.0_1564420471435_0.541634710119119","host":"s3://npm-registry-packages"}},"2.8.1":{"name":"apollo-server-azure-functions","version":"2.8.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.8.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ae7d4267bd022291a25c86cebc08f87e5b6050f7","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.8.1.tgz","fileCount":20,"integrity":"sha512-3YhwtmKq51Ufwb2g95gZa7PHmURnhx+rBBQC23BVv+VQD3E/Fwjg71vXDmJyKNHeVYB7I9/h9uzosga9GOKsLQ==","signatures":[{"sig":"MEUCIAWOWsEyjV92g59ynpq7rLDZJhBi9lV8SX+SDUVkpcEnAiEAi6sqw7qxTMpNSqgX8nT+bg0QW5jQthCIYUqJzIiJ8Vk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQXisCRA9TVsSAnZWagAAc4MP/RPc7IL7G5KBqlnhBC3z\nCA6M5ACEPi2EvoWNp96dKuPjOx2fRNgwoIdXZoewKvz4BkFu5VHZsSmzL2w5\nICF11YC01xdEkA1DH0E4bRy9lrDmTnVqnwPO7scvrFW1uwS0oa368I20S5JJ\nXgcYg/0Q7ToRWHTrn2WI3WiStMAjM1zG64HKY15dgnCUsyi7BGMSe8xxAGnp\nI9mVgWv6pFXMDYcMrD1CR4+D0AfuhJZG46kx2tJewf5+TSIi2UJQ9dazhdqR\nAVLEjlqZVt1QSAf2nZh8UIvWblrc+9NuWcCxROBwp5v9XzCDqE3oOZMUBtVJ\n3nZPirI7iTXNkCJvTtgKHAPXKBH2O5Rl7gDXuA0st3FxV84sBLx4DZ/J07hC\nhgoY0huimDjACDtSWfwuyUWVFi+aGbyu++Kxe6Yhd8j8NIz2zf4svX6G/Gkb\nfElpy0sIggmlD4pvErocfcdCHD26Sof5E2xzYef1XYCzWYXBNsyTdVvzewQC\nU/+dL5R8/3O729gI2bwnwAQs0yvkxJri/GOgm76/0pIG/5q5zrGlTPBzsr4h\nV3Jofq7YFXrZJPFxPOerFnVFrr2HjAVw8zs+4GcWuwak163I3pgal5jdqz8H\nDSu5Ushy+CdTZc9Cl773jk02mWsHEJqK7hGJKvW7931hGChGTDQ+zv27KEXk\nuTHK\r\n=NJRZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"84d80eba10d87663dab60af4a1cd46bccf30513f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.15.1+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.15.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"2.4.1","apollo-server-core":"2.8.1","apollo-server-types":"0.2.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.8.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.8.1_1564571819908_0.16577073466131997","host":"s3://npm-registry-packages"}},"2.8.2":{"name":"apollo-server-azure-functions","version":"2.8.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.8.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"717134c457917e0e06aa96095eec570ba73da3f1","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.8.2.tgz","fileCount":20,"integrity":"sha512-xx5WZqYQsm3OgTfpBz24md/NGAdJqT6g5th0w29N3QdWZ/Uw3lkRHP10rojMrXzXDL0q8+BjDTihrGppmoUrdQ==","signatures":[{"sig":"MEQCIA9yb0eufP4lnVc7SxcGLyuy3FC0CVRQqj6v+xsCGlVmAiBR5MDaBDJBHBqn155rKeYNz5kD9Ra3NCznXLwZWp2Nlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXDXOCRA9TVsSAnZWagAAXQ8P/iOPqYC2XuPqn2I08/pD\nhpC0QQByvA6lIV8Th1htI/+4ZBcqbHy2yLV/xV/YYjS0QHQhJeADSvYDsPXO\n6+HMojA5PrKPKr63GQo9NkM3Cz9IjaH6a6Bj+lFF1sxtYk9zQ9FVLmkYe4xI\nV0AmwjDbJ1M8PUNyRYVxW7FdZsWYzIiAMZQ6OQv1jtp+aVzhjttIelQWzzsq\nPrdxiEr67jPFbkaCMRORY8Cnw6CD2GoenE3xVZ8ZY6hRcHoI2upUeciqpiz3\n3PViUy5ftYkMLHZqgG9ZkeDRDWrMlqz9pFHxaQoBn5BZesgrwg1g29RDKKtJ\nqYYX4yTc/46ap0gLpHbE6rM9DflJhh5NBERbqH9Ag04SU3UHVEXGfdIy7nmY\nj0FBhqExVcOVcVV6ekmlnBVLcBsvPMD8GzzxsECShkz0GdHYbjw027/g+7Q3\nla3hT8un7MeIwl1UCeaN34gK1OMuE39m4KFTFHMkkl0ntMMe7Dsh2G8qgLAC\nwpl+kHU4lXpE3M7hA9dlSq7twREVyXdklY8K54EKyicO6LMpQvKP75QCWP9w\nqg+jLWRbWYlyE3ViZ2H0ZNKAu2PPvVjX303JNQxhsXpfCVNi5/unXeOX9WMZ\n5QQ/MWSdq6CKyf2mYHUk1V2GVxNAa7+rWDSStMftqolkmDC7honKHSmrXhzc\nplBK\r\n=jQx7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"99f78c6782bce170186ba6ef311182a8c9f281b7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"11.14.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"2.4.1","apollo-server-core":"2.8.2","apollo-server-types":"0.2.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.8.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.8.2_1566324173624_0.7838962140987527","host":"s3://npm-registry-packages"}},"2.9.0":{"name":"apollo-server-azure-functions","version":"2.9.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e8efadb2c9487f9ef081efaeed20790335a74bfa","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.0.tgz","fileCount":20,"integrity":"sha512-gkUKSkmlge7qdi5V9ZfG4pOsEUVKLtJqybQxzTdunYIQcz9ZI9AFuG0kZJuF6l21WDAgnMeqDZWf9eSMUGWtzA==","signatures":[{"sig":"MEQCIAGIFuu0Ao287RF9jnaFNHmzqyPL7/QBNgUx6NovVcwfAiAiuRruV4j8OJ5PKnxmPzjUlTrK7bk7O0IfuBuxMb80jQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYASvCRA9TVsSAnZWagAAXycP/1k5UM0NHuPFKPqDeI9D\nzOYSncUzwNKnJZ5YJKg1KqlZiiVffImplhCWraaPizyS6JFrVbwBeJ6numYW\nOXCoiLwsGe+d7UKF5oLwrsgHYJ9kPDlxFWCFJNFW/8maM2wRuFeOONBifaY0\na5Y/ATU03/iTLfRYlA89yqCIxh8JEAYq0tyLJBHtCYS4dTO3arYApcpwKrVl\navHA3g6P75qf2xy0cED8wHE9w+0/Zww4g1NY5aKvTeHe462bXHEGn6bJ4DrC\nlgkJbwNeHbm3/beSjvRkRiQ9OL+wQjnRLzQSRio2cILOwGBqfpKbTeNa0tkM\nNjPzwzaujDOryYJJMkB77nEVmdW3z6rQNocBxPfgCZe+U3cJ8pb2/6nmSn6L\nhI/oNxX7m8rxjB1j2mdX819qww06TM8kQkUWWzgViLwoJusYcX1eIJ8LkBok\nEM/ZwDjqytkoLn9eNtPyMxdR5tXjf8RY84F13UXYc5puD2yMN2yt/mKNvEtX\n7L2Ookeao3dgY0zulVWurObF5WJ2T9PF9Yc10sTgc4xn4VugTx+DIycH2IKx\nCBMLE28gXFUQCUMuxxrHyaORGT5r7LyFPdLaXsdyiNcL579vwoAjxi98LKQV\nS3ZHokIx+DpQYtUNjcAC06Ypf/iKY3s151CP/VZDSw/4d3H5N7IThijRCGd4\nvosW\r\n=vVjF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"6037f6e80fdaa53b50b99ae94d93c724c382c23c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.2+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.16.2","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"2.4.1","apollo-server-core":"2.9.0","apollo-server-types":"0.2.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.9.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.0_1566573742646_0.37995303736280817","host":"s3://npm-registry-packages"}},"2.9.1":{"name":"apollo-server-azure-functions","version":"2.9.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c37c1ffa527ea8e07490330733a6a9536e3fc78e","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.1.tgz","fileCount":20,"integrity":"sha512-Ito0CKjTCW/ketns/2WsLXkuH7OJlRpCnKkTnQt9Td6eqvmgB6EtNba1JTfGdKfhpIhj2gk5zK6SH4fhcAvyTA==","signatures":[{"sig":"MEYCIQDWovld7W4rLDgezQRqKROa8iwemmM8xL2MRA/Q/Io1TQIhAOxRhJJBZ/Q82mb6xbnpATnOVLwcTjnxrABJ6K9ypH67","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdZuUBCRA9TVsSAnZWagAAgroQAJNSovslueFUbQPOmS+6\n6JOo3fYxFkvpfrAoHyV4t7xA3JbPrSTt/PdveivG09gpr441rhTZHCFt1c4S\nM3bVNyhmuqu/hCHYbI8hIalpEP94t6bNae8j1EOpfGAOb6wbkepk7QN40JXs\n9bLk4o3Q+jOxglNOi+LKZ5mwRlEGZjnswSZuCwGDW/4YHennpI9yypN/v3BZ\nvyVNpioqr0gdwmROSgITGoRfEcxrGzruyYvI8JcQf1LqBbAjPtvPnKyzIApP\ns46iVYS49Y5NtTl1LpRinUajupynVHu8wsYUWMYMmcw+Q/XkjsmDLijFOvRJ\nYKB710nHo5vs6RZidSRNDnx0ZHnZN3uKhg5kBFeqFmi1pZgWtpiCS8nLNvKv\ngclviraTu04dQsiAIzrHs364s12KHSstcbK5Sbxj9IMwRVwuvEpnJTu02WSK\nMI0ArQDBZ0wj+Xg7rbbh4paBoCSn3C29GUw66D8N54ncb/Uuw1te5/Ewrhw4\nJO+nB78nkLTbwM81NnyQZ6visUqfuBD9/f5Q3FDuaWee50qKFTMI/ywNUku0\n5X2FHq+0Wmbk2xIIB2+tUe941f+zF1lOpFnP30vCrzNoSL6rLYocZJJpm2Gn\noSVk6V/nLRtp/jReidJ6tJMjO8G0K9Co0ySlmMuEFZOeuEXMvMZmu+gtXorJ\nTGU+\r\n=VIUt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"029c8dca3af812ee70589cdb6de749df3d2843d8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v11.14.0+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"11.14.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"2.4.2","apollo-server-core":"2.9.1","apollo-server-types":"0.2.2","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"2.9.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.1_1567024384845_0.045813840662559446","host":"s3://npm-registry-packages"}},"2.9.2":{"name":"apollo-server-azure-functions","version":"2.9.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2544530170995016272e28c14567b988f14d5c44","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.2.tgz","fileCount":20,"integrity":"sha512-xi22afCOsNVxjCvN6oZ1ogJ0Qiv080SPuOtPT6CkCrzQgwxJWwFwIQYEFDSkFq1lNsoEabU8qHuBQrtYIPTsXA==","signatures":[{"sig":"MEUCIQDKDjWUId74/6iUdk/t0xI8uNvzj8MX+oxRo82g/OrzigIgNtnxV0xkPtvQ6/B0pVHPxp2THXkNgLsEWJR9CHf9Ao8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaPUNCRA9TVsSAnZWagAAoh4P/RLs8aM8UcSZWcnl7lPu\nZ/Id8PZmatgQF47cHT/D4sb4c7jp4AQ2FCR8769wSKmbx5oaJiOoe7fZQ7LQ\nnqmJ+6msCf+y8oD3SNc9pMHNjBuCzIxCCJF3lfYAjRv55E4/h0tsG8RvxQEz\ny9ErcEflh2CYOEoLY+u3Yz3KBbUYQcNfh7UjBzoFo1Vj+u9fHU0zRmtIqYxT\nLTxKTxU/Wb6ivIIMAUvC1qp4O7fdNiq4YNzo+PJgryL9cTHO4iAzfTzrI2li\nKA9CHW2KmauPHrMamR3HzJMkNqCa6xAG9K1qKDYb9t1rqdfEPI5Rs7pUvhWT\nuoqkjSYPFbQ2sdAkNROt+PNHq9CBrAxsnq/xD+z/a2r3+l1a4hbqgrRmmybS\nHU1F9FY6woF1HPiC3Ft6bOMGQDU/4o3vRpSy42x5MgFC1WWmD+pzdPPcuR2t\n2KpiPFu1ZAqXZdaOpQ5YBTgtmtFo2mRz2ZeMylcGT30CMVD8CBe+rLhmwJ77\nQNwa1/JbBbDykOXFJGHMEaIeHXpfJTa9Hx1Az34nSolQqo2nRD/DYph28DLn\n8ADYjjhgOCivA21z2J6nrwalgEeCwalXTvMBHhb2Gt0AJCrps/hZ/PROeh8m\nC5X43ciKag5oMYStrmnjlaJ3abdyTKAA+tJoW9jg1DVP0Tn05HBh7L+/s9sU\n8Bml\r\n=DpIl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"92ea402a90bf9817c9b887707abbd77dcf5edcb4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.2+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.16.2","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.2","apollo-server-types":"^0.2.3","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.2_1567159565202_0.39846008679588407","host":"s3://npm-registry-packages"}},"2.9.3":{"name":"apollo-server-azure-functions","version":"2.9.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7dce8bbcfb3f7b95b4d129620bae69c1020b8174","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.3.tgz","fileCount":20,"integrity":"sha512-NzpoCFMvhe/lVjf/48U/UDPxK+vwbFFJ5+ISvE/i6fCUySlLJiu813ntuv5UAx8980qDQr0KX1oqVd3qhWLB8A==","signatures":[{"sig":"MEQCIF/1rJQU2HXdqtvVZj8rF8sg6UFwV8PRGx/BJAa04ldKAiAMLTE2jrRUHWYNF87Qw3u4KcrHqPUFjN09w5S/c/jwWw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdbDxjCRA9TVsSAnZWagAA1yUP/3JOelMFusw14cZK7c/i\nUMvceZwZwWphRU7H1hceajzFxHl0B7ARkGW9kKnARLv/jvWkcRMbZTr/ZI06\nyx5BOFIcZICsgrfs1R8B/5zwXXVYomuXnTcYdo+ZHWUvhPUZVA+98TjqCkCZ\nzRLZKLzHP9VnmCy2r0lLfcoGSbbN+38YM+wc/eeMvrHr6a8vQCxMRtkFIW58\n9wd+N2zYserieB+YI7sneDansIVyh0c5naulgYFZlwSsn+0SvYZqcXOMzTmb\nNW6ZWsxudMuis7RRmT6jJvRDDuHi04ZRk5Kr49ytUXrGV7ql72CN6cdshr1q\nNAPLoSXI4892IaEY9o0CA8vfRby6kxyHeGoFCXOAnVad/3a88fNp7Ah5oqmJ\nFUsSUfqAsYVWHVzvoySfrKVQURliIxcLG9hzocz7IxUTuWHHXPwh0dMQDORF\nqwSqtmjxhruNrGo70r0DHLSUp1PYy/dQupRRf50eJc127BfXry9KxF6RC4K1\nbl0U36h3ykQl8mIXa71qAMrNs/+jcaGunEqLLmHtxtm4b1esGGsMLHczYFKJ\n+MsVG1RUNgNTvSq+jcQnH7j/f3x3IBo8RGLXMLs0LFv4E2ZB7s8BzFzmRGb5\nMJx+ZSo4hztY4lJPxsTH1S/BVSKA1HUBGR7OVn02DzeydP/rtNj5nMtEEtwB\nRVM0\r\n=a/7n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"a1fbf95fc01739d5cbaa59919149bb85c563fdaa","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.2+x64 (darwin)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.16.2","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.3","apollo-server-types":"^0.2.4","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.3_1567374435140_0.6170799881301419","host":"s3://npm-registry-packages"}},"2.9.4":{"name":"apollo-server-azure-functions","version":"2.9.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"10f36c6729b204846f0acaf05ca107194ef8f88c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.4.tgz","fileCount":20,"integrity":"sha512-jAIZ9FuX1Wc92cIxbcnUmG92bavm73lyB7YIMCOH3PULKVh5lXkXtO31UVL/pA2ChsjScfUDzB9/uIQyVpikLw==","signatures":[{"sig":"MEUCIQDD7jMK24+JIRDvQQeEn69qFAwxgMSS58ajnwY4/isi+QIgBLp4SyDofuq7VLarhM0TKGv5lWYpuvbum4P2N2HhAmQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdikxeCRA9TVsSAnZWagAAjQIP/2ZPSzSWm0KpGNRv+H9+\n/z83FfsKRn6CeeU7Agnc2O6EiWnWLZuYs5pUD7uuZs9XtD/pv6ODlDv+5bmW\ndt1nMNdmAJe1zjWi/iHEwKBRJrOR8hUzVeeUqXUwLqwvPs/wcu96dH8URlt5\npf9ADNx673yOW0rKwmRnTGOdIhsJy3OEXH+vPCSXUKo6jKdNulwkzZiPDSGh\nPtHAXpruVIWYWg32WSOsnDl4zUCz/j/xnHlpZBdqbiKp8hHn1F17zGm40qyR\nnAQyF9e5UArH7jSoXks7hzBvB5tY7lhlvALmpoduhYhe1uoR3sk9FhczkBVH\nyjpO8fnDNbvTQTFECGM7vgrZatkIpNQE5PPbhaf//bT3xtge/CBJd4KhKopZ\n8pWXZdEfV2qf7xLYauVIlf9rSrR+78K4Z88X8LgcLm5wkttm5xUU7sylS4jp\nATvWSGb6ojfwN46JoNI/+Sk51ZS05XSRX+eW3aYD/H4c8tibf2A+0D6C04Pk\nJ35JKZnpTULjump1eAQumRwjvqQBkX8NTTO+t455DkZjUKCrI34fpnwO/v9G\nRIC43UMPtpcn0S09ynHihSgVDOKybYYGNT7PkrT2TzVjU+GUvoWZZyxmXgT8\nB9ubPrCtOqI0F/wnhe2QVxVRn8yvggRfMkrsHruq/3FeiF2uZ3B3Az2Ru8t5\n9lGZ\r\n=EBny\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"6100fb5e0797cd1f578ded7cb77b60fac47e58e3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.4","apollo-server-types":"^0.2.4","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.4_1569344599237_0.15199551314626492","host":"s3://npm-registry-packages"}},"2.9.5":{"name":"apollo-server-azure-functions","version":"2.9.5","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"30b84454c73a5ed9c5a605fa04b04b9d2fbeba9b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.5.tgz","fileCount":20,"integrity":"sha512-wj9ZvGfOvfefPZd2shCkessHsNiQ0hXgT1R6U/UT2xA//Bybc1HqmYDFV5EvXK42oecQCx+HfMNwwaoK7FViHg==","signatures":[{"sig":"MEQCIERZTX0vVQlq9JnsbuPjjFNgrD+XUm+TCEzk8ILg52lDAiBIwQGv+AfirngIDNmaHhlcZegY7LaECxbOQn+LJTfj2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdl7XSCRA9TVsSAnZWagAAzxwP/R03iTWUVlEtmM83C7yx\nH6XEoyF0vQukDqp7siq4ZFvaTEToM2YJW0rpRoF1zjay6dRcgXfxqHlhXDCj\nN5NOi5+iV9BhTemHpmgw20FRjdalGpNFkC1XGyDl3H/Kap7JIvckIbZUNL4y\nrrl2eCuGgXNIdtR3IM0d5CQEElY9vfEPSw3H2e6ey8/QY29S6s4KQcAQq6Eq\nIm1lq0GYEeCWygSH/QDiqsVNClGGJhshaP21fFO3nCxnsOWndEaPzJdOv/0f\nLZmriNu7xEMEiZ0OXSsPuUrQDxpN7hQZHAMkZxO7pq8uIoymLTviMpSFA2kP\nfh9qgHS+WOdDAsoSvW/gnCnnfRv2h4ELGP+G1Ere4Uk4hPW0Ksw7xuukHDit\n7+Fau8mGkBZgojfyFXBR86CKzbEzYyb4/Kb9HmusRmskmUwofqBHY66YBIRO\nKuXRFKzzOX0ssXgfQhQ2rpQXHBsgPhkI20vQ3RYbmitGJnXeO+VOYY9qstfX\nXjKW26NZtllviLPyrXn7YN4Cv9yGPmcE6ur7dykQAtWc9E/LY6XUvUu6+IP3\n00ZDOzlwp8Ho4SJcDZxmaxndVJp4looileRMNE6yvHaojswZhiYvon8aK3Dx\n0RLU/sp5vDQOJHzOSQB5vUHCow5epAYpAPO/4L0cRRi7Wh++ZmVoCU/BThVn\ndh29\r\n=hRA7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"aa200ce24b834320fc79d2605dac340b37d3e434","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.5","apollo-server-types":"^0.2.4","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.5_1570223567878_0.8460993773532886","host":"s3://npm-registry-packages"}},"2.9.6":{"name":"apollo-server-azure-functions","version":"2.9.6","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0de01520eaea3aa2ca5cdcb0a2b56122b62d29f9","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.6.tgz","fileCount":20,"integrity":"sha512-ImWSL9iKbDvUcq+XMQW+Pw1KnFZGzjVHzNAfWJRd7H2f6mJcrPNfZAyQA4919HEg4DCrXXWq5yN4cAO8iM7T6g==","signatures":[{"sig":"MEUCIQCxVdG7sWYKvBFd9jerA3YBl2XprOT2IxVqt+5hfkd/9gIgU+V9cImqNxsUSFiFa/l7qr+rI6+VbXQLKTww0yuXgSQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnyD3CRA9TVsSAnZWagAA1g4QAJyNPcJGA+pqWAnUQgQl\nbwFlEpTR010nHVigKYLIpamo2+7iWb+M0EgRCZrQ/x1S6l/Xp9tf97TDPfb5\nxqHgbbGN0HDmSAfD9PzAvRrasZQ5BYnUkrpMFwkTaFTxbUS955mAF3kjD5qH\nrLzUPemCaoYxX2YvzeW2D7tRR4y/pLlgE59+dBpyfL3T3HK1+bG35DzKQve6\n0AhhMJ4eV6hWcriHNjTcWg2vRCUbbeZIyl4tRhX5KQJU3lXkMbZwHT/C99Q9\nbkfykiSIy+fHZS1sgeCJuVSJqr7zP01+B5aOzhCfdicRh37uqjaXJvAQAwSL\nzVHBJTzEViQtA7shbbqLkPS3HlYSyrTWHnKvAcl25VT4BHtaiUBq3WhhlSQL\nbFWWd3+pS5PO9CkxIS7U9h3S2sPMFfhCIYONPh51SoHxexOoIKD4Za/OYp4f\n0GeQq0QpzsUyPbWVO6xkoU4rRK3liYNSITmvgRMOjFkj3Uf8rk4Y/E/hqeeQ\naFK3dswvFOawEVnKFSWcvYPYSyJoRGgRl4fzEWkguxE0KWRiQDI10ykAfXsG\nhYeIAXO1TzB5PB33iZnUxmPMoVZ8uzopSvQ/ottDAqlaA0KPdX7G4n1oomdZ\nrNzy3FIUHEYhjia2FUuvVYMD9PXJjLyRtTIWvIOVpmAmTmWyhJt+jdFfiDgQ\nNL5b\r\n=gOLp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"fc7462ec5f8604bd6cba99aa9a377a9b8e045566","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.16.4/node@v10.16.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.6","apollo-server-types":"^0.2.5","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.6"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.6_1570709750297_0.13720109439983053","host":"s3://npm-registry-packages"}},"2.9.7":{"name":"apollo-server-azure-functions","version":"2.9.7","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a5fefeef443e14bab97ef0a613a347ab071c3e9f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.7.tgz","fileCount":20,"integrity":"sha512-Ik9qwi0jgHG2c1WTM5QK1NgFUnQ7NLohhz4FKtDsdP96xmDmDT33AAJkpNK8Iy5Kplt2YV8hl/XZPyUw5hBJhQ==","signatures":[{"sig":"MEUCIG+NwuM5K+yI/mzSM8t9rL0O1SsuUKLlghg5UgKReAqXAiEA3dRjzP3nrsPw99XNQyviFcEQLH0z2xvgz+IFJyKc9xo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdrepOCRA9TVsSAnZWagAA4/gP/RfPO6SoLNImLmymuz3g\nuviZV2ByhSpcpAPrJsBfjFCOxaq2OKxXMCs/YOGhIimIhhiZdcgqDSfNJM9m\ni+GcVxgOmAeEX4QTNrR0fMHarwH1m3anRqMEVwD+fiFbKYsD7VlrtAMeBrma\nahGVMAsNO6s1bT0kw70yDM5AO9MY2iJQleGThsCc1Ewm1TniSEBPoPfVxNOy\nYknAvCL81OexyYFY+eyrkT2V0V+bDDPYEiRBBWROUfeF89yihZnxakbaMgbs\ng3CuofZxEMDkC6N1LTIEFVslrzGILU5PXFyShKbDobZ3obzIDEoV4NpMWHos\nnLfMmaEmif7Re3iS7x5KcUxP0lcwmRQsEI9BYLp18WYGrmQpN22o2gN0o24F\ncrRJcFP0miQLMDCOJK8pX4kC3crgl8snbQ/ivoj+gMVlpBqXkbuA5YHOJaCM\n8cVJyRdrQfOTsL5sAS4ZJ2fmo+9wVucZ5vZHlb5IYIEUOliMjfXlX2XHJHtz\nYpqZ/MnbQExlvLACwXm3C/HYuRxmBfpP7gC0EAkAKqDJGHXlvXlOONX2KOgI\n9UCW59dh3vNqTRxAnqZawgwzFXDxNobBHTe7z7+TTMx5IJ2V3RwRkzpriVrd\nPYqGfrzfjnCIZnIhzVGQv2lnZAF+HSZXIZ7Ndp6hmEf25MPtckqNiN5ToQnt\nztmG\r\n=02l4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"5d94e986f04457ec17114791ee6db3ece4213dd8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.17.0/node@v10.16.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.16.3","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.7","apollo-server-types":"^0.2.5","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.7"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.7_1571678797825_0.04486906771838495","host":"s3://npm-registry-packages"}},"2.9.8":{"name":"apollo-server-azure-functions","version":"2.9.8","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"74b6639d6ba3aec170035492e5f21f820851d04c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.8.tgz","fileCount":20,"integrity":"sha512-6i47AMVG41PMk0bHbVorKhOWhka5cQqiFJYL5V8EVEZsy6HefCY2xueDAjZ1efhzYDFY8xmTFW9fy4CUN4sk3g==","signatures":[{"sig":"MEYCIQDw5LRoGuKIvbUs15YBNCJlCEkytMqQE6DDWYBOlICM4AIhAOuzq18E9HN3I8/jtNsI9hRO8AahjAh3dHrKS4NURyFc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyv04CRA9TVsSAnZWagAA5KYQAI4YSQTDeLCIXB9xNdy8\nXWnHIBlTnT3a9sWjfpncWdyRUjUbnm9vnD9JILVs6nUsMvmCIEfP9Ns+UrUg\nSYQ1pb9Echc4Twjg8Q5Ip6Z0tHCtK76BXrwwXBIZWCGmYviaeYXBhCZaexAD\nMv+n7KxDlnuXaGIO4D4Dv5NXUvxRi7lUmb9fQjitd8epK6ab7aNTrm/Ofuwe\n/wAveus0uC39ckUAaRsRGpjeuT1/5aBGPSFPKGbwwu7ujJONQr2IpTAoo6+i\nM5LqMWlotf5UVj6TsG1OzEXbgDlXHP/OLNlfsxX9ZeK/C6T4SILars8QK+6D\neHPlI02bWa/hLFXFtyhGC3nOXcS43uEXVbqULtsur8rANut6Wq6KVlQ2lqBa\nVSi3DTA8dTUTo9bTC07ydKSIXlJ4aqjBX/tZ7RnpeVQ15e8F4ZMftKQsSrkj\nNEiJJB+t+Mt7XIhlj8bEB/icBjQKRzo3HnvEcYDnooUlpeAUg4RN5Uwvkty2\n3WdoO7VssDKNa6YxpK6KZwmOcJABudxTPNcM3E+1CQCbtq1S1nQ4eTOAY3/D\nzvtZpdunhm8NOfqSthUYzFeZj23knpQJqxHX3OaVYTicnsVS/AGHsF7lUOPy\nzKaBrN1joIqFghXK9HOKe0d/1YuTifseHDArYRZhdxmA2Ur4IOBMX1ZDmPRe\nke7H\r\n=B5Lh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"3cdde1b7a71ace6411fbacf82a1a61bf737444a6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.17.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.8","apollo-server-types":"^0.2.5","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.8"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.8_1573584183983_0.7725330661494876","host":"s3://npm-registry-packages"}},"2.9.9":{"name":"apollo-server-azure-functions","version":"2.9.9","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.9","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ae9114147cef0a5ad0d43fd80c0818865c4fd753","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.9.tgz","fileCount":20,"integrity":"sha512-ftU18ipIfOPkUlKcrgRWhlYHQBEJaWJAMaUqLEfTnVNsY9gh4X4I5jFzZ5oVERAlz3GiXgUGGNgl5GcxBmI27Q==","signatures":[{"sig":"MEUCIAa8lifIKTq61acZjaRKcaBn8IIgT8Reu0bLYUkjJB5mAiEA3tP1ZewBMQH5bUR9pf29yQtUD6SMr5BSoUbdGzIL754=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzIcMCRA9TVsSAnZWagAA4gUP/iRCdauh7izrlm3rSt6I\n/ARDLDSpmZlVqX49fs0jxUXQq+cl4JKW5M1vKY75iRlASZ3ypb5FCkzmaaLk\n84jeyKUM5xcd+JkoKOnjKMJ1C5CMuPt4sygkHM552xWpfOpSDk+h8zdQ6sk1\n/HPEZH9vfdE0QPAG7lkiGIAcxEnPWOCIirzpD5a3YNAoiW1txuUz62kZT27C\nv4EUiJBFp+iPeVSe4j/iuCjFgT0gzrTqDJzVvNBvW7HKLnpqEX+nrIP8izkH\nDl7qCJrMc730641UBbxHXjqg+yz1NmdfRnTV4Rk4+JjhFmEiiXFiHmBLXRFk\ntmsAcNrj42i4BfTIQtGNP29awDQO0fWh6dQyffNrea0sQXNBQ2+ykN2fadxn\nZUB7CTplbonTv2ImxGwNSMnXo2Tj7JPSdDHpSaV0UfXjvVhm/EdEZyOByeUH\n5cXw8PBDM8eEsB8UAsDVyzwsjKGo/iJ+rm2dQo3fJ+mwIKG3LY4X6uTC5j2Y\nn8QYo4oxqfE5DLuRAlFwfaPNcxs1Q6laF0fXJHdozIXQ9iwNUDPaW9rYo2Od\nER8aDzv53NlCguMCioTiJwF63iaEgwcI3HNDLg9WzTgAnWPGQ9i2yNx51v3x\nZFpDRZJD1TsgcT94eet7Td+ASe5Wyn0QWzi4rPrPAUPKxP4Ioq/jRBzaAtph\nwku+\r\n=tCb+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"93002737d53dd9a50b473ab9cef14849b3e539aa","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.17.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.9","apollo-server-types":"^0.2.5","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.9"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.9_1573685004157_0.46736381853000464","host":"s3://npm-registry-packages"}},"2.9.10":{"name":"apollo-server-azure-functions","version":"2.9.10","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.10","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ae816f9eabdc7e183a13cff6ec7730497fa53178","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.10.tgz","fileCount":20,"integrity":"sha512-2MP0qb8kbZjK3G4v1ymu7+0Qhy0M4AI8sAJK0KRH6WV3/NTtIi3a7+IKpVe7N/mbUQgrtmW/QZcNcY3bK0TPJg==","signatures":[{"sig":"MEUCIQCyg2EGlF0KC4mutlNyON6zOb49qlWzWVN5PLixbjiowAIgD/8Ji44q+ZOyr3ksuEZWg/19sthS+jmFWZo3pug8IZA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1b3FCRA9TVsSAnZWagAAoV8P/RzrrUwvjtup1fQATI+P\nDgg8G0Aqh/YJbq3nal6qHNde8Um45+0sek9RFrYeqsCsYkxxOBg7aBYAJWaS\nCfRkxuLsNjYEW1AlThrV3ytjRJ0cFF1rDkZont0hgbmgzSqIkBdgxouDe59a\nb3T8AWMTDIuCZJVe8Afqsq8lDDT4BXvpf/MKbtWzksFpwC5b0G7hZfH3XRds\nGXgcX3hMgehi4JV2KbXRfDMB/Ct+waLJtIsl2n+7OKJWXxMiCAgxq39bSegG\nvK3anITQMxdH0EeJZCqoFtpDFckfdfzwiwe+N3uiyhPHcLx+Lr5R+Ptt+51x\nawIanKkJx4E8tzPNj3WpshI5Jo3CjyJ2OxRPh7Kq82i6oCRCXac+lCqRs1RM\ndPpWHs52gQEQatt4vb3pgaA7+Ys+inpYrxNhgtqqo/6SLbNUkHLPhAIBmjF5\nbz/hLB+yMDbBzgFQTp6TvXoL2C+bPNByMshvSp9k7/MeSr3qwsfa21ixsC7w\nAEnxOrdZVMQOpvtRUwPKdlsIwWfsRYOBPnxgp2BzZgak2VEBDQlAKB7qFo6V\ng+3l5e3n/EJ2KkvcM4S+yERC/gCibaZbDWSvzinpALXv6xvP0kfXCwGHwRL2\n8oFhc+AiZ6w0u/7Oc3bkXskz+lHIUdcKinP4sc9gFNi4FlI0dNusrIlIr3YB\npZ2M\r\n=QjPw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"2a4c654986a158aaccf947ee56a4bfc48a3173c7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.17.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.10","apollo-server-types":"^0.2.6","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.10"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.10_1574288836795_0.2187250768590907","host":"s3://npm-registry-packages"}},"2.9.11":{"name":"apollo-server-azure-functions","version":"2.9.11","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.11","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6c16a14c3d28a880a8f52b3c73dab9c9699363ab","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.11.tgz","fileCount":20,"integrity":"sha512-8CGwPTjc/7eVgZvrLgBKunG2MK9Mft0Q2Axwk8buh3BCCP43sAZ6/TzpwDXxYZHF98m2PyJ18wWheaIVexywqQ==","signatures":[{"sig":"MEYCIQDEn8S/C8+fyOI6vIPKclE6wU6b1jT/PoYZbce+kjQ+JAIhAJG6Z955rNrEdOpeyC2s6Us1nvsznB5ke4tCIRVK05tk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1cxtCRA9TVsSAnZWagAAmeUQAKQXoDogBbq8RBTKo1/u\n/Oa7s2BsMGBtQJIjbxTgEQWPYjj7wYJTc5S2REGcpPpRV0nbEaslZlpjPLlq\nfHRgcwNz5FKpAwtXpfCGJWRuJxjD3Y6hDIest7QYE888Rm6XHulXLZjSmzgS\nCzUT/zuPVgQtd6WJRT/P/cWfNgtciJA/bKQjgJDchi4Sc/Tpj6Y5RTeNdS6U\ni4Z0yf5t1sfBsMAe957SQSU+nKfdeB8+O/t7XtCeR5QswBKfPkHPGhGPr3+E\n/o9cOF13XbnF2sZLjTgkDUI4qeTOB94dbmJNDuV/ef7WS2Yjh2VEO8LFrzV2\nsLPl+pKRdRdP1wskWFLE0lWKhyC9AEUY7t6R5TtFgzHNzPDR8qIfcyLP3ESX\nUt1J3b1eQ1Atw0HltKgge27qbSTB+QyQ/u2yl03HMMQdu5/nq/RcmuxMxbKU\nHm8kEH3hKEdotqMFp6KnO13tYC9dz2I0aDIgIhllgw4ndUgdMsuNwJonUHWV\n4t+MgrxcTil9yhI/WFZ4hgv0moll9CiRyvyDE10g1AzXm4+EdL/m6d7cudhM\n3HkdniMppliz9oq8UR/iyUKODp7XIuljkqNCbCxlE2ZlvcSOdrIWk9YFCA+V\nQXrfngOO9c/PhhYAdNHmgnMVtDGt7eusoUGM7umQchb7kaKx7OGpx234zuYz\nrhnd\r\n=xKiW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"d49e4d2038df4f5aae824a98ddb21dca909051a9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.17.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.11","apollo-server-types":"^0.2.7","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.11"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.11_1574292589074_0.31219247081465573","host":"s3://npm-registry-packages"}},"2.9.12":{"name":"apollo-server-azure-functions","version":"2.9.12","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.12","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ff3a67d61f028bd2c922e2b37bcda75cd2b928f7","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.12.tgz","fileCount":20,"integrity":"sha512-WNHH/vWd1qffG/+1V6on2vWt2/b2kLiYCYccAKDTg2KGBrItwUXQjMXz4++FMmIrHHK7xiRFqmRIDlABGRTpjw==","signatures":[{"sig":"MEQCIGNv5/3XXl4nxqgWBZuzoFNdFicbrZqBH5gRj1HPAOsZAiAF5nSJ5ppDV6tiidCYq+JjkxnI+2rXkG0E/3THnaeVRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1tD4CRA9TVsSAnZWagAArjUP/1MRzpikIFQMGBtJj9FF\n2ti6F+03nUmcnXvxres2EGE2XoazhF/YodNHCPMq8Ymir9NSwL7xpLHjVkz1\nvxBbRZBs38wTXsyD2bVAxsNIuIRJ/LCwt5unipX0qBvolPcXDNl+SDbKZqV5\njUA9qMCO6hRcclmE+zsu4DNfsg6m+ivrDCLmeVlg49JVVmfwVvN2+7Vw9m6e\nSA72TA4effJPAT+U7bfD2RZGQrtkK2KbT6Hqj8r2GRf1sz2hUXEx+TpSShtg\nCEBzg69m4iQlwmquHmL4ZxNgHEkiOajNXpx1LQNjqP6ixjle526oiVFVIzej\nz2tms+FwpL7rxYEka8GhP9/zz+Kc1vLKUe2tg5UBhtcbcIDzsfYc14s0ZkZX\nX/mo8vi0Xa+eqL5oUaT8YB+mKbTIyktSmUU3tNu9j4jD1qCtu0S7eKh6yNyu\n6xh9RAtK6u4WuPH9DHt6sd70GSAtdd9wkgMruRiGe7ZYmaa40vFAbUFBU8wI\nUdyE4INvWdDcdUhU0mLE+lhkjYjwAbU2DmFFD6BEReFyUyWNQsDPzaw+/pZf\n3PGFeU6prpxoJCGneb15Kmk2j6NaNXjwazTPVSkg0m0WnWqeYrg0z47MxznR\nYW+TCm/ptvZPKcXST8PvYnmY/UP08ffDclG8VWgRyyPzLy5z1LHMSHzzySuc\nWEqR\r\n=8D3S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"8d065d8b8b7f35f814695e74f5c685b7d68d5e00","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.18.4/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.17.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.12","apollo-server-types":"^0.2.8","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.12"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.12_1574359287250_0.23586589362301114","host":"s3://npm-registry-packages"}},"2.9.13":{"name":"apollo-server-azure-functions","version":"2.9.13","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.13","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b16257a4627a87ecf05d63fbc792748922dd4558","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.13.tgz","fileCount":20,"integrity":"sha512-0OdCM50qenFVfF+x2Lkwl88V6OTCy/mo4Bihxc/+R+vxRbm3xb4hrNr2Jv+vEdrmZpHXPGN/f0gAgljbzfl34A==","signatures":[{"sig":"MEYCIQDFTr6Y8G0AeqT1Q3ewHuwFP2/tSPtcvahEWztmCQclwQIhAKdAsHmgYMV7+vKYOlQdN47FO27toHvUu0OfZu1gCl5k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6WIfCRA9TVsSAnZWagAAOjUP/0ZhiXvEOjLIhTPXLUd9\nk1gSwHYJa/t1BUEukUqwC6n6OKp1CyCXrBH/Q+qO2lo6etkX6pGxvMvnFW9i\nEA37EUNpWsUjYrWCIdcfakLXjvaCBzR0I3UkCfdq9sn6SyYkkDJhilnG9et5\nmns7ARh3lZUHIDqpASr2AtZJPbzu5PnJhNieZd3lflBWmLXm4yaKsVqNseWs\nuS/g04MdfZa3f8SxG6t8quuExDAkwIK9BZ2dntx3ih18X9GFutC2IboeJlzS\n7vrnBpHY2L1N3V7bY60Kte0sEecqKyNsqkM0ZGorQ2n8uxC6u7tIL/PPviaQ\nc7+ZJ0anjDwbR9amRmNsuIKnGfVJBlufuNq1vMsO3Yd9U6W9QY0gFFOS6oPP\ncqqXHAuVwMFx/sfack5iTcHYlbN0/xI7n4dGNFZgRRodNAIvznQ3lzlOtrPx\n7Ofp18PFENBG/8O91t+HdDyi1c3Tko5VELemfoPzCFuBHbnFa1vzC5Nq4PJ8\nvh9TdFTexRhrlPd8UkjWT6SQ8n7YpaCXFENwrbBELX5p5OwsoGgp+qujd65r\nFsNyGxmPr7MrbQVw0ueSPceJmdq0rQfQ16xkBgylZTga+YNQdD5c3cn8Invc\n1OT11+K4YkJaFDtsC0Z2zZVIkSNWNwTrgisD87sdHPNLY4mrbTbgVVsJ2W6S\nSQo7\r\n=7Vv5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"a0a60e73e04e913d388de8324f7d17e4406deea2","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.19.0/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.17.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.13","apollo-server-types":"^0.2.8","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.13"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.13_1575576095453_0.48957941688310314","host":"s3://npm-registry-packages"}},"2.9.14":{"name":"apollo-server-azure-functions","version":"2.9.14","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.14","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7c144ec8e51b521b5b1e97c9025071ef7ea0657c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.14.tgz","fileCount":20,"integrity":"sha512-DQFk9FtPSs8lJfLd73SbAkaCsm9RdR7UCfGOILR2Rw8fY/+Us2P5w8ISH+qAGj2dUaU0DCAhC2IjAQUZEjEs9g==","signatures":[{"sig":"MEQCIF7Wj1vPUEhvJC3nHZts+ACY1G6+bvdNxPXIuJjZS1/MAiBFv/7EXkN2PEXQy/zjBajrM06jA9ToCPpLLYTP2FdPdg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+MjqCRA9TVsSAnZWagAAUyQP/13pTj4i9tex/yNbu6RW\n22t1dXoptUykJoFtdfagUbxlYzQ3z3303L/aScvTt8hagDb8D27XJevgqeg5\n6Ktvr4ah+jUXpphssqMU66UfvXGSoRC3UK+lrZVMFUQY2MKwJSbMmdsE/aoD\nUgBrnlhBaWazMnVRvVFjNb51QUIUZcyFTz0zj4sx5ge52MBjRe7+p5k2PSoN\nP3EHDpYSG7TKjsRkfOjVhNAkzqS21BPL15UHYHATFqDsDfqnqNrtLlwW4MwS\nkY89OxT8AHSGRhXMJwMveLrm1rcVc046p7wueEEV7STigV4n6XdwpbcO9nss\nBLaVtLGuLUrBY+UJi3CqBqFgfOFG16oH+ShQY9+/YSiKSYdDJ1AX2LnZsPhN\nclQ6Vd1OzC2nZ2TqSJbghXLG2BB/ehNu5Wj3agReN6Mw4u553DmvZRfPE5Dh\nX5enNb0ZvFZMivYytICUv69TxFf3eG3tIYprok9zspSXqq6x7hFgN2Xeudni\nmtXD4w6P+owgDudP7/LHnCbI2eitdBFHdhiL8GjRusmzO/5xbct23WotCq9m\nGbeJCsaVSI6TsasR/ftyZMyXVhvtBEAcnS9K89pZ9LH40Zfw2CKT83eEnWTE\nQ1zqHYcnGBmyuUTmUpjbJQsJ5udIMX2DYroguXizfmMxwUUTCUEclZJPNeAg\nF/cN\r\n=4W21\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"ad5eac5ea1741142122e4cb8fd34a9748be31e89","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.19.0/node@v10.17.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.17.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.14","apollo-server-types":"^0.2.9","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.14"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.14_1576585449764_0.31789747394399925","host":"s3://npm-registry-packages"}},"2.9.15":{"name":"apollo-server-azure-functions","version":"2.9.15","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.15","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2925da20fc0e0f37aa9ee0c9d675be943f133494","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.15.tgz","fileCount":20,"integrity":"sha512-fr117/kbZjBsTs27R3oSRmekJpTUrKBv8WLEwyhaaNYhgDF2qh2QWDuUE44dCxCmVVV7BCWHsFg3DdJIWR7zlA==","signatures":[{"sig":"MEUCIQCUdcN1e/cIe/+J8SeqASkGk3Zw+znoMIbe06Y3Nk2iNwIgdAJ/a0U/lasvQInANugtSBsfTlgMYRPUuW3kAcLhd24=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBfTMCRA9TVsSAnZWagAA7kMQAKPWXpsxhdbW7izxS5bP\npL0EWylI/2QE40mO+ASS4AehhP0kFjRqmHgmzqof9hGdYA0qzXrvsigUbY5s\nb3xa1RVPcYcojHPrI8xeImH3tar8pUiiF7Jpy1Iz2bj11hBQNTJaCXEYdALR\nJp5Tc5z3cSncJEePbSU2veKgYkQSRu5DldhAGz5UHWw0epS98gPyEtxE9Q4D\n07WIv0JtOyzxV/VEFdKGsMAnX5190wC7NzVafj3LHKpyiXmfjl6pgxwO8GCr\neGPqvYUNcisGHfbb7J8alZwPeuDOcfs7B+m2/iumig0ge9kGyG7HgaYKF3M5\nq5zXrcLi8m0Am7J2SRq+Q0erzohp3A6wWK4LMC4LlUU7iW2ugXzzHnfeLh1U\n3dRz709hbxzm4SZUPuOZkxS1f3VNwGMrpMJg77LsrBmKtywIs/qESNNFSEgN\nDU4V4mMCHBw41F3w1z12O/MzbyITL650JlMsVqkyw3FtVjuf9kSfUwSZCWGS\nyC5tSsFvL0HYrXaAGF6/8/hfkhtU6ZtZkE9GkKhjlsZh5A1Vk7txVU3HLNVS\nhG3TZXQsDc6q2fZgT1weG+ujVb0icJ3NPK+BDTd9P6qoyaTB12BQqT6inwCj\nZayRaEZ+SieEMTOUG8SMYOaIeSjK+LY3NaSzKLNRoOHtYRwxQ59WepqkAF7B\nv9rr\r\n=77LU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"0743d6b2f1737758cf09e80d2086917772bc00c9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.19.0/node@v10.18.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.18.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.15","apollo-server-types":"^0.2.10","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.15"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.15_1577448652431_0.45635446597064266","host":"s3://npm-registry-packages"}},"2.9.16":{"name":"apollo-server-azure-functions","version":"2.9.16","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.9.16","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"48c07277c1e0097f9181848070837396ee6a3af9","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.9.16.tgz","fileCount":20,"integrity":"sha512-b60ckQ2uKBtCixqrLDxe0tPDf/XZdOTPE1XyP1fmduR/bp1CbBovpjKrIb7QgJrD8H6hpWLCM2yFxqndDThP5A==","signatures":[{"sig":"MEYCIQCLm+EicHDAK7FTg9ZeYbdg9FE7AGU6XY2BEOpT4T9s3QIhAPeSMuH0uADYykxLRi88LSEBmncCqumcYzuSNzVCYHt/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeF6ZdCRA9TVsSAnZWagAAc+MQAJLrZSbR2ogsLBjq43oB\neL8hSzQhIEJzfz9+zrxXLGPugroQjvv+kfkJzAoCO/D20nN09D8aKXDq/CKC\nHd3XiuSd9irBVcsjXsYRpiQae25asL4cJ5aY8y7Kz9K3vPmTHFpLbz8fr/79\n9j1/OFeYoeax3JzFHjJu8luhSqu24ObUXQNcGTrJLif5d40/Aw5/mD2SbP2K\no6qVPUwhH7zjZIzrAfPwbDpZ+NOarnTrtf7oMWFPKapE3mKk9I8d0lZY3lM4\ni6uA5WE14hxFzT2Ctt2/GHYwrUV5Ua+PfFXgqlSbzusuPtJmZfq/dZW6Cqgs\nOhQ1CyGsC3n5rwPqRhG9I9X4DDTjrqNRk5lv/jUHBqGdLrHhOlBP2hCSBVGe\nZgV//ifAHdzqPSfg17e1/78JsINQ1DUxhZ0yJWFr9Dl2YBZNPgyDmqpHfago\nQJqJWR1fRyYUAmzz/snolADrjVHdDMKhASth9+/UzX6+NRUsRrisePGk6jU6\n47j8FBjVvpQklmlVr1EwyQjSuL7OtX/iNr+DrjTn2vDeluQJrFtGOhrb4j13\nTq0WpMilX2oi/P9MOavuB3Z+uYRnlmbPhc+FT+sKiEsMDl1znCa/GEFe7o5c\nfA6xAFBFmOBlPf/iKQgItU538vh4JYHOA+W4LnhWC8az/RGXo9Dao8c2/hN/\nWeMa\r\n=fDsW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"4d1a75e318897c335674c7ee046c0baec7df4a9b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.18.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.18.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.9.16","apollo-server-types":"^0.2.10","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.9.16"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.9.16_1578608220595_0.1415843416742204","host":"s3://npm-registry-packages"}},"2.10.0":{"name":"apollo-server-azure-functions","version":"2.10.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.10.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9afce5c7434144dba44043ee3b93150b1388d6f9","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.10.0.tgz","fileCount":20,"integrity":"sha512-AfDpT5rQ0schs1NsoqlrkfxSHIpg9dmia6FuOhkssux5NaM3LuNi5twpd6kfAgTEvh6OncJftnOsM7MSJHtM3w==","signatures":[{"sig":"MEQCIGu5cSAWITtuew0Tiit89EdSrvqBF5VqL79xOWk0d/BVAiBvQBqQprJNzRMqtyGCJjdyc1Nchy+zuEZjrNFvm4nn3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJePAfmCRA9TVsSAnZWagAA5V8P/RCXXZyrZ6x2eUKWT70y\n87z9y6/ige7EcyTmHTwwb+XnV3i6MqiK0gMdXZNRiLsdiZXJefR0vxG2razj\nIdTTNwJwqCJGickgX3mbZFAgAVhGGcPykhWUWO3fYgXz4wH/gk0tgciRjFsZ\nUdDyDDjL8BxiN62mgA+pT1Y8+mo/eIp2b082Y3Hhq/d4JB1zOEoNMiF9FeNL\nDHNIhdlPcVGDhRnygQ0LHanSLZI74BLlKExV71Mxxpqz3Bb8oOwX6HklwStj\ngvIFmLjGxiAzzLnNfiFlYk56jGOGHS9yeEuH4wzyPpX5c4j0ymN0uRPvgfhD\nTfeTZb6qzrS2YrhI8+Rsu4h5m4C2wlpH7fjnCC2k8kVeTh80zpLQFOmGnWdb\ni/uYtKW4cVWwB7pGg5GgflOdATtof8kunDdUAGZ6dpHwl61AYxzqBbnNVhtz\nsaEso0pxvNRmGGS0uiTl5EjRcYSa0zfGvhD+O2aOvvBygs+aaR6QdlzCAq6Z\ni4sD3T2gY4G1Bhcuo3gI6Gt4ozyg5hHW/mhRFkYXCJxKFxeKIECgbjQ022E6\nORjxtZvWgH5HgPT4NilcKLpXnKv8F+KGzNKO9pW6dEYimkSaw3UKHAM20m8M\n8mqaKZWx8Et5DAA8+Fn/jFS4dmprNVZbNkSeotER8N64DATFcPmZA5hiOW6S\nNaYO\r\n=K9eC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"9c0aa1e661ccc2c5a1471b781102637dd47e21b1","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.18.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.18.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.10.0","apollo-server-types":"^0.2.10","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.10.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.10.0_1580992485515_0.8621860602139866","host":"s3://npm-registry-packages"}},"2.10.1":{"name":"apollo-server-azure-functions","version":"2.10.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.10.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"eade9a439dd07e31d857381a98c499ce1f4376b0","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.10.1.tgz","fileCount":20,"integrity":"sha512-ibpD1/2+rq+29l2Az9b3SDl2djSyxacu7Ld2Hrplxvo4lc5BZWYGmioB/FHW5I43qkBOhKVVi7LZV09+mVyl0A==","signatures":[{"sig":"MEQCIBBD/dqfPBkE7H9R2pXFMZ8Olg/ojBwwTvDlpcHGSJbZAiBM8uTSFZJyWLHa82Fi8qoI8KV22J7Ikurq2+7Ja9EEYg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeRqfkCRA9TVsSAnZWagAA31oQAKGTlznmqtvXc1V3RcC+\ntePXO+RnDt/R1fLm+d8aub3KqHu4RrruAyR+eoYRrmzVq8aoKQ+b92xwQsEJ\niIvMwfI8H6jB6e9dC+F6gpUAzgRTi5MyrHYNDdarm/4+Z0Ssn3ireaSL/4qX\nK1Xnib1lFzP1TA8ExHEfrZoE5TDCv96eWqq5+ynE7zaBGDPTxT0M8HksALAw\nxhxonfZB9X6jzEaU0cVqp8KMalG4/JuhMin6oPgqtryD1INW8fr06TqlB0yJ\n0fKfq5W8fZDXB2lwUnlkzMGx9b0Ur1dnzXrY1DMrwZHvcd0fUELJxyQUJHwe\nIBR8g45QFLuY56dafWp8dKwXQVIxm+Hfri8uh2YUL+KRP20mqeufCISIhnIr\ntWqdQXZAHmx1l0aBEUiMj1v/aHfk0Nco85U3F3/feuVSyq/tdQLxIz2SKPPt\nT1N23shDDfJ6hK3sxBH5n3NLdlhPKPrTTtKXdl2EuN4hPC/q8JZefiRW86XK\nC8iXbNMd6tZopP72fYI5EbKV7B3r59Lf1CEJ/Cb/nQk7MdzT+HgIzLtdXr9Z\nxOyLcxj35i0bDp9HYqE9zwhBkG8lw2GDjzXrt8DDXsPnhN8OtEanOVp+8hPK\nVBitB5EWcAlg7uyEt2z+4tEdtuYBoBBMMxEUFfoDaWdP0OKNnU1HqZQyKcxW\nfvfX\r\n=6GcY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"dba97895485d6444535a684d4646f1363954f698","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.0.3","apollo-server-env":"^2.4.3","apollo-server-core":"^2.10.1","apollo-server-types":"^0.2.10","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.10.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.10.1_1581688803634_0.26759084117424625","host":"s3://npm-registry-packages"}},"2.11.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.11.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.11.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"72b7ef89ae2124181e0d0ff2d411bb714ab2f62a","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.11.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-5iPyQOul8vGiOxiBYmRVTa5OcoUR6XgRHBXchU/hzXIy2FGhaqEhv7u6VDDAWpNMrxAROb0UmRdgH4W+Vt0EeA==","signatures":[{"sig":"MEUCIQDhu9kyc8lzn73IDgkpvIskUiUKIM4JxBjjyeBqwAEcZgIgZkI66dWDaYLCLh/iFOS7NC+LQRpgRzbCtkVU1WrKTlY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeU+uyCRA9TVsSAnZWagAAWmoP/RlrZM/8OwULxYQhj4xA\nzg+g6ms1Y6tu9tDxxa0mVgk4Y7armvshdTvo/B+TpseWLoDYa5gL8zYwnuiF\nP+RrVXD1yvTsSrEBpCS1EX08G4af1LG58tw7KyQPPl9OxBCC5mA2PQ8OBFu5\n4XEqTVwnsRJAyGrJP0JTa6oX6rqMxZkL4Os/ZmoLPbzIPNT9jY72KL0Xyy+O\nMuNql6wpSTrwV/XKiip8vcmPDAUn6HG1U3xSbNGyiPf0sZGApwWLgAbKEIak\nPCZhfSGPabu5Vq7CkjMoEt1WVkhnejqJIbCZDSCkFV6SR7JqjgsUY5AlZQH4\nrznFDxpmQXQexxKhpkipCl6ql8UV/OyNGwxFxi1v+9cWgdgSIWRC5cYP+V5C\ncl2sCZLAigD2Z/absCbIarQ4YN7dYzMT5uFK8Gpr3XvrBCGqX3Yo3r1w+juE\nGmoiyD7j3gf3rKZPaMeSSQpUSUdhRrgNu4LwuOncSLN3u8kMIwCUcHDDxcX1\nQavuMeOtau9HDZs50QFDeHmsmtWDEUCMi9UfiwJqy1mSrIIjzsgkZYdIt71E\nNA9BRNp78voslh18Vybu8OhJ3+sDLoXr8mTzwuUdYPoLy+3SKsrdoKL8gcc8\nYE1JEqzAk4T7l9Y0KkSc6xPp6hPvYrQtZ6eQa1Qyh4YavTHJoX4PjLxq9J33\nncK8\r\n=gqla\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"a07ce0fba5a78d6e1a3c0a08dfda1b449e6c16e0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.11.0-alpha.1","apollo-server-types":"^0.3.0-alpha.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.11.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.11.0-alpha.1_1582558129564_0.872478836993664","host":"s3://npm-registry-packages"}},"2.11.0-alpha.2":{"name":"apollo-server-azure-functions","version":"2.11.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.11.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d3fb398bf41cba5600f4dcce137d64c7ded24ec2","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.11.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-Ejwfp8fXYYRt+JKMFP03W79D1LmOw8IvMu4qs8lSg1MUvLpARgNGIRkU5q/AZYLiLql+1cioKb7g8fXAWQCiBQ==","signatures":[{"sig":"MEUCIQDOFPID7JLsFNu8Tb1xhBoFwWab3qfElOF1MVOo0nzlyQIgH8AxdgMwwjNB6wUVp3aKsGtL6oYFrZhTTiSL4AI14pQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVUUeCRA9TVsSAnZWagAAcccP/iQuZAWKhzGSCAGqVGh1\neI/UysMcYaOjY6q7I5PVgEhX8FABbPgtSvhClsLr2b2NtdcYRzefrZwaiy1j\nAdFts4UKaYNhIDoIB0RcffOHhwPmbUW1QNfV8kBMLRjJIBd5+mjDh1dOIeJk\n5sxN716nDTRmOX1z4j6ITHZs9NOaR39bFmMgVDlsMA4IyfuFH4Y+oaJWNOj9\n/IJxYPPV53Kgbfnb2sUFNR0qv2NF5RbvfFib9D1FSuqc82nPwV5m2Pw9j01S\nnAtO24EPVYXmymiWfQD5od//qqGmmEx4T6B8yrt2qsDgE4x8WU1bmN7+tLRB\ntsONKVfyRgYprsAeTOwKgamZO/kY3YglcP20YxWBzjEBtfhZL3gxy0ZH5axd\nlf5P7oo6wOAx98DjoqRwYEH1T6Ixez+ZowD07v+i/vDmWmFm0w0h/+U5kWTo\n1A+fhTh2gb1NrWyBiVH6zJgA91TC0Y1x5vdrp6mZyndbLuCHqtvUdIuCiM1V\nDdCKssJgQ0Ti/OQq+VXGhcPVj3s3kMxpSf0JBzltccQqEMwBa4tT2KqTy/zv\nh4Yc3U3pMgPMmQrtLR2HsZIeG71pS1EyxfV7zQIUQrhc8tH6xZbXjQAiSu32\neqI1fZ0N9bXvHdwAx9aQrUyT/+IRQZlYJ9kF6Yc6TCudiFBMmOTCASMyoYFa\ngkP0\r\n=d7U8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"5235abdaeebcf2000b49172474df150d0dd4a247","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.11.0-alpha.2","apollo-server-types":"^0.3.0-alpha.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.11.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.11.0-alpha.2_1582646557948_0.718954435052737","host":"s3://npm-registry-packages"}},"2.11.0-alpha.3":{"name":"apollo-server-azure-functions","version":"2.11.0-alpha.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.11.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"402292ead17bdd6237da5ca852bb98800d143f3c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.11.0-alpha.3.tgz","fileCount":20,"integrity":"sha512-rTKyC4CeACyo/qvnxZooiQNQtoTNBYBRzhjJgTbMEOGLVmRN3ciz87v543BeBCUHqtf7EDu1vdD7ahjisDQlDg==","signatures":[{"sig":"MEYCIQCs39NG1ASHqkbWPDSMi61PFyt83wdDglzx5AzRHYg/jAIhAOlHWmQA8RCgFCZnmKcT4QZqFnk/rYkzjawBdz6C+QH0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVUtRCRA9TVsSAnZWagAAI/UP/jKMxhVmoYsq/eXHF8wv\nVfLVQQJdVfCKKuT451ZLtQXdxhQl/ADsNjF1wuljbYu8yheE4/QcP8pdryh9\nGn3+cGsPf7ox530rAtcyDyG6pDdMtY9EV+Ji84E+/mGOAp2vOJqBqvVqBGw/\nD8tWLPfveSXClRYTmaUywnB2bWqoqoF59hI6hof5v9sV2JXzK09eSRVn29m7\neDK3pQPtMb9/LhZ64YfboF3ZKdgX08lGVrMDvZrV3nuPaK7T6RoPI7hc2RB3\nJVIEeTwvsYg3IdJrXpjJdC36TJj5EPsYC2vd0pXEKRoTKprBgoRQz4Ntdf/N\ngft/sZ3711wWX5s+HEWxpMgZo64lr/kvaYJZbdtCcnFfUYqDuKyTustm4Bcs\nxbQyS/1sQxubO7uwobpMGYxqHBh/sD+MxQpD6y1owta0yVe62y5RjT1dBOwS\n9eiEXfLqm6zRtuBXTmMwh9TTPWnaZQ60Gd4kcCaRL2xaEaAhKL+e/1bztmlz\nZ5TZCjBh4ngHNFDJScTOip9a2g11I604FbQiY8oC2EIYfzvXLYdwHLdjM9YZ\nFEAHhny2KFAVTSajf/su0QhoKbGzmvn+Xaz9Cz8wqT6O2pGYcpVIzncYv8UB\nwjsa0TKz+1PPd8+Nv/0jw911oKhDalZEMLtv1eJCXE2ikhdFSv2xHqOqHA4D\nQUvN\r\n=s37p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"062e6a3a76f00c6f9c5253c1db00f77ba4a74ae4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.11.0-alpha.3","apollo-server-types":"^0.3.0-alpha.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.11.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.11.0-alpha.3_1582648145326_0.6728316938001848","host":"s3://npm-registry-packages"}},"2.11.0":{"name":"apollo-server-azure-functions","version":"2.11.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.11.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fc1597006a45290cfab013f00325874f08115c6d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.11.0.tgz","fileCount":20,"integrity":"sha512-T8g2PzcTW5+HgzhVynjntPTJbs8K3fsGAsxrjc91Aujbw1Lm9zU/szcTei8jj7pXTGhrjpdmp3fPRuqoNp6NGA==","signatures":[{"sig":"MEUCIFntr5VRy6fSzKkQ5YJRQEZMkqyUBMWQlF+ziiWq0rcUAiEA3PgdYkXzHfxAn4RY+4XkTk2fEVhCjbKg74Zws6kpFt8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36055,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeXpcWCRA9TVsSAnZWagAA8+4QAIpyJ+c9LFUaWi771jRI\niEaFvIQfG0qikqn5GE3lmhTpmgdFCEHNRTNrzZzofYbiX7CFh6XSlkdsHA86\nry+58AFfFCW3XleFyiCjeaPOVNo81oqAoDcxpxh8Ew6XiowfrOrvykbVIBih\no3t/NSvuwZO0TRYPPCG17xuuS9fxUHjYeIVdx5feaXMf5wlnd+6brdzujLRb\nZqz/SbK+Gw27qOgdy/JT4Cv7enip2v8WBZwqJ76qYcbyOj1NUNjZE4L7jLTn\nWaa5mCwfFOtP2e4shxHah+ry3jTDstB8K70/8hgsXvYbDH77LDvgCOBdmxKt\nhmR1FQDmXGekgnmxX4kpeMgyRz2Ahp+KDiG574r+rYXJvEp0PGdQFUSkTVY8\nooITyy51iecyXtrorIC+KraJ6qVXcFc9aOilD+vs/RKqVuEfLP+2+KbB7f19\nwkyeZRjnUXwgwj9Wc4lgJk1soOxL7YAOJD6Kzpz6Xjm79JSo7SYgXvab1DC5\nOGROIOAng+1D2ITKynMWDZ70DZgzm4+82ttdQDMOB3OH1VfXFvrjDtYFMkCx\n0700MOlvE5nwQLr+nt3ovc3/s+6uMbvyAYRY6+TQ4lBfTZds3QM/sCZkq3Jd\nwN3AtjvHjX1NDUeI0rLeKWlhpONc7rYqId1CAppOMVYgjYfRWAfH1yqUZMIF\nQQ5w\r\n=Urzf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"056f083ddaf116633e6f759a2b3d69248bb18f66","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.11.0","apollo-server-types":"^0.3.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.11.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.11.0_1583257365551_0.8142956116862403","host":"s3://npm-registry-packages"}},"2.12.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.12.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.12.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"106a6967c6141580a3c17162940957505ccb1f9c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.12.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-cDpnOv7diYS0wSZ8r/PX9jJalt1+7j/PT0sW1HWQxxEEqhDLa7Wyy6ohoM8bDRV6RBaxc3ZgA7KSrKEXYa7ufg==","signatures":[{"sig":"MEQCIBtkhi8A+5n5sTEVn3G3M9N6ihD09hYTL6bxvK0n+aP8AiAbRKza2eCHNjcTincHBqL77Xh/qw48RFV5BjoBatbl/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36079,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb9f/CRA9TVsSAnZWagAAmO0P/jRDUvY6vfXMa/ZYKlnU\nu+KOSVLmc5Vl2wytQQiOBQWKy7WzEcmC6MUBpIoFTks82Bh72gU3zX5jFdc8\nHk9CEl30DWDqN9Y2GNhuYEHqoge1K25N4x9ATXmpNugVwu+FOKptn1RkyXlh\ndkZnW2dgBdBOwaMrirR23bt7GNRYD7UdR7+BCpGTqledUxbMCgerC44iolsn\niIrMaybVdj440cYUscERDuefNKxL8mpNIE2lCdEXeF5NUWXy7gzFc0XNhzPP\nAMt9ZjoCVmH9esxBUiYLJ7TogqWXPjOFQIk2q4ciXobVOaKd5drDTworZ1Yy\nEIilOi6NDxxruBC7oi4Ir9SFcNs17CO52Bxa1VDyVqLXvQBO21VrC0er4ZNU\n2Us8EV+7RK9UnSRio0CXZ5kTN4OeZhYWFZxZYlZiDhTQga/MZN+Zt+BxVS2B\ndEdeFgkS4MYBoI2im4ilZcOTp94QKkr0r/p4deexG0ZRujoYp9F/6DOgtxKP\nWNGoN1sk9eSClcuruZp6RtH6f5fs5N5olCI+vOjtNBZ0jpOR544fpKe5azul\ndEFzbCxiTCz1vIVw2jn0bSnX5oZCNLH7yBIJdRCQYwbWUGBuxQb3iE0XM125\nUbO+sN2xEJY8MTKbQxDOkX6ZP2D7cNe60aiuEqKDSa9GMLhYg6wd4ShvT6Co\niIkZ\r\n=p0DJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"61f912de18abbbacb2acfb20a248b88149ccdf47","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.12.0-alpha.0","apollo-server-types":"^0.3.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.12.0-alpha.0_1584388095272_0.1705769831753159","host":"s3://npm-registry-packages"}},"2.12.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.12.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.12.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c7bbaaf03d5ff2c5629788f2fbef6bc88683958b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.12.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-mxhFZrrqx0X80Xjawcw8xn96ldi8CBs/mC0EDzAHn8W/1n0Hgu/QRnq/LVY+KIPgwlwttIRnPXfhLnTlqvkPGQ==","signatures":[{"sig":"MEYCIQCxrep3ukNbvwpKJFG5tQ1cw2wlO720jYbiWmvmsYaeFQIhANPC2lCJwMm/3JNLG2lnQ1r0TjNv8TmO84ZsCmWonsM6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecmO0CRA9TVsSAnZWagAAoEEQAIBkTm+FoCq93hgOzxa1\niiEjNvPtp8YtyVmclWK0UY8z3sG2WzQ3uDhesyJNBv6qICMAOGhrFdBHxIXO\nO/Q+r/gEw59W4f9KKbUKREeTYbGO7QVzUX5QzPpvjAuuU5Enf+VWRRg1Aavq\ntOICU3b8/SQ+PCbvsgaLzSpvdCuwvmU609+XQQZWpYV8ufqGdjwmCI0FD7zM\nGzPW8S5SdDowkwaowuv6fKQSgBN9YbtpiZBZCI6rI25AhfU64eZvx7cHoYdP\nWlN17biOFmt12ursIMZPydq1CfuyQx97SYJm9ELV3r5P7zD21ewADjwZv7sY\n25CiDEQUaZPvbp+2xVH3qxlAS6o6misCWBhPdwl282RgOm4AZnPSF8FN+J2y\nWdZdtQfAKO8Ae5wQuXur6P5H98MSQcxJVqg8rcNGr7RsOuqOBfAlBJBAz75N\nkdgN0EI5VUV104l5ZXVcfX1RA/ABK7Tn5G6wICKK5QMaxaQz7j0QY9JJH79b\n/Opiok+dpfUCB0JLkAhP5HLS9oEynZpNs0wZV99MM5Dl8LTiwZnWAvBEy4HB\nXOgRAsMvhKL1tFKsf5MUTDtM3r/f+8FPLNZpGsTTEnYpDtjAPqb39esrF206\n3DjwlNFSwQWnbdzcoMnb+s5rLdM8QZpWNSy58Aij73GnQLXciW/NKJbqgJrD\nBOGF\r\n=v+9x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"7422d70e19576f7e34aa289c535325552881a17f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.12.0-alpha.1","apollo-server-types":"^0.3.1-alpha.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.12.0-alpha.1_1584554931934_0.06216412908103219","host":"s3://npm-registry-packages"}},"2.12.0-alpha.2":{"name":"apollo-server-azure-functions","version":"2.12.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.12.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"80a92e304085daa8976be669c3208e8ce299aee4","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.12.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-yH9xFL3gHisGCRsvM0FHdwa6qsi4Ao8AazOMGVqyJVRIiTvOELeizU8TI2V0xb/wcOY3k4zJtIAsoiLdU/zIiA==","signatures":[{"sig":"MEYCIQCIWQsZ7uKLyOUKiHuj8wztXEqty87OMmDDDdTuujXtnwIhAOc65RRAM0ny1EmtuRxl0WAnMLK1CaMXGu9K5ltJ9HZS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeeMpwCRA9TVsSAnZWagAApRwP/iCOZawIQQlV1C+6hjpB\nZvWFOUfy8INDQXonxxaLi+X8eCveh+qiGgEhvQgXfWZueVhi4LENur3Sjp9Z\nJxoNR+RvdldTcvMb6GqqNY22EI4L75dmRB+FxVg0Dub6lZNdntSQlnmEsRWp\nOOkSL/LhTmmtX5w3g5iVYxwNUu8dwDC9gfLTDxJQiazb1tajbHA3CSt4euKp\nZU5ANax9/9utyKneW/CG3miNsj8Gu/ar1xPmuA57OsVtQxfHioruHA1YXjTg\nvVOJbx7Jr2z9Ps+/g2vZFpt17Q1cl52Rk5cZZephmUq4oANpOqZdiyUa+UOT\n2YAOFfg3sx1W5LfqfI9tKE0CpsMUefqRFAtYoRq5wyMypHw0qoH6TGFrBpJi\ne1NtKgCmoGtKj1BRfwm55pG+9k/V9iMTw0hjS+5r2g4BBqTib4EqB2bfvfBo\n+YZjpv/R3ioib1TlttzhqFlAciQnd1N5WBX8rdFvJQmGb7qv1ykTfMtGYZKb\nklEmtB3eyZeDIzD4B/wHEKaSn9deOeg1DYym6YdqkHGrp1bjUX5KX/FYffXy\neWO0lDFSzZzjFLxMBG3gitpbIjtPJAw4kGt5dKgW4gYs4MfWBFAWt8Uo2eNf\nUzuuqOkVlWzVrWVotsmfB4F5QzjJKJmdCKEBj0vMgolh+Gp5NklbjnCYpOsh\nEFyx\r\n=nIbO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"34c707246f8df95a1916aa59469e78fc3144c8bd","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.12.0-alpha.2","apollo-server-types":"^0.3.1-alpha.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.12.0-alpha.2_1584974447722_0.2949647582980295","host":"s3://npm-registry-packages"}},"2.12.0-alpha.3":{"name":"apollo-server-azure-functions","version":"2.12.0-alpha.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.12.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9e891b167a475525e07802d5a2c59d4f04ce725b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.12.0-alpha.3.tgz","fileCount":20,"integrity":"sha512-J83aqx4O6kSa607pRI65hlci+dPqf1wPHDA+Aq2GSGSXumWjPBg1Ia9I7vbUJiUV3vbcpikpNzgrd0Mqn5cilQ==","signatures":[{"sig":"MEYCIQDa/z3prndneO7zCMg2OwSzRCRVOJiPFDgqQrcWJVCYMgIhAMXTVj14C1Csk2F1WNTeECRpT2bzkl8qZZcTYU7mTWrD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefKqaCRA9TVsSAnZWagAAZ88P/jMduffCc+cIYkLmM+3C\nbSVZidavwlp4CugFkTD5ihPsV1hBNcEnOlDYFELf7kKE89HGBgaUmT6KrtAy\nz4VEwf0ti0xBo9FWM+8PNPEFguUn8hMPkcELjN7wy56kT45RW4bnO6Iaq4hr\n5hlbl95wcj5zWoyqF4HRf+r/oOnmtb/b1ga2+KhFn1mBZuKILx7Myr6BS0J2\ny1DeByXrSBJSC5Hfb7Dbwv8VGXUXNF+Ho6z9w1gf6Z2qXwfl5prUOSpP09IU\nM5ROnB3ZNlFQ+eQs/t1gEoebsEmdGsH/ZHfJ9gaj8L9ZJ3NJu41BpavyrHbL\nq5tIJzgSwslFhhIz0SDjWZL7u2M+Zb47XYwpDEUMrzgjyt/Xh6C1RGj8Kv6j\nkAwGPlPhHl/e3lsHXVz54/CXw/ny0NON7KDH8gSj2Ti6WoQyyFGLPd8//csR\nAsBKYVDxNeEU6HbPLDckxw1PciyP70+eyulOjrXr1wZDfdG4NOEKJK80ZfRR\nmMy/9kc6MiRs/3uPP7a2OmCNezuOb3muNagae89t50C9zXjD5p8uE0/0nUHb\nlU+Ou9UC7eWiesRuitcfcu3J5jim3gr9KnjAly0NCzFgNJUJnM1Rhp9QZV9C\nMuwRIeb/7bJ8n0yXtE9ClxAbiQKpgYYH49U4okJHgeYepJv2AnG7ay4gX5W+\n5KHf\r\n=HOpm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"3eaed42548ad524129601263b4b2d8e3d7b65d27","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.12.0-alpha.3","apollo-server-types":"^0.3.1-alpha.3","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.12.0-alpha.3_1585228441738_0.5058847306694589","host":"s3://npm-registry-packages"}},"2.12.0-alpha.4":{"name":"apollo-server-azure-functions","version":"2.12.0-alpha.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.12.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3374925974bb64f8fe54efcceeee599cb1280d2d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.12.0-alpha.4.tgz","fileCount":20,"integrity":"sha512-n+IwaSageUPKqmDvT9+bA1Tj/sx+Z5n6EARSlBuOxPjsvbO72rwmZibqOv4n+sgoKfHyVnvzOcrg7/vnsdUlew==","signatures":[{"sig":"MEUCIDMdbV/KC0hR7DFJHEXtm8amnfXi/deYCfElL2Y6EnA2AiEAxszN/npxFCBe/Rsx7QU7P6rzfTXJkswnLWae8TQmeLU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36087,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefLQPCRA9TVsSAnZWagAALb0P/2Swl2oHE9e/GH+H8UWW\nI23AdIn5fNpmprkCZWRks8EPfWeNSKe+v0yerMAeh6FR4FW+Yv9fi71w2LN9\nRGWYXF2I+FfJQNGyzjxNlerUUItfOQ+bh5f1Ju4ueMZdyCUy3rrnQ+tB5ovp\nV0+A8qwacaEZSWrKWmzJL5RAlfFoLdUNstvogh5sSGihx1mh1rvTISUyt3Ws\nhBIdkPMPoZkNtJl7qwGlPBvBAK38sBXWSi/gjsDhILpP0LS2FoCJtfhMyGnN\nk4Xg1zXQdQKVXyG8/dA0R4yUNzPJiB8By8GoNebBWnnHJ6xh4jHUWkp4vQcn\nYbJJfAdABePfW8MEsyFGcjRtEbj1pzoPAGpW6FU0lYwmaJITJEYdnVPo012a\nhYxPXzCFdM5c1U1Hak6JMpb83JiEVyqg/Es6jgVnv81HzcoOOi6CCi4+yeRS\nLOF4JFWInhYZCR1SzIyiQc6148b5N4aSbvau/PurzVBs/Sc6rluMz+9/yFiO\nJp9cCkFI/WSGjpNeuqfuSB3ztp6H8iSP2AuqIaBKpxuUeF9RSDQd2EtPNzmR\n6ewJqO3/PqJoN6pfEUs+erJsq75v3UwmeHCi9rjS/0gfjdMcjMJMN7R2UaI3\nEArvK5Qg21pbsgogMSwoKyn5WLnzFZ2ppONbNmnJBSzb1DL+CSapJGByn2xF\nVbau\r\n=MeAc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"a6189b32fec3f1ea1ee717e59d89c8137797aa50","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.12.0-alpha.4","apollo-server-types":"^0.3.1-alpha.4","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.12.0-alpha.4_1585230863033_0.2184696998394713","host":"s3://npm-registry-packages"}},"2.12.0-alpha.5":{"name":"apollo-server-azure-functions","version":"2.12.0-alpha.5","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.12.0-alpha.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b0138502307060d3e753ec6409af9998b3fd5dd4","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.12.0-alpha.5.tgz","fileCount":20,"integrity":"sha512-6sC+CMC8Its5JRiMPrd/YnSm8+ImgiV8o3oG7jUEwbLEIxgSXMCzoxvKS1H8L91w4JDyY2tXg4wLibAmMYDOYQ==","signatures":[{"sig":"MEUCIQC4TEwkrzBuGYlEYRJHJRYooBe+E4t/6PxcwsBLfxJqvwIgDmAd4+l8X5NBB/F2wrOAUu0H5FDQXXq1cWkO4L7J08c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehnDUCRA9TVsSAnZWagAAZWEP/jIDaCcJG7x4zwpz3ONq\nvVEr6RwEd5/yPDGTwxem14tAYobyu7/6km2Pxc8CI/4A3cip69DNtPTeLAQp\nReA9J2Q45h99isy5GTHvAam74/5WLqTN0+cOrcgszy19jN4eMyHRP6on60Iu\nFP0MFU2xrho+xIh8vlIKOxORY8fosz3Fiys2FDoZ36SM0LlWXPhAuVTOq2kN\nAlq/iG3VCpRv2hxJSx6yUW4OxWUwssyHqDZ3MVeNuxkJ1wGlIS9ePGdFKo7k\nstbsmGEE5joswRUKWxUShqXeKifHwXJyk4i6k/4ilojXKu+nDMmF5yOCQVUr\nru74Tu6twuJkp7Xog94Tf2gfL2BcQwhLf2yQOpcorbT9HIGr14YQkxvkxesJ\n197ZLn83io7GleK9Z9vJyrB2YEsWg1bAqBCvaPyg8nKdX9erbm/m25pEh8zM\nCH1oeQ8TVmIjoWai0urUZEFGMEdM9pzRQFV2dpT5h4Ip5QwTJICvs5Zr9utZ\n1OVDL2z4MyrNypzq3RaZgPAcCdbyhMooLm1kx8AQkF12CgrMLSZcC3nJHMz+\nSBDqnpfpPunaxWpXv8R8l+H1BZymKwommDCt6XnnlYN4yT018Qe+bixnUJto\naMumUTldSAdtxKJejHlSw3nQPg4Scgsc6sWYuBJs0WCek/wx2OBez6ipQgwE\nGQ/s\r\n=+Qh4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"c69557b0e94e15ab2ddd031ec46f20f58cbcb96f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.12.0-alpha.5","apollo-server-types":"^0.3.1-alpha.5","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.12.0-alpha.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.12.0-alpha.5_1585869011871_0.5747778797359935","host":"s3://npm-registry-packages"}},"2.12.0":{"name":"apollo-server-azure-functions","version":"2.12.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.12.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"625d2aa2309c60de2acc423eac44b8f7f7a43ba7","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.12.0.tgz","fileCount":20,"integrity":"sha512-TeWxup6BBgVWzf1npKm59Guthw11wLJf4HLfFhXMKGIqFbD8NJnTjDbrJOwIq4OWmSU6Pn3yg126I20+cnZztw==","signatures":[{"sig":"MEQCICmCqZ0imFW89alhCNmxvZM2TCnuYj8J3HM1Lp/5QXRLAiBG0QI1gsQO/zJMhRQVndrgDe0ET3LvKOpfnqx0kuSMcA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejMg0CRA9TVsSAnZWagAAslAQAKGYx2CRzwRDHH81JpFH\nzCIsz7wWJ3uvS/OrOKEAtr21WzhvoUnS2yz5PxOnnnVwt9tB+L1taklAskAF\nUSGflnYzdEfwdJzfl4o0wBIF/DZMTUZ+k+i0uzp3BkwhGY/OT+ue6JVJi7fZ\nyhDx2SeROejCP7Ztax+NeJNaoJHQNsfnJwyBX0+CVwRon/fzqQHzvq+o2G09\nHaoHLbjow9WcPbbDmq3tKLcBCVLznwzZNXtrqs6PQnBrnxKUDsQ69zW1VZy8\n+5TYDixNlwI4gJYjhlCeHkOjiV+Sol0C7HbJuwN95qbkQqCsSsNXkZTxzQDE\nzJsxyCMb7HoZMEbzeP6QM63DK8iawb1HlWxKVxt/NKHAZd94tg30v703jtmD\nAWQik07OoHK5NMrzmInDS3Uud8mFnA0oScjjiEaDv/VHwv96LzSMXlgp25T0\nN9Z7Rk4NRb2Fw1xq3ovMk2ucfvIaZzWXkvadxLqsxrEF24MNXuC5FZUbBTWE\nGO6lViypMx2qFgCDdAYfg70DtJf47y7oSlM2K+3RfdPKH0yggJr4c0nitpsn\nsOHc/yyyUMN6AfZIGwacsEQfcCVqlmdcl0Xgib8osC0nEkZMzf7lXF2KND0z\nwjmRxlqDCZFzJbPgd0PElWdpvbsA35JuP9/+An7fCIEcSW8q3J5EvJDlme6C\nqNVn\r\n=lWdP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"71a3863f59f4ab2c9052c316479d94c6708c4309","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.19.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.19.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.12.0","apollo-server-types":"^0.3.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.12.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.12.0_1586284596103_0.2506750034318008","host":"s3://npm-registry-packages"}},"2.13.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.13.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.13.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"312ff302baaada5a93bcccd4eb08b8728b85ba7b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.13.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-fMnggGAqWyLSabujAJbw5n83IP9+w0rt4XztAnJABL1e1aUzEh8gABft8lmyMSbOT6yd6G4VJvwabVP9IAxa+w==","signatures":[{"sig":"MEUCIQCz8fRx0t94Lawpb5N6rI8jwoNjvsxBw8K6fVFt7gSamwIgLKIyFoACYWRFUkBZqlFDPWJLBHVOgD9tcsc8juVySJw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekGNACRA9TVsSAnZWagAAYG4P/jbeM2ewmEr1/RBpJKkD\nGrK2dyKClHjRVGoUR2r9ATQzKAwg/Im/7jixgAMDk5uvIwefsWFF4pMbxBQt\n5TUEpq/6goCBbuJYTSkBLpb+lSYnGEtv2Th1LkYBaiokyrVdFsbqstpzsrZX\ndIS79mDCZ966hNHc6KuQBjWGCvJi4vDgxZ2HUBie45/ExJ4B4h8X4plZNGSY\nkOEDkspHEvPvfla1YbC9Tm/jO0RlsUuMtAbjWGBl6+fqtTObAm9PMlBWeovo\nQBfYuqSNHxSQH+2KNqA2Cit2m/MgVBoQq736QjX845TPO1dk1SvIyCjLXs1P\nCZnG9+B0D7NkN7SkS5gEOJU7H41jqk3js5LiV/YQQ+41NdNSR8zKwZbH9IVl\nF4LdBIoU6ufNZg9XAmdpZ2kMApWj2yqmhzew98LczCh9gJN1UE7WGszJ0iF2\n3X5y4Li2KxrDZQEQDzcSVPq254+dXxbXx8hVA3t/WNBSqRfVkFT1iRNpjjRy\nqqFOVAhovJqJUx56nu11MvkdQ2NmrThIcCMhlPk/zgNWWPkJRYOBuLeRJHla\nkWI0z9KMB9OM635lcy4xef2XczCVNNGvJcVEDP3DnjKKBvJ9AnKsE/oGpSQh\n62d7qi3NM0wgnbY1z7XzcgefMblFhRRKHuXQruTU3pvpI/Cp3i7qRw+jlagU\nEds2\r\n=zvqF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"e8266d6ed37b1072041f9d6d9353caacdfaa069f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.13.0-alpha.0","apollo-server-types":"^0.4.0-alpha.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.13.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.13.0-alpha.0_1586520895626_0.7374974214902545","host":"s3://npm-registry-packages"}},"2.13.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.13.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.13.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c6298f8ca47bdab61953b060712a6cea6f29e2f5","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.13.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-xeKwi9loudMYu8TVG9PBYmzlBWD1W1mXpEk9Gjhk6XC13AvjsI1u87+aUKIJhtQZub/kPkQXm6Hu1u7MvdRsOw==","signatures":[{"sig":"MEUCIQD9wpRINPuCOV3BT2NiOxvQ5KRJVo1vLShH07Y0Ov5iWQIgDboL+laR4BkIFBmnZ/q1mcj4pMu834BLZQA2IOxGHmk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeocTLCRA9TVsSAnZWagAAZVcP/36zVadBQ5TWC5nqz2HQ\nZe5uvkGMAWC0te1oCJdYRIQp4TABYTudue6FYigHKKHxWLxpxKm0cRR38HOj\noQJZU0iKx+Paso03FIzB9fCZwhZwDye6xQqaXkMojr+onCj7SRmjJ3Ukc+Oy\ncLP7o7PH8WvKZJ3sVT9rkZ5OBR8cx/9q7R8Y3YAoUG64IUo7rSqG5Oa9e8+t\n4CYe6TE5n7kfP1CVwJo2h6Hpj0dGm8uuaH1AqppQEElQeHbkM19XLFqa210f\nK7Y7sx1zWe+pWijjSWaMSQa8MUWFo0VjwTf5w5JoyYp9ZJCO/7u8UkvEdHPq\npy5RLxAarHD8R3V2ZR5iu+cwNBPtcEbL03MHAMpUxgt3bXOca4yTxBSCom+P\nUtayr77Zi/K1tA5SUNL23hP0hU5UpRKQConQXs1/RHidRIafqmCr7lDVOTxH\njkT7N09cbbVZW828kAXL9yqBaDqXaT5Qesa0Cg1xXFcuHE02mwW7dkkqaQfb\nfvSy+MUeQ1NqhUs80pvaWKy5Azss4/UorsiEWubn1QmE6HqjpFQtzgVpggyc\nHg56uM6Cn7PSO14Ou3+D8aB+LgHs0nEOhMQTdypkQEBiAUEUjDSEXaIM4q7q\n/QO83F4H+oJJvKu6tmW4RsafrzUNf7xAkk060+RjGdImouF6kT6+fFALgpSg\nLU16\r\n=9vzt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"0c73f3180a960ff5f94ea87466a7c5aab986a03e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.13.0-alpha.1","apollo-server-types":"^0.4.0-alpha.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.13.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.13.0-alpha.1_1587659979242_0.9831348414175947","host":"s3://npm-registry-packages"}},"2.13.0":{"name":"apollo-server-azure-functions","version":"2.13.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.13.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9954da5283b1fdf6dc152972605cfc72409fd92b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.13.0.tgz","fileCount":21,"integrity":"sha512-M3IM0DdgqlVd/HJ31PWHciWZ0YuIl0mpi6qt+/QSMOEkVB9F6tvxsh8u/Z8WLAZyY+zk7ikzF5pXv50PLLrK/g==","signatures":[{"sig":"MEUCIQCzrNkxdIseD7JFslsQM9Ehl682auMi+NtS0Pg74yN9hAIgVTTUeTM5gvUjFr7LQ0NzOY8dbrOSjJfzHDtek/47egE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesCt2CRA9TVsSAnZWagAAXZ4P/1fml8TcppM2QFVUuoIC\n5ScXUFhbwwyJ6YAykQx/P6n7xtXgslO3aGFNyyGHxyQaiuBGK2lTGOa2ml3p\nxaFQhQDNW8ObP9jqi1WsA21lXi+AwbT5TvAUPmf6WFi/oPMZVmEDl/LjfL4d\nnJGnx3LbKt/ixTopcF7ZYkRR39LvDzp9eUi8zva+tQNsYdd7KsTKglE8dzg6\njJlnjv+iJGcllMmL7caoR3pXGkexvqStkoQJ5nVunoHRkZDUW3A+RVni8Idw\n6E7HnUDOHKghWQbKppl3tfbh9UlGAAuvMBaqepE9Phrh9buOd1sPdt5lR6jz\n9u1iasEp0UqEMQxwzv7/btuTo8LLfPib2ZFsIjjm3k0625yLsAnR15LHDKPK\nFgU6Xmg6fITGk3B6Yr+UPnAq3OJRKnH/QAPkJ3lSFpqBQcyqcf5fNYxr/Q4x\ncGgfxizXOhPcFDVD2d7uZU6yo7rhUJoQtyCrEDwsDnXABwFtHxXjtRAjAFqO\nWy+YMpINJOPiYN806xGP80SUStpKjjbnLzGfOEePS1/rZ7wjh3WBlXiIMR2Y\npeaZf43nX4zfkFA6nI3NsAfpofy7f24XQ24XQMn4YL4iOjRp669+jUwAs4Zd\npHZIGTAnFrk+09XyDmEoGdnXPdG9DbJVOqaZ2ndFpXb6szQH8fEaBbhkmw50\nDDN3\r\n=KhXj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"e37384a49b2bf474eed0de3e9f4a1bebaeee64c7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.3","apollo-server-core":"^2.13.0","apollo-server-types":"^0.4.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.13.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.13.0_1588603766454_0.2537184661704912","host":"s3://npm-registry-packages"}},"2.13.1-alpha.0":{"name":"apollo-server-azure-functions","version":"2.13.1-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.13.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9890fb9cb1dfbcb7184b45d91e9c87cfc54288bb","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.13.1-alpha.0.tgz","fileCount":20,"integrity":"sha512-LC31rFBqFpco/s2RfHhZJCof8S/ALsNPmG+fiPLydMgJ9gi2KaOkYxZjqhl4Oqn3C3HabxhmrrPfK6HfP+pY3A==","signatures":[{"sig":"MEUCIQD3Ys2ap6g9kJAgr8Mn4hFndbCUQ+SxiiAWEKsWdtmTQAIgdY5vECTXKFR0Gz4s0kd5YzWTCE4Lis9GeptWEsJ/OmE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetbfPCRA9TVsSAnZWagAAZr0P/1a+Xb6akp79/mipjf2D\nN7pYrc5x7SBcurEWbOtSQMVsSQc+4EpPZ5+Ruykxn2VL64gqoaZpt8s94Dhn\neAIAXkIi3OR0R+oKyGpsDelScJ9XcQvmhXhWXLKQdhZk+Uz3welP5GXVxoUQ\nM0itgyxvkjHzPnnp/h01/bxCDez8xmWm+a2GdGEvYn/p6toUHibOv/DVwpbW\nphqnWK0fVvmzuG+mQDMlZRD6U4q7nCOnPdAhWD76JfGov3GLeN3vlE9QnfKs\nuIZzkV2TrjkXUV0NPRkhXvD9N/aQfBILOOMMDgowNM4iCBNPqT/MnMmZZjN3\n2YzX28RtCCtwB/YA0PoQHmuvUNXqjklgMRFuum4Xh401Yp8qNJCOZGD/ULNP\n65sJ6r3QcvFpmnApsS5Ku9+36yozbpQLgWeLpdJXzmLuZR1O4zjZJAhIoppS\nq8cCcx237DUqEr5XrQcBCWh0SBRPZ2/JwN6TyawpBH2V7WPVHVIvMQthZ6MS\n2CfPYdoMaxTTyhlMuHC5e7GyNJaLrm4VQmls7FJ9nOFScDzn8ua89bKFUfzY\nXURZBKXHh9WoiKknpHNg7exXx1j+sLht/cgGvDBlfKzxANOjtMpbkI2UBbQ/\nz4B6NZwtBdCACJ5MxcYdg1SNNMXnYG5vyiFSW8/UllhzlbfVzcM0v8Jzy0E9\nNx0H\r\n=TSq9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"626c4b6505ed98d47855712a568fc4eba9d8ff18","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.4-alpha.0","apollo-server-core":"^2.13.1-alpha.0","apollo-server-types":"^0.4.1-alpha.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.13.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.13.1-alpha.0_1588967374921_0.029336947665673963","host":"s3://npm-registry-packages"}},"2.13.1-alpha.1":{"name":"apollo-server-azure-functions","version":"2.13.1-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.13.1-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"52a4fd7962893b0761075ea5e291c008ce2ee9bb","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.13.1-alpha.1.tgz","fileCount":20,"integrity":"sha512-bm02qB7JLcfz8JW8HoJfXvCVPOiiWR6ZkDXto/JyfVQWFhChojIeLER3bLu22QKEv8rLi9bhhvfTjV+hr+dkEA==","signatures":[{"sig":"MEQCIFxY23KE22GWqkqw1sBRv9WuJMyok5THz1BUNBvhcto1AiB8agHqn0sh//ODn/970ArxJeodYN4GQj+3Zgk7a+I+8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuZrdCRA9TVsSAnZWagAAqkcQAIbpA2V0ub+ppTcxZD/f\nCegsFXiuTkNDyTEGeOkNqKf3Cb8Q7X6lNdb/ehiZ3ZpCWyyhvRLW53wN0BUr\nYf4kry2HnuebrSJpRyx9bKepekcH1DZz21xWTbjsSIC/th5KRPGbYDk8XXFg\nWffKi7anranUKB0bu9hQ1fbq40kreDrejUpQvpiRYvfqnVCyrEPon2uYfMbE\nSI4LWWf34hicVE4NRfqvg/2rVLq6ccOePdIqF8EVEaY2YHxuKR0Tlk4bShIb\nsEdWM7JheUPcP5HaoSa75R33jSVuk+ouFJVkadSBPVHUyoXyyoEL0UcQdDOg\nYbjjx5MzNh+v87yAzaa0nLAg+Ngd9+Fysi+nVSLSi7SLBrkN98ABRz/02ACN\nkMU7/Rv+rguSw0x8fCRZdu/XuTU8sZ7X+VJ+9eBOhXIQEGsEf5FryCU+mjZZ\nSezspNQg17sa09GENQupe4HNoaFpygcJTKXWN7Sd+Dd7XHCCCQ4+ZcdIZDFm\n0yvAKhrYB6AwxvUTxLxKtNj+YFB9wGB6ucjj3AMACi3Rp0/LMrTZhskj/7Z5\n8KzQ71K7D1A3i8xKSz1fGKDqPumw7Kqf0VGsJeK/lkcHm6JvH9vLgB7tztOJ\njR0XVpKKN1tZQzla7Qb30LiKQt4RdF72PF5w+1nuHiVu7OoOO31d/Bt6KODQ\nrtyo\r\n=yDbG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"e71ddc404865cfc8519241ed713254a3a73bcc69","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.4-alpha.0","apollo-server-core":"^2.13.1-alpha.1","apollo-server-types":"^0.4.1-alpha.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.13.1-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.13.1-alpha.1_1589222109137_0.5740159171913617","host":"s3://npm-registry-packages"}},"2.13.1":{"name":"apollo-server-azure-functions","version":"2.13.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.13.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1a48875490fa1214b6209f66669c2be89f330850","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.13.1.tgz","fileCount":20,"integrity":"sha512-r4rI/gN+ahG9xtK1Rch3CvOL/tBldVKhXGxabeDCh7X9x1xQGmitluFI/a6iSieZtvigAkY5Fm1ROCKn5bwxeA==","signatures":[{"sig":"MEYCIQDul7CBZgVxsp6jPj9gg/Kb18pewxc8H6IvzlfVaz9/MwIhAKO4hvJD0eNmMSuDG8A0TXLTxlMjTo5BeNQoTdfeIv7a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuaQ0CRA9TVsSAnZWagAAfrAQAJ8b+jWXKdLQDH9bgEWe\npteBrKBjC0AtemjiHyKYYdtbfyp7uTW1UixD3zYeRVJ2qDveXfXXGcJ0uSLR\nhu6Y1QdoyJXoqUhhIZxrbYTsUNDUH9JdQaopjQs7kDYi3AXO7tE2C92sxesB\nrn1RkmUIyjks7mmBQIpUoA6A2CEbeiEyLnhk+j+VUdtbGYrst8nJHH2WZysN\n+XLNJ9xFMbT1iDklr/NMCG8QhHfm3zeL3xCcN28dT6jrAL2xUQddOaRgsLX2\nDQutycZJ6U1BDxwQzVi0D1TtwAb2ENPtdWUJN5o/LB9Trl/uR12TDPR6vacU\nBKfnG3OltAg6kTRe+aDiLSzIb3eyuVNDhA/fvERepgUvjLNk1OR7F7Akvo2o\nP1DSd1ccitgSk7fBUFXwzkaFFG7DNZPQ4fZdcPkrcYLa9D5QwI54TdznphW+\n3dMZ+8RtOxe95kDPrGF32Q6J+OCe3HolmXnJxq+gGvXB81BArZRDF0hcpkYd\ntijA/Vi42fmjuAmKXYqC5mZQ7PCQnf4EUyavQtJ7cym3Z9Euf72rMxFGU5gz\npN8/1rj8mGoZ+33hDs4e48wfbXopVBxjIuiVyOIn3lu9aGk5+pdshNjpTqJd\nB15wuSwfhlh9EhcM5j1ivafw8nIL+daL7JgTxJycoaanQunYwP83Z5Poegbz\nycDk\r\n=hFBK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"05df0790346facb64d7bf76d4520f4ba734b114c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.4-alpha.0","apollo-server-core":"^2.13.1","apollo-server-types":"^0.4.1-alpha.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.13.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.13.1_1589224500004_0.8197478529477682","host":"s3://npm-registry-packages"}},"2.14.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.14.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.14.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"67df206ecdae5e2cc885d0a204fb71f5cc644fdf","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.14.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-bCEgHGZ6VOyeeVtfU1lIwfEsa+ovaU2hO++587W+5TVjG1VE/LuWoRtrOZ1RpenOgzdecrBu5JluxMHXTEcgMA==","signatures":[{"sig":"MEUCIQDGiK78quchX1SfFTFN+7DCtSLn8F7ZhzMlAq4dJpt+SQIgfDymJmbdDApTimtAUOM/nC5rie9qQGYSoor+YKGWU7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36090,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeu8afCRA9TVsSAnZWagAAOu4P/iX6/1iyAKTxuieOzEp8\n6O7fvCCsQ75Pyxk3F9SM/H2y/ygsKZ9y0YxrtkD8KScnIptXyJXnvB8c4bLE\nvyCazjDjetABtjAEB3QEOK9cEhf8dmzpsW9UEn90Kazv3pCJ6dS841SA8s5i\nAZKWjVNLy5Ux24C0qftjlnjs57gsFUkteuBHi5KTagEi/4RvsxAIU0dIUfKS\n0rr7lnxZzhYENhV7YMaKCoM+nLP4NyFDW47Ecbby+19/+S8USE1gD9QeE94t\nudOcN56vwQ5khR3RZSqL2BuxAq5AcwM9UzZDK3g7uZucsoU3f9encu/OBJgx\norSUwmOqUR7LPawQHB93kLL5MpdYDWAaHWTgSWDRGAsodKGRpExBZWxz6Phh\nP/NSALqWI2cmvaTG0XPpUKW9UKMHuYL49DZGkdZeNUj4ldbGpBh7bIUrtRHs\n8DgCk3DasozlXDBxp+PQ7tBM5Xj5iAYymd4Q67CYhNkGuQ99iJ3CGcai4yxV\nMSEYDpij5TZHNLUmWpFHZeFWcRSfPqiR7HmWN8RaDT9Hl9dHq2OgfM7ytRlH\nSvBUlYs+5qHeYqWf93/VZANu3DS8hBddj0zbgSZqSH4ZcNXwNpyKy/ol770V\n6IDxXNcgDPAXSNbdnv7SlYR5CFafU9SxYOf1BAGCW6p134VKGQmZeGzKOy5B\nRdON\r\n=YGrA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"bfef89b8cc44d4bd94f9d5fcd3df8941de526360","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.20.2/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.4-alpha.0","apollo-server-core":"^2.14.0-alpha.0","apollo-server-types":"^0.5.0-alpha.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.14.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.14.0-alpha.0_1589364383055_0.18568780422341757","host":"s3://npm-registry-packages"}},"2.14.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.14.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.14.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b16b235694f375b8bf893c064678bce9a4830992","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.14.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-4RNdn+f1Y3ye6H4/r6qhspcJZ+ie2mjH5OnSvo6SqmNgSXJqD+sovuahpAxaLDhK4h3ubmP0+uhaMF69RK2dNQ==","signatures":[{"sig":"MEUCIQDQqUzHzYmWkrYTJmz31T8kDf3qlCXS2lNAr/7JtD5/fAIgbO+GKDvAnGj0juilpWI1T9rfyMN6bZekMf5+euAxLa4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJew6z0CRA9TVsSAnZWagAAWZQP/j4pCY3DdKJ0UhiO1Nqr\nlWjab4eSbwOgqrC9lVPew+xwLYE7hmJhQE2WrI74neU3Sv+MGL1Ga+QAv/X0\nVlm/ADx+IGxQTKs1wAaa/5v60WD2OCO+m9i8hb086a7AFkMOKMajpCje92Ox\nIiLDheJqLI+PatJaGCnNR6aKPrWueaMtF0FuZ7m2fXrKtb06AltdeB7w4dUa\nItAqZzjsutb2FbrJXxoKs0O0yW0rToheKw3ASiEi6j+RyZLuWzwJxR51O7By\nj4OiqLlJh41kn0rGE31BRRJHAUuFPNMlYTCnSojr3cmpiOpWeB0e2pN8YZ5N\nkpJXpW0DcVoK5G/oIR2L/djQX302G+zosBHgpEsFqqsCLjeH9AgdomzGTEMK\nvMX0+alPou9llqq+qwV651XIqYyKGalMaZLNqlQw3Kp2IaXyFkkLJIejz7vu\n1C0zzFTfXGfyCwVyGg85a06C3t/jHRaz3B137z2HykxOJCXa9odMeQa81zyd\nj1X+3EmE68jfcjEXVY1IYGwFaJXHwe5FRQWmmCgXcmd00XAhNHG5V49/TICz\n9eKhSVQTZm89yYPGx1F0FxmmvQqeY9qD/SVIOivhDmm+g/iUmkoVBH62UAco\nw5jLuNiL4ZN6T/hXjRgN3m9CzLFnSdTLbBQ/3ma5EE1+8Yz5n7KtG2LzVPZ4\nS8wr\r\n=bPBz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"6b8a4366363c27a8d828e733edef4d06ecc1cd55","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.4-alpha.0","apollo-server-core":"^2.14.0-alpha.1","apollo-server-types":"^0.5.0-alpha.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.14.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.14.0-alpha.1_1589882100171_0.8074439042094892","host":"s3://npm-registry-packages"}},"2.14.0-alpha.2":{"name":"apollo-server-azure-functions","version":"2.14.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.14.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"268241af6573ea2f420739ca678e187149d9bff8","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.14.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-yKP5Ii2WtPWzbYWWmALO/RtRifsxdPwkMhiusMzlDM5wou8Kb2B+tgnrkaztawNKEXgNn/FICK1HbRPuigNICw==","signatures":[{"sig":"MEQCIFt5l1M55XMa7Lc04PmVjmvalc62gmXHkQ9+k9HHk/gEAiAfNVmdxjESeqIdhxcGTaa6ARVXGMmeoFCvMLtBgv5Meg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37507,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexUDWCRA9TVsSAnZWagAA2z0P/1F89xE18mt4gVC0f8nG\nWU28IdF3dJLFJa/SAoZ5+GjBiATql0We5WPeXFBO9vilNW4fCrWd+eRFLRuJ\np2o6xQpx17pwTkr8JWykF41GvkjqD0kqhUmXaVdd0XtnoK0GkzZ1nJG+JfeO\nNXSw+Sbp659+gRTLpn6BgeObgA6/Q+hbcD03rltX0NqheRLeewVpLXx/742A\nJ9e06o1I3gD84gGq2MqyT0DqROLXpw/Hpc2VV19/6UBYZxUtGg+4KqTKqt9W\nAhgceuUHqs9TT56LhM9ePBZ+EA+8UzpWPIorB9RcFeOuqeoV5RgPUmLuGA18\ni90g4aNVlCxzm1eD3Pum18b7dqXTowzE9h5FLuOo+jiKe8eQmLaz/G8ZHWqx\nBpxWYQPUdNFuWtQTWVYdrCdOhpFWqY/i4fixijV3iAMoMoFNLappXN5nyKhi\ncwOra5eKpohL8T4EPjpPfPBunRlvyQjNJvvGRhKVStMIUn+C7o7TWIac1JJx\neVV1Cos8MqY0QzDnoS760xQA+67FAtKJjEPsJn7MxQV4s6ycb87+8ENN51no\nBC50SQO8IvOsgt3SffihBgFs5+ff20tc36o3IWAeNWSEJacRCYWY1U3cnbvT\nlAjFF1BFlvYHdwv1beZPA5M0cL7kbCHxmXHWNpWnEbs3ZvxS5KXwtkHl0bsc\nyDee\r\n=mnbu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"36afcd616858a772c6c46ee4fe4544f54c69ab75","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.4-alpha.0","apollo-server-core":"^2.14.0-alpha.2","apollo-server-types":"^0.5.0-alpha.1","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.14.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.14.0-alpha.2_1589985493911_0.9004096050431303","host":"s3://npm-registry-packages"}},"2.14.0":{"name":"apollo-server-azure-functions","version":"2.14.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.14.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"333ffd11888d862c1ca9c82016da5e71c558e47c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.14.0.tgz","fileCount":20,"integrity":"sha512-sYD0BrM+RbAEE8cezkFe21En3+2/nnwle/72+4HgsTXZy6ZOLBuFGKY978kvUyanUXM8yYN77YOwpwhxlLg4EQ==","signatures":[{"sig":"MEUCICimemF8ci5Ot4zQNjD8gqX5zsgwkEke+klJ73KJrrKyAiEA3CljYaC6bHuL2+Y80qe98NSc0ouXLnhEVwWaGXMZhpk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeznn4CRA9TVsSAnZWagAAgxIP/1R4AB0SWTcO4xkyPwt7\nmhV55/otP08f17fe1IrHlHmBKIAxDtjPVugnfIAney4BPhtwVGUULezWXpzh\naBDhJXpS1REl2ex8eXjjTvzaxFY8yLGZ9cHhsNfEvtyucGn2Y3jObtBEO/GG\n01Pjfzau1Hw1VL/1Fs6cQSpJNMrSzz1lcs8NC5oyu6+H57kCvRuuetdklbg4\nsPA1ftq7io89LqPbTCD3UbZg/TCjFtH3YHAS0ipmhcJJ1dmi2S7BDXR+CdfK\nmh/pYpPmQd2II2wruutLovFhqoMHLLHWQj8C8aYL8+EmBviDsW/zEnxKac9j\nqx7rn/BwfZoZ1XYgQHEpzOW4PsPW9s1o02VwnsvwnKXaNPXSPGnAgt9Qh6nW\nQPNrnHIg4V0TD1Xv6IkzWPF2B5RJFKGXVoCpcd8LnYJc1/geIc4gqfLRGBvd\nphBYLVSURMtSBaJy7cpxT2O0Xp6NwBQDJYZWj5mjqPHqrUqpocIh6OimsQSP\n1Q8ejAObAFecRP2PQOiCYg2bs3YRVbZQyxOn5oBytXQdPkjQ5MV6Dhy3xR8h\nP+0HhWN5l4X41KphQCKmQAo+N+pd43INRcLBeXexAkbunddnr/3CrwjUffPX\nfHuv98sjwV5prkWGCaayjUHsOpYDIVbwvTN8wn/US1Cfx+DF7GWC0rEyjvyJ\nML8i\r\n=rhXf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"d159e320879f594ba2d04036e3e1aa0653ff164d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.4","apollo-server-core":"^2.14.0","apollo-server-types":"^0.5.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.14.0_1590589944029_0.9978326053467723","host":"s3://npm-registry-packages"}},"2.14.1":{"name":"apollo-server-azure-functions","version":"2.14.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.14.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"088b6fd7e2b32a468bb28294901edc1c3654ee6f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.14.1.tgz","fileCount":20,"integrity":"sha512-ql/8meabi+Bc+8OM8gOeB8e8+t3KQvxwWNTRABM+WEiyBtFo0+wZZuVrsL/GMNbe7pbqMSSQMmVLkVBa2V3vWQ==","signatures":[{"sig":"MEYCIQDr8NgkoOwBajlODO4vMz7gMKlYSqlcwh9YdTszbbxt0QIhAOrMqF06hpUWsV4bJ/k2ktQg23SoOjwNOQb7KFXNB7RA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJez/LvCRA9TVsSAnZWagAACpUP/25PUWHsUYo3yF+ANJxv\nXxNBf5Oh4/kqWvXGYCYQmkZGkQA90jzGBjsIPB3s3LA9DtlLLFeMZ6VlOIrU\nIXVcBDMHzflBe+EzwphWxNN/qHn2AIO3INX/HM4DWuFS+c9O0dz6cB4rLEaP\nQZITEVN6eAXq+OQDyojA5rLEVoN9gH2MrMdaJaR0cnUFmacPj5N5LFImc3Bu\nfI3OmBSlbCSh315jKA4hlssNbHR3aTy4P+ZNzTrP+ny6co91nKJcP8DUsOZ+\nfWvKWCcVQy9C/UXg2O6VtCspUtz+59O85tAeuK4q1amqy8uVB+P3EnT3onGn\nV3I0IEpHXa9ZgX+55OA3tUwtSiAUQkQPkn1MnPT1Hq43YIwd5+32+rytJ/mR\nwWID57hnwsk2oUd7gCDxCAfjnl1lANu+kvdrrtJYIA4avaNbdYWOJI+WOZt4\n0fpEQgn3m+vP+6gxV7FsovGXMcRq5vuYyUtMCGmAoy8RlPZwfaUXahChRt1B\n+TGPW5vy+yucf0Dxrap9W5VHECZ3VfYvwW244oYlIRn4zbGQmCpeqPGvxMqa\nTsN05+Dog9K2Hs1hPgBCfC+UHXcvIpcjU5prjn8dptyvqZrMIwZFQ1p3MlEC\n8ikMIW9arMB8EE7FWaMQDDpVxoCySUe51kqufm6A1+vESriX52yPnYS+PkbP\nxcYH\r\n=n0rq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"2da65ef9204027e43baedf9ce385bb3794fd0c9b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.21.0/node@v10.20.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.20.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.0","apollo-server-env":"^2.4.4","apollo-server-core":"^2.14.1","apollo-server-types":"^0.5.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.14.1_1590686446635_0.406973633533694","host":"s3://npm-registry-packages"}},"2.14.2":{"name":"apollo-server-azure-functions","version":"2.14.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.14.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d2fa10c19505ed4d66afd9a5950bc87c8496b951","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.14.2.tgz","fileCount":20,"integrity":"sha512-i4EzRb2GP2oNhzGa9DSXHRmWRPzIwsWMxh19Q5E0tvWjR3w1Ay6wy2bwzo86eAb9xx7RWHeOLaLUSM5ThVGzsg==","signatures":[{"sig":"MEQCIAsIKpn6GAAdfirPc1b5uWT2s71u11VVKCWTHu6FIlfyAiBxhTOtH9cope74AhQiojI+kfzy/mchvfNxdmvvX8304Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2S5JCRA9TVsSAnZWagAAOREP/jq9I9Zj7ZkVRrEZJ/4N\nyLc240B84i9ku7r11BAWZ4riZfbSFD3XZAG6SFXn8AQBxYm9pRZziJCsUkqc\n3fKGIov5Uv6ZSEaH1KQy8EUnPL8RFyDI/ySIZZQO69c8As4ndiw23jLtOabV\nA78tzEQosbtWq154x7uadWweBlaoOR9WER6V2oaU0kN/+2vmRGO8tVB/oNhy\n7pnKhp1V4bu+ihFu/z5qjrx+WtXjzfQDQvvjJgSd3B/2OeBN4KI3n3nd8F2O\nkaRn7UGCfXskEL1WXaRS4rGWQEcyo15K7z94Y34G0IE28X8YQkRGbQkxHOQC\nlRHOBZ4z2agqPeo0u+k3HNpbo2h1BEXNZKIel42VPJ9Pk6uhylzB6+wCGYl7\nzcbTOpsuPG4qi/EhI8VynR7yHUu5aI/HJ2jBYJT+sZklsOoBO5HKEBiwKSfa\ngtOCQPfBZHv1Nb9kJgtM82cL/SMe9+cMdgxkPl8ZTDtvnCIuLQTorfsh9RnU\nwwpMv9p4sCKehNps0ViMxPdrGlB+3G9jA5lcwBj+V4bOdrPbDe2Y57TTiAOz\nPZphjITdVtZHJnBffF5yn3eT6wYpUxZZ93yMz4RNb4Kc9kmEIbxnoxWu55yH\nq6iX86PtfxhF+2jBlbsKYCwdIAQEdWVs2X29N/vKLmm3jcTM4bRzz3LhnGGB\nnTdT\r\n=2b/I\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"a17f26bf3ee2892f5c3751713cf59920049cc73a","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.22.0/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.4","apollo-server-core":"^2.14.2","apollo-server-types":"^0.5.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.14.2_1591291464766_0.8530215652310904","host":"s3://npm-registry-packages"}},"2.14.3":{"name":"apollo-server-azure-functions","version":"2.14.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.14.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d4598b3999175b7e1bc6714f56360222fe4c961c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.14.3.tgz","fileCount":20,"integrity":"sha512-R3zKOMKZj3ccvx6p9nZTmq+Mbk0ukgAvcJHeFI+Wb/VfqHHp2uMjcXdmE78gI5ak8A1+I/ZudV7/kdgx53G4Qw==","signatures":[{"sig":"MEUCID6reiAk2lZZRLD+C3RIs7n5gG28BeDsYmRtBSVWyqZEAiEA2MiY1Yrc45J7WE4eUfCPcJ6CuVTQ/JAR/BvPwQFEspw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3rE5CRA9TVsSAnZWagAADXYP/2ZWUlmEi81Y+8FTuEGQ\nP8HkLeSe/Dlb0BAW69pSXTGZtVwAqOllObkl45Eu+EEkbD+TlZiA59nA9SSr\nZDxwN3ObF4tUjFrceyvZXZfNMp+eo/3VcLclAfRlORbi0thbssS4BqsxkSwd\nbQkLqdGCfZ817r1FkIlzD4HGoXIZh58nKe2EsrAc69AGjsT32+ZGpS4Vvzzo\n/Y/j8ZbScZ07T9BBiQLB8MXAX/NWPIkZko1lMtn5IViJKsvR+65KcpOYF9Mo\nfLcpRVNPUcbSM9nA5Zd9jbus1bFqVZKSCyfK0Un7Ig8NL1yJ4OwFdF9Gn/UL\n1S9iLTC4DUtKuK9j5l28BqWniDGoRUT1Opi8xuIQ0Nrsw19t3qQB1rHpcFW7\njxtxnOeCJ5lTfmKSURCO1yVRh7nP0s7iHDnb+Scrl1t4KAFon6S0+1TP5Tyo\n2L1zNLGg5TdrXVwiExNbCSpQWfbwND1n7Yhuf+Wa62d0PXnJBQjbTHpShkTo\nsVFMXk3nHoOmJO9PMetR1/f86968pN6Y/QsH89YEwdy3cPVhFiI2dtdZZSKD\ngyhB1zmq2leRLF+YECStFlVOuf7gJx4oQc+ng05fwkUgolXZn2SMucNZA7NG\nY/Z9EEZsvPwWOCBT03G6VTKSchUEpX+1zLdP2NhmhnM3DzGRhVR21N6aTvcc\nNmkw\r\n=qvBJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"724806fed355dfcb9203032bcf9d7ec74e8529cd","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.22.0/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.4","apollo-server-core":"^2.14.3","apollo-server-types":"^0.5.0","@apollographql/graphql-playground-html":"1.6.24"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.14.3_1591652664632_0.42581860779849223","host":"s3://npm-registry-packages"}},"2.14.4":{"name":"apollo-server-azure-functions","version":"2.14.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.14.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"55a5980a25bf02176f9ecc09720f0a84a65c1216","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.14.4.tgz","fileCount":20,"integrity":"sha512-EzQfBoJBaooGghxQX15xza5l0MMdiPYO0+UafijKp4R4MqUD0Wsfte7jXK0I0ruy/iIOsmjFOcCsFp/a/B203A==","signatures":[{"sig":"MEUCIGFan0fnNAVZyEfXXNm2cJKStPn9Clc2MQrTV63WOhLrAiEAwbN9sl6o0xK8XP/dhg/3cR0zE3souyEhTYK7IVXEoYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe45QlCRA9TVsSAnZWagAACo8P/11bBhgmmoRannSPNvr2\nkkEXWMgXG6Fhf/BBUTq3ZKmd/W2cL8EwMoWr1IzxcAYQhP1H5w7EK88bleZ9\nPcM3YxZDsazimwimLPw4Y/2cT9iN/tlE+RiaZ3T3WfDe+jf+gMlzO1b93o+B\nS9UuhlArLm4pKBsAtXyT2Al7aU1gTSWP7LR+H0V+N9/L76b4VahPAIRJE9fk\ni0x93Kyh82KwkmL7z2FbwihvOfSo9CTfLoCXRl+CvvYe99Dxf+eX1uXhO6kG\nlCaj2Llsdv2mOttu9DQ1jmSbbjQ+SYt0sittuRfTv9mhfAUAY6g0N2xktxR8\nxKU/ZHLfK3v/E+Yv+9bvEkKcPxDZ5xuBZDpwNy5mRmbd5I/E3+NRWNv01GdR\nI17x8VJdrFHZYNsCvsZL2Cj6lTlCGJZSDN1X6A8Hk2pxWpgEmg0/XsS+9DkH\nEwBSk7zAIybvAdi+RZk+GHNo5MlOWF2awXAIJ5P2rAE2WvnFZt6eBVpMs7tC\nKgmc23bbQIMRn5i7akXIfXVkNyYIPLcARfsbjTP1Jdhuhhf+j+Az+4/JvPAC\n69kEhKw+2ZpmVvtQkkZWinYhLFTHvkyV4/sqYV7LpHijBVv4WW1AfIF4YHwb\nUD7RyiRu1GS7UYd90Krr4YSLQjBkd3vlTqMPsGJhMyUo9nizZIa9aY6YON2+\n3r5F\r\n=tApW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"0ddf084f8c8a107774ce49e534bb2733b7e56c5b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.22.0/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.4","apollo-server-core":"^2.14.4","apollo-server-types":"^0.5.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.14.4_1591972901000_0.7163207081942529","host":"s3://npm-registry-packages"}},"2.15.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.15.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.15.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"95595a324efedffb5af0dd97afcb4dffdd80d213","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.15.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-lDM4mB3+CDfohrFmbEkRSTDjMpEa/ywVxa1tJYNk60bVjF8IMKVmFsfCSTxdIJ7a4ofJeaurhpSgnIou9JSGEw==","signatures":[{"sig":"MEUCIQDtUcaBGjSxQ3iofGkaG9lzPe7QaNx3ApMNOwdzjP+6QQIgKzcmdLDG/VRFJ1fXDB0ZH2oWA7ACBcuF7ZFewroVyyQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6RGJCRA9TVsSAnZWagAALLcP/29u/xzB5wFBO6sJq6Bf\n4+19KEgGnMGzDkuUxPKL/34elwAhUCESnaPYnnJHXN4LtzXRKC0pFHXjx5DZ\nBOLE7ErYd1BhfZrJowfFvfZgAlBSykccrDA+GhaTdNuPkW+f0nE8ESzq9jbD\nxR7AiRLXrhuV1aOFqLm9yWjE3X+QuVocRILFRuh9m6A3MNlo9eK8I5v+pxX3\nsRhkDQvKT8V04FjLd+GSKmJwoSgB3ehFxoh6VDXNmR4u+8l8GJrOfKIN1jo6\npC5NwKEVbJCtRMfRooHgX0v/fklEnItcxm1YXTwPzQTVq75+eXuLsgLn1qyJ\nHbuDdzGfGZ5zsSodWvVaHbK7Fig/L4yUD5IvPDtm3KxpZN+flKZlPD0QjDdX\ngDcdvweBO+FVNhrfcLsEMMEmNdYLDtpSZibfurRT3joFVXSLpzYaLd/rgCWJ\nKryqwrGm/3Y4ZJ9fJ0Qgp0Vo19Qg8aE11P7tIE61ysann+Vuui/Medlkrovm\nLQPnVeNcbeq6JSNUyuUwu689xObQ+1ATjfMQLLH4bJVcVhFr6ppvz4tI8yDo\nbR5sQTh09gWjks3SJi/VuAWH6lXO9NQqyJf1NJXLmDvzZxe7eY6PM5pi37Vk\n6HSOykNppuNnT/CqnIWSuIfdJYU+XFZ1poUCmFcTuWKMqyoQNy4Cgq5csj+O\nPXVM\r\n=Snt8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"a7d6e26cb1915a2d11f766df84d555562e9986ba","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.4","apollo-server-core":"^2.15.0-alpha.0","apollo-server-types":"^0.5.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.15.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.15.0-alpha.0_1592332681099_0.1099142915686977","host":"s3://npm-registry-packages"}},"2.14.5":{"name":"apollo-server-azure-functions","version":"2.14.5","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.14.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ebc20f7bbd2850686c53b0650b9fbdacc366feeb","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.14.5.tgz","fileCount":20,"integrity":"sha512-TgHZ+C8DJXAg/y3uBH9KjWbFrjsccd/CI6uen/hJYuGJ6Atcn9tCzSEoXAAyU4wRtsXcWV4VGeP343RSXeg9CQ==","signatures":[{"sig":"MEUCIDDCiZjKlfwjj5Cqm83Bz13K09yXjgtQSVg68yg05rm8AiEA5NxFKAqKZlxm6oy6ckM88GA91tTBwwC7dteXb+EaP84=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6T0yCRA9TVsSAnZWagAAB40P/jAj2V5nYJoKz36K3W9+\nsPjp9eKXbpnu81O83vAOjk5Ip0afM+OFRLZ1NXUeF+ieyBasUi/76le8GSc/\nFUfoq9iWp6Wb7tRZV+4kbT55dwSslhqbb6azfNoy8pQRBH5srJ8Ww0JiX9TF\nj32aYYm6LonKrJw9iXZBra1D53s9RemvY80HIDAFVYJCLiRvfcYZScOeXI0Y\nPIhzOxp2uxLq8ijxsHPP7lKR8dhPE/SKGpBOR485YrPZV7qe+uyhLJ9A0Na7\nKvbq2RCFW2r7xx0o/6Q+7BXr8oBKwoKOUWYmNl6lMY9USqwonNoM3Tm90H4I\n5Lpn28dluCxb5vo/5pJuvmjGeMUKezykrPz2BZlrvQnArfN8403x9liUEfxp\nfvLFUUiflPAz+1JlaWOhMGVtZuB4ijqqsh0lm7kX14cAM8dhtoFJQUhSagbs\nHF2BHaRWfMO1+9o5ysMNYnBE2At0H1Ih8MvbIGBLmK9xayjYDS4cC9j0hUcC\nqnoKFO21KP0Zyc5z8pfc6IQj3aAS3dgSUVxpo0ORF1SGtVihD1Wj7cwjch8l\n/AwZuGFbhbImKiY44SbTEEGsNo3qUAUqmt6+gxsEmS4xHEmVx9uqjzYdG3gG\nqAu6w4B92nfqTrHOORvrsdKtsPkXxx1q2MOHbmlIjgmBI6+tHfzYa08Jnkgd\n+Mp7\r\n=SLUb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"1824b55f68531b01c2ed965ea44a250e16e5e46b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.4","apollo-server-core":"^2.14.5","apollo-server-types":"^0.5.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.14.5"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.14.5_1592343857916_0.6840624982729062","host":"s3://npm-registry-packages"}},"2.15.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.15.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.15.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"011f2445ce1463504ab68651efc15c35695d774c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.15.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-f5XuU7LeEnCWXqa1rrf+HDtqBx4npKubHHHhsUngG9HxE/6hWnCTJnSKjMzPvF0Of3lj3QrxD4Py+h+9Vy3nBQ==","signatures":[{"sig":"MEQCIHr2HlpGLvELyFCc3KSyeQbBYUQczM1Y9gxrjb9+DUoFAiAmDO58a3nuHfiuldjZlaUn6xZV6ghnXwCobG/6dR2AyQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37492,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6lBVCRA9TVsSAnZWagAAQzkP/166quK7aOqTDIxs1cVE\nClvy4nB0PQKV3Mq88bVNp6xVYplafScAf8usGhWHsT8PirJRghg8o6oL1akW\nnKLg2sd+i+YhRi/6TLG054Q+YPB9oEgo/wouwmib9tYHi2Lo0fNmn1sgTNLT\n19QRugYA3WkAeDo1gQc8o3mg7O7p7n7wMVQhUDcHXm6m3Mbt55y+iqzdBeSK\nLupYLdu1R6HLtJk+bXmlRrYz8DhNNxj7EmzSn4bU9Q3lBs34udtYtBISXcLY\nYm9ywh84bXE4JJ/EFA+LzFSC4GnELYKz+UE8gju1i5AbbPx13V8j1BsyWP1R\nC4rhmo8Jf8qeQ2zCzLwHvqkAGQ8h6vKkxKyekyarMVEM7/UtnqGESwQQtH6d\n+0woeaQFqVNOrHEkaYE5zZNTpUAwhKQyfxCR63+LJuXgoyEeATpexQ9fGi7H\n0iiBymx1LXQ18NoQ2cTjQpfwf086RLS+CUd88YSz3pF/opXSL5ZSyQlDnkrd\nbU8y5mZeOtBRDd7ZLKpwSBhug/eEeE5eiWpL4nVYjZoGDOVyz885UTrE5LVI\n5EJ+ikNQdGjB7XuVo8c2CuU5pm8aGdkllwLWsYmWTljxZ7ZlTk6+gg68oHuM\nI3iNqzELkAyFKKcxvElf6+L8kuMbLUrQ+rfktDymHeX8fIFgllo+HrTZbTCz\nuQrA\r\n=oN0+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/master/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"803db445585364f1ad75b1984008ce44524679c6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.4","apollo-server-core":"^2.15.0-alpha.1","apollo-server-types":"^0.5.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.15.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.15.0-alpha.1_1592414293178_0.25292154463135774","host":"s3://npm-registry-packages"}},"2.15.0":{"name":"apollo-server-azure-functions","version":"2.15.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.15.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"22f60201b584e6a85aa93f2665ad574aaf16cbf8","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.15.0.tgz","fileCount":20,"integrity":"sha512-Xa77p1KjskrONw7EC2P27zHmJ+skrlryZZ9uA+lkZmPENuZlwH9KntCIzGWv1PmWkRvTiACHdFSiOCasVg19FA==","signatures":[{"sig":"MEQCIBOs2KszITV8vz8bXlV4bPqR+ZoyvwN7qhPE8acS2wYBAiA4YqIGyLTpIYnCr6ugN/7fgCuxD3hjmOZWoDGB0Iizgw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37468,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6lIGCRA9TVsSAnZWagAA7OoQAJVoM202wGpSaiBGi5GV\n0oslz4AU2puTqlRbCtpbStc3XyuSkWyU56EtsP4jAncZEsr7ctvnDhPYOdPF\n5/jJiixWCmAvLQHD1FIYnNOswCGqIIQNQNNxcw5CXTMhuuug/X2IVFcL9ZeP\nARE0w8lm/vjeFGbihk1qv9pSYb5QMWM6Xl78bFUYSL9kz+oAtqM71whZg56U\nGkdzx7T4yd6ZLzTmuu9qrWvD1wMMefKiyZZ1KTi/SN5jb12w5BT8EzuVSbZf\nopDla+P8NO1tyS0I6MbZLJpKm7TEVCN3Ok6OAQ+ILBnOadG2amYn6e+RYuJ2\nIwdCFFcHZs38EWf7pS7FYh2xIIHftHUxXpuGPom91tKPvtObCQ3TqYG2JZjE\no8T1ktqYeTxk5DICUcmkfvuKZcGhoFKkLyowQrQ6wC53/TMFgFDU7lOuCpuO\nI4JYCWdxeMmnbiGyjnHUAOWZ6mhXRDtNs9vDVv2AsLmxTRY3ytbkmrsp5j7q\nYM4V0J91ornWQtRA+YOjeI2pEp02YJCHRlKt1HwAenBMKzNMhYsTY9WMJpjA\nT6ddTeDjptGsRyD/Hde1wwgfSQbkzf28Og9arTHUzbJUwYBR+SCO2Yq7PQdo\nV6OLxqTrJstqAJWScKFhpqWOiuxT4MGy9gSQiQQsxnEmppXCd0uYTGQk3Cfk\nO4OO\r\n=TPkX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"6f7bdc6099669728926ea88f6317cb17cc6a4b43","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-azure-functions","type":"git"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.4","apollo-server-core":"^2.15.0","apollo-server-types":"^0.5.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.15.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.15.0_1592414726228_0.9309085003512945","host":"s3://npm-registry-packages"}},"2.15.1":{"name":"apollo-server-azure-functions","version":"2.15.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.15.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ac05a4fc8a66aef0a40c93b6e57f4b618e7082b5","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.15.1.tgz","fileCount":20,"integrity":"sha512-M5qdKxU/NDVABP1rSxHEdaABbbzYzKePMqRios+r7euTxAiy0WIWNUBeFjKGcEjV45eySuFVfC6GF1oiaqkB9g==","signatures":[{"sig":"MEUCIQCBL62RAkRr7Qp1PTRKbXR0hMjj7ANvzpVA3G5pf5PyFQIgGsfA+R+JTAE/eoa79xwgX0JhQYDNV1Pd7P79yYso0M4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+yEWCRA9TVsSAnZWagAAcEEQAKUSzTbSaw+1D9R98O81\nFndOBw1il+GRFV/tYvSVdWFxe6u/ZOulF0+Bixh5kX3Nw7CeRG1D+RNsvMRH\noxTMUTsVvfhFED5uy1ApOLjuTITRpBwZz5nOGCcb+8mqrblKbrpPKftIjfbe\naHa8dztQ1q5ot4pVGEsKoefRURaqshehYlvwAtGCs020THbNiFLX6pIUUmA7\n3UNnEaL2EOf/hQ1kOUY27ANnVi2Mdj4dB5tcriMcJt5O3jrf3NYw5SAkpu7B\niogNF3ykV7Q7HMCb+zKaDLnfIISyYTdbG7P7Lqy3w714+TjykdeE8PxFD92j\n/u3bFdZsfE9PsdZOvAh7qFigKH0VYvWJ3NgQQIlHvt+pjvXpgAWHiADMdfBA\n3VbxTSO//yORO6TvI3dHCbiRikYMJtdPI7EoJJgyhf3MXFHyjxNt2VsCGozR\nXYCCW97Y913AzmgqwTReY1k3Kvo/rrcTLo6ECP8p9LB4MB5G5r7W0qejOTHR\n43IMDXM74K97AMaH8z/YAtBKf/EfQGQoHQJ3JcXUemtkvvlG+BtJ8PO2CVnp\nba4+K6KRxVdQ9uaoHYAsJvAbUSI6JlzHnGaVuB7+WZa+rg8EZhleoy5XW2Yl\n81d5IAvvphL4t8gadgwEfLCY6rOAhu60PFD2FdBcXVtkb7XbpARHCbs3inGN\nZn4O\r\n=ChI6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"8cfc947ed56fa3f32b82b32b4bcca53470712984","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.15.1","apollo-server-types":"^0.5.1","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.15.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.15.1_1593516309955_0.28630573388034564","host":"s3://npm-registry-packages"}},"2.16.0":{"name":"apollo-server-azure-functions","version":"2.16.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.16.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a7ab2dd3180d87fe29d80d20c2a89ed652b4053c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.16.0.tgz","fileCount":20,"integrity":"sha512-NKIXC+U4ikHKJOQ0w0R7rHk89zSFYEyRTPo+1+2od9s5fOJcoSiWdS/xKIRz6BdID5/qrtYoItR1xbJI+x0qkQ==","signatures":[{"sig":"MEUCIQCVcVnTY7QcUrLWYm7etrYY0tKSPfoMe1fLBuqd2QSz9QIgRR7Gn0pS9o1C9gkH6wnnElTpLwvw5yPHCkH4/jgeg2s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfEZYICRA9TVsSAnZWagAA7G8QAJzXzdTCcLmijxRsY8tz\nIRlJ6sPVMd6zHZRSUGlscPLtXSQYU5W6dLLsFUD40zLJkna+d4iSxhOhllKr\n0roHzb0IEQoWP1VMLS/GRTcfuxP/2xuBp9v8JNz18oI0ag646Z3AJ20mN+FI\nBf5SPl9DtqiXHn98TnIOtyS7ujyFWtdZepGr5rkV0G8Y27sY1iqXoTRPaTym\nd3MkkChDb0kk0zv+5Z+UYXE+6IPLr0FUBEDWpO0hupuuggmIFf71zwMdgwNT\nC42UKMVbqA+ncufE6i/9wsJph+CXBPZevfjaf/l0Y6xOHSfbOT61wrFTuYCE\nKrQK9gJL5MNd/BEIv/QcBadpeuj0tCpIRs37173JdFbegnRQBlEST4J355i4\nb8zuyuNqzYC/Ff1vkQABh4hmpWx5NjAsPOa+yQ//9K4mATJW+aLwaDeqRmq7\nOTtfgAjTHrTT2UV0FANRyABItsdAdhOYp/W/Hjr/roC/hcEQLasTiBv4PpdX\njkycClXz3WSGElDySSnx8fTfntTDCr5A2rJ6KgVBhftF0AAvqDsKggv0JvOp\n41OU0OD9unQM2JKyVD0ZECGHMUxHLp//paMYWMU63vtStTK6wRYKDZH4iAYO\nSAPQJ3y/DP7VnON60JVGqgTej4gywKaMAonwKZHs+u3dvCr3/nDk02Uthjnc\nySYj\r\n=S3nX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"f4cfb22b93913c98e54c638ae39f39ed153daf66","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.21.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.21.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.16.0","apollo-server-types":"^0.5.1","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.16.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.16.0_1594988033191_0.7906623285536503","host":"s3://npm-registry-packages"}},"2.16.1":{"name":"apollo-server-azure-functions","version":"2.16.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.16.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d66ce5eeafa90bcf9f57576410769c44a64f3e27","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.16.1.tgz","fileCount":20,"integrity":"sha512-VkGycA5NX1eiYx6iInCso1PQdMm3Fy68RidPFz7BE6SSUDyrDzMaX3qY54kpgSwOQgU3+Fz+y5Y+X5ubM+SGOg==","signatures":[{"sig":"MEUCIGju6zOIDczKsqG7Xjt7yBlsgt6LQpfuLOdR4vj8tEhmAiEA522VwkPBG9rjt0nSCdD1EwwqjFuOQhLGqQcuLqglrlE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHz34CRA9TVsSAnZWagAAibMP/2JTr6E3rqZsc9fBTsc4\nzDg0dIRt3ZFG/367QJeRwcobnCsvq7+FcVIYCuQMH/h6p7y2RCgho/vxYW0P\nmrbZobtxUr5fo4Y/yMoUfur/Oi8bl5JlccrlvyHLBfjGSHmFSEgXhkz+PXci\nLu35b2OVOJiJhLAVUnjOOfdIMSxtz0i81gmd91Usywn1yy2sm1xPuMHmv8bq\nyVQIca8BE/R0xfREZuUpRYGdyY+8115pIinrHLdQaD/zUz+UuB/BRd5A1Tni\nuDmSDkCdmzk3R4VwzjuxqSJK2APUSnZqEZ2FTlJim7eU0jY42pspm70A0RrB\ntlOOuEmMqzc36InZamuaQZaAwTztg6ib87Ms5nKaxL6rf9hTKn/l7URkABqi\nwYoHWbedljMy1MIPf1aqQ5mVKb1cIf8ZSW4mdLaXP7wfvNtivAB3dBPlUfiZ\nYOKulHS95lVHnSYojBBccaxD/BPyzoslhx5ZQf+z/pP2ObnRGm7IM+v6eh77\nFfYROymHJEXpCXoSAXHca/U+xJHuYWqJie6Xik0MCVbU9CsXE5bEEsJpk6Wc\nIrleH7TIcqhJNzGtGyzmEz1+FaJK6EWLrs+lpacLAbPxy+tZdHT4GdhandQG\nNinX9D29MtajDOGAEwbksvS4pfinRuuwSW3ilWYpqSM1dPQgfLj0zgc5LADU\n3GPw\r\n=oHzy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"128c1b0930ff789c55ac258a0b579f18c6d5312b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.16.1","apollo-server-types":"^0.5.1","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.16.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.16.1_1595882999806_0.8599811499128851","host":"s3://npm-registry-packages"}},"3.0.0-alpha.2":{"name":"apollo-server-azure-functions","version":"3.0.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"dd20b7b83a10743692b2d7922d07052ccdf4166b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-Tffk+1zT6FxrXAGSPE8CctN4Phn+ty9Bl6+YPR2+rPkKL/7xDDTlEKa/eOUlwIqlA8SjLbF9u+ReGwaKC0o0Xg==","signatures":[{"sig":"MEUCIAFDWeVTju7mcqxuL3Ls/uYI6Rj6Nk5tX+Vh5h5vZBWgAiEAqo8pIYvtepBGybfftcYc54ZjKSKBCul7+wPNax1BqL4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfLGGTCRA9TVsSAnZWagAAr9cP/2OEo+aNHd2QnK4XdCyn\nV5ZqdoOW/0+MqixeaHoCwsuxjK6ojwFBe/1GpiXjPJ6dh9wTOyqCDIdPX2yW\nIoD04JWP+DpXPzjUREiMyrVvMXnLbe2ojwrViaKhnMdXPhWCyx1yBqWy5nNH\nvQQDdzNV57iUH+bpisa3wfJMnifaotZLsWVk/pBqRHQy1rivbDkXEyfg0RBD\n383TxMPo2rpEKY/RRo8jo5acUueKTBIgMoGEyPU+h82jSGu750wp4Wb/HpWw\n6Io//rdoL210KOxIEKJmxWgmYRM58kfkUYTEcgKQFZmhXZwHJlQt38/inRmS\nkRNraOrmk+aXWgAqky9N2kvzN5KuMRe7Y+UaltrjTvtq1ZbIt5d3ZdDlePJH\n4x4OsyRabY8u2vNGWs9/+1Hcrjs+cjzuXRpdOKz7L34eNxsXbG+pMkPlKF18\n0tH7mm9UkCCtR7o7RPqoaT4THsZjC48Cz/zFn79v3vVFWld1Lq1OUVJSxeVl\nD5TAAjUXUzojeQefovDT31FE0W4lcqg135HOh43Yq6QntJaYHTQliU2Xrdrr\nDpT2UFDf2HE28EMGybZyxrsjqQ0MFg7+ZwvxgFdj7JO4gGn1Ka8fdU58mn1N\nXn/66f/UqrmZ0HrpZA399tR1ggUkeW3xqOQobB2uwbiNKw9Gt7pFikdnwelS\n125x\r\n=5JWi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0 <15.0"},"gitHead":"6f3711b589dca8079264969263266cd7b6010ed3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0-alpha.2","apollo-server-core":"^3.0.0-alpha.2","apollo-server-types":"^0.300.0-alpha.2","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-alpha.2"},"peerDependencies":{"graphql":"^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-alpha.2_1596744082635_0.9668040824843902","host":"s3://npm-registry-packages"}},"3.0.0-alpha.3":{"name":"apollo-server-azure-functions","version":"3.0.0-alpha.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-alpha.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7090ed04620f13044788315a719938e8722823d8","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-alpha.3.tgz","fileCount":20,"integrity":"sha512-MikB7BY5d/G5pfegCa3hJEM4tp26DBPNDCEb+J08cTp1wRhvf1krcxRI2PUPwxbjhkvEMQtP/9OurKLVqlcsgA==","signatures":[{"sig":"MEUCIQDUAuVe+Vp4BZU70fvgAwrjvmG4frzcGqnfi5eKQJ99BQIgNGQY/eAVafAZu40lsRX2jWmfExy1LHTG9eKoG/vOvZ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNB/BCRA9TVsSAnZWagAAGNYQAIwHhzhKheG5rM190Z5F\nx5DwbRDZW+9g8r8uzwj5kQxpKUXQYn4U1pKMqWjTLlxxHjZ4DgUgF+2tn0m+\nBbPp2lIUb5c9wwv1wqG5Sz+P+fEUOiyYuBYUF3/3R42SLzvZuAof+xPQIhu9\nyP2wl9wSypP5MXbyK4uW6CrMTD+wGLK/XoyKxJyWIp7iiH7zoBpCBtq1XhRZ\nb4rmfFc50M/SluFs5GyfYIJ32TvBUUFapTjUWZMy3B9Bn5VeqqsLVm7twKZg\nnHEfEdbOS1zonNlY+c2wJhkVLUXO+CfzTlpdpzDhXOI27+961JoA9qRSOZN6\nqt0hWNpP0TKjhagDWkGOJPMCQWCZkGqIAQ8R8pI8xStdkVmPSbefUs+6OMYm\nzUQCojLRGvqHInwhQjL1xasvVP5yqa/FbSZu4KlNml8k8f9642VHfY6XJRda\n+Ya7tYVMtZkQNybz1rcRKlxXjDSATTXWDcZZcIKm/oNzNIZOO4GKlaNcguZA\nupzojMPDE5TKkrr0DHLHx/4BUep7dWhj+KXXKRp0WC787e6/RT7GAGbvVb9L\npuI3fWtJr99kKgBRzVLRvM+H5u1/8vwJDKHBegvtij2Yp9tQIwMvyri+ssVO\n8pIW2sD6pYaPPgeE8iMrWWYiUffCqezdXN+5zbp9YcCUUnXc4IyGubeZ2crc\nQ8aW\r\n=jTL/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0 <15.0"},"gitHead":"15b90eec22523e32e00d97a51b28cbfba3f39c78","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.0","dependencies":{"@azure/functions":"1.2.2","apollo-server-env":"^3.0.0-alpha.3","apollo-server-core":"^3.0.0-alpha.3","apollo-server-types":"^0.300.0-alpha.3","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-alpha.3"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-alpha.3_1597251521406_0.5834948516024157","host":"s3://npm-registry-packages"}},"2.17.0":{"name":"apollo-server-azure-functions","version":"2.17.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.17.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1c0dc7e88134949fbc5353ac6ef3ef0b5fc01beb","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.17.0.tgz","fileCount":20,"integrity":"sha512-F8Mw3+9LAsaa6xsY/isC9v/x9cFlqt9J3b+uWr5cUYpk7X8O6nzxeBPfZidlUvT14QplIsgEdd34vG2Y0Zg65Q==","signatures":[{"sig":"MEQCIDoAYFvS2jldnugkyh2wFNAMbvgwmgmqJf1Lfa4q/xTfAiAEG/Ih0luovaRwqm3TJIzUWaF2cubsqYCWiADIDJxtRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37477,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfR/6BCRA9TVsSAnZWagAA3PQQAKCnMzmKIcnmfHy4BpYE\n7QbpRzuFFIpSWfmh3SEdQvT0TPfMeLrr5PDFFeVlAskTHSY/vm2IYHYUcFvN\n3oHuF+SKfnEtiKzepuSQ+zcXmRrwfgkqcMJhpur5FEy1qRCOj77T1GA6Dvxs\n0l0W2OusEsXnzK9bKKG5qow9gRELFh321xZzz1fO52AZoMa+zh4Z6tzvkEKZ\nBzlOYIBplS/p1I6ssQA/dlph5VPGvnfx1J4KFR9edvxpFB9aeueVuvOf9zZB\nxqqeI9pHfR5tTAZ6SlhYH3yxi0Wb00dMF+CzoHs7qM2bdIXkamusbB5eHsFB\n1z8MnvV7VcBCfo3IygP3jtDpt1Y7AtuUqwtW3wLrcN5HE2AYB4c4nBJBeA5m\nDqGGtdZjM5aGbWId0lv0YzrUF9Kv5sqFlpZGJPJMdXiSkMfy+8ScRIWzm0Zi\nIxNkmWB4VPjZeYYPgKO9mBuzRurExDmNBbxpf9NBM9yFERbOmie58elt033d\nUnfM6qHeK+O4PUUAAyukeJrfreZT2aE3PHT8oiSvFD1CwQqNZuFqFXRWqmun\nZFOyhS+4SmA8aLywY9y8/uyM+m++rCl5iiS+7MdXyErLVNMxuLnD9qifvdjl\ngjMrz2ypEp+P6P0N4+boIaq8p7ML8WFqnQzatFMNMuTk4myTWRmZUmeZYnre\nr00n\r\n=F3G0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"2db096051fc5bad822c0d37b530c792da39eb6f3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.17.0","apollo-server-types":"^0.5.1","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.17.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.17.0_1598553729189_0.7676631776274008","host":"s3://npm-registry-packages"}},"2.17.1-alpha.0":{"name":"apollo-server-azure-functions","version":"2.17.1-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.17.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d27e5adc644fd761b5781f6bb087f929f2e5c6eb","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.17.1-alpha.0.tgz","fileCount":20,"integrity":"sha512-Ex03ThDjrcVqHuH001Aw/ex5cHgzj7fSVTkwZSOkR9YOWNCmT1zfkZnQQU025zs3mkO+OJ8zvYrGLI4Khf0dMg==","signatures":[{"sig":"MEYCIQC2OMfsmqpCJrY9O/l/WrTeE0cVP2Pn4KQSV0LYTTdpKgIhAOn1bk9WHJLBuO5lBlx+l3gJkUr8DZlP4UYKwkWFGd8P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37501,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUTSPCRA9TVsSAnZWagAAFf4P/0pHYnDxcAvssKT0Mnh0\n3x1+vOrM/Lw3DQMCr3WDznv7k5noYKXQRV+aNmNbXQKxPdCNe/RG78q+3d46\nHgdcrOmTfu83K77UW0gKDxhZ91F4jluwrtGRGOw7H6+rvxYfWWZokRME2bWv\nTGSZz491mSb4QAkyT10q3NInZB81yHxYxKkfbd+Iy8TpX5XRAEfD5haHlNeK\nYF4xd0T+4Eyns7gEu/Gd6HmVoqqE/ft/7z86d7KlOZmTYizDO8gdaeipSg8W\nGALalnG8ZNySq4pGFZIXOvT5Ljad0GsXbNpVoPZnOPQULUBc+6ndnFqgyirq\ngybJFg5YcX1qQXszh9Y2/rIvOcr//bNsjq18JZUYCKDTy8esK8JRJKOUAfyv\n8qfc4ZiD9S5ADsYMndWh+8hNhdqthdIl+QGL5e6+gOC9otDJbfoCSRKLNkOw\n5gHFxbxZvy+DCtelE80DFw1X66h0wr1JroUySKUJo3F+9h0qVuh3dnZI3aGp\nEQyioWVnJF0LJ1KFWs8L9Et2QRxSXjR6Pj+kh4Dw4iIFTXTZ90hOTWDyzAJ0\n3fennJX2qCoOnSoScDnPu7XwHqQlXKMd8UHV/QUDTJ95omPRWdcY/Li26Fh4\n+DzHWaeIVHNkg9D0gBU/umCObFto6NRPuLqYTnH4MFcYS5SiDP2kIfBjRQ0V\njnZf\r\n=rYbK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"a2571cd6efae7e8c9bdfaa6351ec2e62dba4f5bf","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.17.1-alpha.0","apollo-server-types":"^0.5.1","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.17.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.17.1-alpha.0_1599157390618_0.0284879319625142","host":"s3://npm-registry-packages"}},"2.18.0-rc.0":{"name":"apollo-server-azure-functions","version":"2.18.0-rc.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.18.0-rc.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"310eccb043faf08e945d8861bcfb67d79ce0d47e","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.18.0-rc.0.tgz","fileCount":20,"integrity":"sha512-kQTlPDJxx0md2TSjqwf74FapDGbxVTdYqi/SBXk1QXYyP9PKDxrF/lwXXLa0eWC7bAx0EPLn52SeqjGAkLlMsg==","signatures":[{"sig":"MEUCIQCsJNB9sI9MKbDW4b5CwPP+fmnVm430PF2wRGFguQcZSgIgNru1YbFljXlPStzh9zAS/otq6Oa6k92JZ0lDKNriCV4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZTHpCRA9TVsSAnZWagAAfW4QAISiIvri0lK2Ey9wIYKX\nP8SICYSoTax6Yawp7KY6yU82kTNngKIEYZWNF+LMG9/G7WOUJSgp2EhZDh3d\nO3Prx8TlHA4Xi+uaAzwxF7b9fvLOW9ZeemxzTsaK6RAtQocE6++wNaD6wV4D\nTGrTCB4Zk40idUnaiMWTnJVKLrrr0T6xU1dpOatYjpZ5jYFb/gelnYJ827H2\nyrvnlv2uRhwHmMjg71EAYAzKYZf+AdyjIlU+Ww1bCBbU7QidtzAMlM1lxt/e\nPWr0qMBoE38k5Y0qCwEQmpbqBXbJtDCoYsi1dz2Nz3w504SG2IfG6/Gxwrrq\nlOWSDHlVvy0e7afbNQAsFDSy9qdUS+jLmpM3v22ojiE/tih1vjVPmXnmTFne\nm/DcSQEZszRrfs3NJwpzlXo1XkE9OXoEM5SFcbsc6Y4DuZ05xRyApzJ5qbQ5\nCHbZ41SYuKo4vI5wcKtFs4CLlXWQJMD9tfgSIsoxSRaebFCb26pdtKlejLp7\n04NSY4hYCc/eIQlVzecjbHMUii7WyX5VrvAwQXrA/5O5U4QUE1dU4R6KnEdj\nA2sgHMMQW8XlGfPpYdyfQPbQJiXg3JHe9gfQuOg3sPDwuXabsbLfTl4zLW8W\nZsaDNiAmJXNUsw/SoCt3M81/LJuJvwIy2/t65aRSziMC1/vZWYTU0TjAhOS+\n5R24\r\n=rqjK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"9e5cd2804c4a5c320cfcee3d0b7448e02e9b2b8f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.18.0-rc.0","apollo-server-types":"^0.6.0-rc.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.18.0-rc.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.18.0-rc.0_1600467432829_0.8937313914065772","host":"s3://npm-registry-packages"}},"2.18.0-rc.1":{"name":"apollo-server-azure-functions","version":"2.18.0-rc.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.18.0-rc.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f9bba514c7b1e9f86391a915e648f5842fc6693d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.18.0-rc.1.tgz","fileCount":20,"integrity":"sha512-aR/LZGsLtDTrh+WAmJNDnzRY8E6kRjf2/cI7GdZ2zOPX3QZSJNo/YizmhJD/bwqWpEyhFyZMxQ/xniRXhlo2VA==","signatures":[{"sig":"MEUCIC5okz6VCWYk2XMEDvphuX8YsxlgOAUFlHFS9cLGGe4ZAiEA7eHkWIOYffxdUnblp+0gKtRPQLkyNJHEmCX5GLoI6t0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36662,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaOcFCRA9TVsSAnZWagAABaAP/Rfkg3EBAC+raqnkdnAi\nPIKMkxF8842wJvJsd9KTlgdXg8beJUhKIHHp8ZnOOdzq8L4c0WD8paZ4ubCZ\nlTHFbPHVZ6b5tER4yI0AoM9dJaa/kDy5xj4qRn/DGeyGD++FDSZBNdJ1Z3+O\nG+sU4YZhNHFi/Q/bVrMkCG3HJQMBFS6+T2cKKBkpWTnU7XkJDO9pbWmKWZKY\n0tJiVXH5q39EksrDrdDUEOJTawweacVaf73v1X8JeVdhPGO7UHFCNT7uzB9x\nRjU9fPtT/U3vgCqkDL8YH7DXiZlw8jDq44y5UzY7lzTyRI61yD4HVjEa4dCM\n5g0UGyzRW9ecvBNdK32ubXlXTY6covLppz3fO19yDpOBueOIr4/r2F+KZm3t\nqhVsprRhR4FBxeYjRdmuvQZapIWCLSxuPPfSHfZ4iqHBl0RPYYL33xca/2TL\nJT1rhEM6BeLKV//ebdD6InvL6/V5DxOjTurMxzFN1VS2ZfiMOlvgY0f5uYOn\nIuFdyTcKUa+CHG9tMHW+mDJykrRxaZ2kBRN/GpHAh4xPK9pQPFhFwF9Oogog\nt15GYubK1UFIqpItFpBzmjTzMvggwHJ4yFgfuN4a5MGsjY37XXb72JDAJ6HH\nxgT6JDG8ePTHXEo4LkrAvEvaS+9pYGTMdRXw0y8vbCE9rp4u06mARYcmGsqv\nWoWS\r\n=Dvap\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"7481e51d6de10e684e9fe0252dfbac22392771f7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.18.0-rc.1","apollo-server-types":"^0.6.0-rc.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.18.0-rc.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.18.0-rc.1_1600710405056_0.8780223947056651","host":"s3://npm-registry-packages"}},"2.18.0":{"name":"apollo-server-azure-functions","version":"2.18.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.18.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0c8e068527f190b2949928f9fb34643148ca0c84","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.18.0.tgz","fileCount":20,"integrity":"sha512-wMX4vqDiUWZa/I9A/P6qJvqZENMA5IMPu/DE3NHqHOE58gXDW8EtXEexd61D5JjpR+C/8BRkjvV0VUXjZwaEpg==","signatures":[{"sig":"MEUCIE1PdEvbkeTQW+Shs+0+O1EDywCxkeewg+z1RcGVypJuAiEA/x1a1fIBbtLPDmqOpyUJeh4ldrD9gU3sRDFe0nJ4dcg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaXx2CRA9TVsSAnZWagAAaRwP/0uxA/BznH4xaFr1twUf\nqs0/XgOCQOZX+eC9jtjW8MGWBXxOsx+9hMHB4eXx8FJOWGVgrAhZgIT8408w\nCdA6ocaFZNcMp9s0kfphOYHR7adQxgGOcISNKKHVM+fVoICOVFskGYsF5+HZ\nginNt0gLoVBHhuqSPsvJs4IlF4dXGlzOrYsUXFEBYZZlLY4wozPOjZi/oWra\ntm5Qyg1TdPyRiEdgTV0eB7SKV5NgA11i0UMaMMXks+0BczczzQQSwLMHX41q\nniAwNWpW4C8hvPEq0jlOqatjggd6tKfPctMxLTB/VNOHMOgJCPMm5Eq28rUj\nclJUSCTcMmPElYVlwvYv1+Pt0AERCAjKxBlOWuZTx75mLeY4X7tXBmB2dZpZ\nQ7vnqT4Q/4UYGsQ3BhcL23/uvnm4Ylyoaa/NM0RrmIxraqMmeXnB1eAX9vwY\nH7xuRrNQdTZz3LDqBIrw9tZaOuSRxwPkk1jG5qIpPZJYy47boUwqQkVq1b/1\nLrZvnE723vLZqa4L4x/+sHgj4BKMy/zxh3jKvFkbmfDuOefne7yAZ4u1Ijiq\nJUXWFgEnlfiI5PYY/pNwOed2XNXQQu+rSbU+hPaARcF6GUGbjeBwXjvf3NYt\nR/1EqwwUxGAQ+tmT+yXJOsUqwz0CZZxT9v5YUSKKBljp1iutFnuGskMlmVxE\nKLws\r\n=Q0E8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"2aab7fd973bf352a0de28b2385dbad4be7c7fabc","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.18.0","apollo-server-types":"^0.6.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.18.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.18.0_1600748661947_0.04101229270459972","host":"s3://npm-registry-packages"}},"2.18.1":{"name":"apollo-server-azure-functions","version":"2.18.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.18.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"f973809203e846fbdb92955bc1757aad2923ecac","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.18.1.tgz","fileCount":20,"integrity":"sha512-dpjsgoSmTU1t5plXW+FZcblojTmg54pICIxtZNRaIcX6TFRh5+9aXtqs1oJaowgFyTZpteH7d7GagXtKIoNjWg==","signatures":[{"sig":"MEYCIQDOfWbSDP97vwmkLHKOz4mZUp2jPKNtVD6ZDGuei+5j1gIhANmHYiYsy4oDgP4N7t6XU804fg///dBalNiReraQEXf3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbODvCRA9TVsSAnZWagAAQV0P/303S0WqOs9l8/qEUJpE\nAV4I5VrekELGdC3JQFN0ZMLgUKU85j2/WYpFmhkgyT8UdzYe0rOkhIS1EOKk\nL3UyFD58vtmIR2G0C+Hz6s0uETyvPExg8yJgiHX52wHKXMVllctFR//mugu+\nuHjtjk/nvK6ITyi3N9nvmmFpZaiP5f/o9OiXP5Ytl0K2VM39m4S4x921+r3r\nArVcIZLUGdwQEcfIplOCZXogJryMhp1SmlaSXnPkTzYOjKrWneRgmXTVKIAx\naRhvYxUdSr7+sH5jDj/7XKlePP97DIiSWtwyJGaqkB3rZWltKzefYGYf9Yic\nEpjSwSIKY3y9hWiSrw7DRLfFIu1aWBNkzefQ0Rv40zqbmkqnepjLR/MjRrsO\nu//DVkCrs1JsjSrZ60hEbHn8ywQ+4qYwkhhmW5lMzfFzXhnp8PobtJfGlT/s\n8vGzXIF3QD3R9WDL09Fr0clzzV6ZQHP/CQ60nZpg8IN+ZN+Sm5mNIt3XSkqZ\noMBQdHTsizoYvqzsegHv4Lv/DVWQCJGjMV5rntJknjfeD9gBr4/aQCGJZnjV\nyT+oGcbuUEFIamRcbmSGyIaTziesrEY3wRhGz3MTN+Y69L6DPYspBM1kuU2R\n3rCrsOEcX5JSLM7vWBEIw126n/6nDzr881AXIrokeywRiLaHoEkm7QeI4Wy0\n4fsY\r\n=n6ia\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"83e22003c717e93bc57655d4849b0833369f1152","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.18.1","apollo-server-types":"^0.6.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.18.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.18.1_1600970991074_0.8669277990345998","host":"s3://npm-registry-packages"}},"2.19.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.19.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.19.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"42208924da8cc9b5b9ecf9302e4ee4abb6a8cd04","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.19.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-f0g6G6979olFOfjVg7iu3cZwqaRNUs9Q87oEeE/nzdHYws4n0WI1d2p/7j/YgIfayO8caLFFmx3vtLHMVENdYQ==","signatures":[{"sig":"MEYCIQCCzA3RH8PEGW2xUZUUefz55wjXaQohzijHZLcgs4qy4QIhAL/gHsgV4KbtLESYnNiq7g2Tgd1kr5CbGXmgEKtWXzpv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeyxYCRA9TVsSAnZWagAAzj8QAJOY0Zees2iIOhacxk6j\n8EY16jbGIFCdt2Qdf3IsBm8YHTbzO7BiYUyQcKe5KUN6QflWCM4OM2Nf4uWq\nYHw85TIfbPeopoTGgLLSYhZB9JiMA6iUZdVNOL/+gQAZaT483ga5bLCxdtYW\n6YcjPR8bTqHbrMh3e9kVIDseU1nWbl7JKtuXz8CXOhvTTDQFtw+E01+AaRw5\nqpgP6zQ1RacKajtcjOR1U4AGNVwgcPfk/Px8oSM4RJcNGA5wdW0jwHyMMPen\n+uZDcDbUWzJ5LWj1i4eGVImsvxpzuXZoYBfO+JJgiq//mDeOSVTz3V2uiLcN\neEyAI4SEhp9/aXtgaR8SkvwbQ6ViL6h9prbKLq/Xy6KhRHj6xvWB2vvBwqPI\nr5ee7Vwp9QUZmm4ePxryW3Yt4cL9xKg68pj1DBhDoX60y2Nyb3Ofu7Hv11lF\nNjiAnV40XKK84HVwARCgtm8GZNGJN+a1Jt7qG7pOgZXKh8KFMlNnsIKWtj40\n+bLO37T+RJjjDPq7FDqBkdTCF0LWy9XcNKSpI+vd+StmL+Vax+cHHpuJ4bpn\nGe5gcP8TlhnP7qAqbmyU4LZ6eHRGBdCfasFNRmDLJDD0iZ24zgSYEYEqW6UM\nLk6ow00fjBz/cwgfotb+ZLdU380xlO44SpBL3AZZVeFNHJKx97hVzUo/FoX6\noFnl\r\n=I9bv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"507081eee4cbab5ecceee39de341f8941d2d7b06","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.19.0-alpha.0","apollo-server-types":"^0.6.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.19.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.19.0-alpha.0_1601907799892_0.5950224790909655","host":"s3://npm-registry-packages"}},"2.18.2":{"name":"apollo-server-azure-functions","version":"2.18.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.18.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0499a4582b28e6287d41bfe9a2ff443d3923d9e3","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.18.2.tgz","fileCount":20,"integrity":"sha512-8GTtXYW1/6lC5qChWtZ4mwO3BksTfb0WnGF2dteLIo48mszIrHp8qtCHl2zw/QOknU2efj53hVEoSfM0TBTqvw==","signatures":[{"sig":"MEUCIFstunKegm6sOOau9bXdJe8rqmI9hFOGScLW4DBhfohJAiEA2cLqZpgeY1tTPpcpBSlDcp0cZWT4GPpZi7oS1Z/6HOw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfe3B5CRA9TVsSAnZWagAAjy0P/jZhJw6ugQ7A412RPeER\nvShCyf00xMKs9qOrn9XB2v7U6vr0J+GeDZmB/rUoY59YSRYdqY2X4hE3H7/u\ngqt6BUO7H9OB4E0HQcdukv2k0+K2S8xrCCHDh2JKlMI7IHNFk42PJwcTVReN\nuAzgmEKf9QfmwZOZ09eeY9/l4kAW098+PFF3LYizyxu5bdxFsk8EOj2Dfx5G\nYFZ2U0N9LnglBBU9NXN9RIOXOWqOitcpuhecoK2+kD4iYoPrKJif+C4GamsB\nuFBM5JY1k3I5HAO63GRPxNFlu7iBXi7e6N5QhzHxfY6Bu0rAbNOLzXR6CEjv\nZhuElNcHqvalQvxgzE2UP2R3n/jgNhAqpPskeTbjPL+q5/ZWypWULNe+h1JD\nkDZvBP21V3jw6hUTjNnF8hZ4LtT1RbKM2JHamfMilJc/j7LXArY4jhNhzcKX\n9ZelVTDh8Ty//xpe9SfwpkYtRU4qEc6ToYBSduQPkvDP55PEOkFLIUf3R/hQ\nF9aTy6nfEaOPl2XhdIuyllblmFf6hJjmvn08aZVbL63yMkJhUeRS2V6HDJu/\nbEXux17oK4SJntoByshOX3gXVnGpgguEUBV2AhOmik0evl9mHbRF1aEJrwA6\n9yDv+2GLSlMxGiLzas1Gi8QkTVLrj8MXw3pZZrtTJ5sSNdvE2lShAc9qm43w\ntQLF\r\n=ub6p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"a4786b2fbfd2ae60e1bf1cfaaced3f9c8d174a93","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.18.2","apollo-server-types":"^0.6.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.18.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.18.2_1601925240945_0.11824488843955594","host":"s3://npm-registry-packages"}},"2.19.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.19.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.19.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"cef5c047e24961510e96521d505f3cd81d5029b5","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.19.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-42YQZ9zs8NiJBI6qp+Vb7fYNWPn7CLmo2mTMU0tahFz/YS4UhiYx7nRFatCQuwvolrKPMzxOwyQvXUkpnBJ2gw==","signatures":[{"sig":"MEUCIAYYKXPrGPveIsTvbxoMNom2FtHAXGe5zzzl+rex5WI9AiEAuB8loVEAhcv6jnuPzP6tcNakkIA/syrBZ1bsd8/27FI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjdwNCRA9TVsSAnZWagAAWEgQAJQMKksQKKWh4b8HR0i1\ne1gPsz8Qto5b5AvUGSQsZT178kOmOmnJiCzn1HH+9BYAo7BvcBWKZwU+XuKk\njGIXczxJulad10ikx8Z9SIhUKpyTSKdGH8bQDxXNn/7z4jcyUpdfW/2MNVyn\n1t1+YLLu1m5bYI/lvKsew7eF0lkyavVMPqIH4LpoBIRfGflD8eBiSgpGlC/v\npyGWHMwuxt5ARI3yCWuuvExMDByqjDXEsPz88hLhnnW+hCljvChUrqgWZaci\noaet6v+2iPvfaVGVWPeAeLoU5rG0+JDT49oPh04hRRprOCVYWHXyW9WQ4MqY\nCvP/Ev6TVk12ZjIjfWwhkbXo9bHomKeaPDTf1NWxR2U7xOs43pO4dUNsF4Wb\nTf1xFybG6i6RsfAMV5htw8EiZZszYBQrf+AuiZ8krRhu7ysGtuqFFZn4jYVr\nCUNGZYYBega/NGZeVRLNR/Uf86HWrREZSV8t/ukiwHK2fg0ZmBs/KxbBhohI\nj4p2pDhmhvP1m46YdMg5VbWAcj64iUxH+rCgIHpghlxr0s3YmCsGW7CRRduA\nuzN0aCs67vwpjI+dY3P9cBzviJjBBPcs/wLr6C0XgqR/uUhgZdxBsbIlYaPb\nFR0lVVY6vmdQ9DbG16s/a7TVaDAQFLL3GZ66ErQ+jKRqCVKrXOVGhMHhrP+d\nhoUt\r\n=hovD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"495f8d83689340357f6d8ba959601913050e35a9","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.22.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.19.0-alpha.1","apollo-server-types":"^0.6.1-alpha.0","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.19.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.19.0-alpha.1_1603132429096_0.5910409766060729","host":"s3://npm-registry-packages"}},"2.19.0":{"name":"apollo-server-azure-functions","version":"2.19.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.19.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a058b245db895e34acff81a58dba02770e074aa2","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.19.0.tgz","fileCount":20,"integrity":"sha512-2kWnLh15UU+Uy8pydDCKKBSow1Y3pn5Or3vzf3Z0kUpydbDR9QjKDPcKK+eChRIiE4bS/RZIygKKc3+qKVFAXg==","signatures":[{"sig":"MEUCIQD+2a1MYNBmNjrwZieLhQiCC0kuIr0gMcRLM17IN+1xwAIgTqdmUTkrZV6r/UgY3DZtz2ELNOFHWwgZfZdlsNnnE6s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnHFgCRA9TVsSAnZWagAAdfAQAIZjG+4tmKYG2Fi5AV6W\nTDQTHjSHuSKWrDAuvvRVQKFdIbKl6qGhs0Hh/AXCDg6ebJHPCv4pXZQ3Vlbv\na1lFxD2F+F66F0atWTuNIb19cv/NPydWRYDFFACvkOwUAcNgZksB1TASJM3A\n0JTVpt4b4st2LClw438ExNldJYQcb5s1MIi2mGYuXUa2nDzjDhGGpSj6nPhG\nrPFWwO+s1p7a9/GOVvdQUwzNLdHY9HXkA1MMwwrr3cqcCDS8djC3tpZ7LT/9\n6Cn6vZGBRLLWqrJ8sRx/OrViuVpAvRutwvVwoJ4vbEm/DkqA06DZApQ17ud5\npKXe1+awmVfJE5VSl0PKHB1nmQzW2B4z1S4oNy07atCj+7Ql4tj+ihRhUPom\n7c+vanAaoVnu9VHC9guaUtkzsD4o3Fl26KrrAz+GPcI+Oqgl35xDI3Dw0Z3f\nfHPKT9pg/ib/s6FosKB6g8gRY9d8of6qp2H90EIQawcEx1NZXMIqbaAGiegU\n3sHE1gHEkCchL6l4fHEHNF2S8uf/N/H5ufaZRSDzH4c1bPnJmUj1Kphv21Kv\ntiIyYQ+Q1Vl3IBt9U57GLINdbMTsXVSKoy43oYok3iEX7yaSKQ6U8Zv21V9J\nCn32gQyL/OvoQdch/jVUV5CFA7m3FveAtsP+10wTs8p3kaL+Ray0iN/eVozo\n55IH\r\n=sNDS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"4c6d16f14ab735ba0361057d75e51adb6790426c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.23.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.19.0","apollo-server-types":"^0.6.1","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.19.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.19.0_1604088160411_0.8052869952621764","host":"s3://npm-registry-packages"}},"2.19.1":{"name":"apollo-server-azure-functions","version":"2.19.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.19.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c0304928daac3a48b5f10b51a0d5feab087662f7","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.19.1.tgz","fileCount":20,"integrity":"sha512-v5C1CLbm7LZtpf5xRgF4xTOr9r0Xjmb/1OVMRauL0by1ghQnOtFi9mVboBfx/yZKPfGv0HIetSdcGa+mgLk1gQ==","signatures":[{"sig":"MEYCIQDyHl8e86is01wqBmtKoLFiQWTojCxLSJu/JsYWlOLIcgIhAN05sIsdUWXgfHq21z4x1Rvj4JRJ5PbXCpq2XNhu98s5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4nwoCRA9TVsSAnZWagAAEaoP/ikE/avfLQUdNEtV3Nl8\n4fJHEOwbYUNwyPdzATKxqOSeSTVxB4VvVd9JkXJsqDxg1fAWdaGzhFE+IWZS\n1kI0RPKr2ZSE6QZuAPIQahFgB5jBXXz+qvhxcTWl5o9vUbHIXYTJqeb+V9Lk\ngeXtTdyQO2sY0A5y7+w9VT0+J4xRq9d97Zxwy3Y4W58nIq9/HZ6ozmIe/tSx\nUQJERXBDbOr5XxfQDQs4r65ENqDIJemSJlCNnNNqCVjK9S2KnPB/CXUZQNgK\n6cjtHBsldsfd84IoUzf7jD4Rbllu1LWV/JQC3tKTvhq5U+DBZzzy4MQCDYs/\nH8w1DKwetE/DI9Zwf+LNPWe+e4/hviIu9M+6A9RBvf8vuXGOyZuxWfM1PEqW\nkUIaYC3e9oB1nuGvE4cVWiVsPjGGW2JErsC57yNAPaNZtvX/iAbawcLVYiRG\nBxO+27bq3ywWg8jDmeBvMLxVBeORuR24ymYfF+2ir8wYxu8O+lBs4n0eMjPr\nKnJY2iatYPuFZU8q99sHWgY+1fuv1kqFpeXPo1vVbgRjfMD34eWZP146/Y22\nngtlrwzmrWoq4lBnAPYINnAtf6CM+8lWSLpBtbnwTkpETuBdMJwTVGMbK226\nioaIjrATwWs9uuE8WbSLxMz7TQIdEk+1PL8qyqlVWCxQtJwHfUdQELdn6y/r\nY7cr\r\n=Zfux\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"7e543ed5540ce5995b30b1bb2a7b54367fd49d6f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.23.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.23.0","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^2.4.5","apollo-server-core":"^2.19.1","apollo-server-types":"^0.6.2","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.19.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.19.1_1608678439981_0.9192481137430073","host":"s3://npm-registry-packages"}},"2.19.2":{"name":"apollo-server-azure-functions","version":"2.19.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.19.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9ca8687ff1918331d66ed573771246553f84c4f1","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.19.2.tgz","fileCount":20,"integrity":"sha512-rfGuzTWWt4n3aLbj3BrcBwPNAJn0baVI6jHawPN0wHUVWy03zHMUQUK2z2q9ZMeRwtDok2RaMsesqDh6mUnoHg==","signatures":[{"sig":"MEUCIQCwFbtMOwirg0vDh393GA/DWHCriK0JJo3a/nCH2B50tAIgMuMU/7twl0sJP4Dbn1sq3HgqsRDy/VhsI2/Q6AsxmGs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgAHaFCRA9TVsSAnZWagAAFwUP/1rRtrBNSXvjGDenSxS/\nmYCqf6daKViJP85G3zk+WwrcHP0ATppze1H49qcppgdlZznMD75KIIck42d8\nXKWBLprR2smWLUBP3KNUxR0eK6BqaU6DVI/G95HUJ5fxgcUObeWvld721vDL\nyOX1yttouS1DZwBWofRCkkdKBt419oJqFl9EPHsboAi+0C5tSifY5OqiuQyU\nVzoYsFyfg8h3lj+hsIcpYVxKC6kuxg1Pl1tLW3202039c9Pjzy6z/f7nFUiQ\nQYI1RHe0RhWgQGsoQ5h9EN1b2wZ7SXZAoV8wQvCa12zfMJUYPMV2aTGiwfbo\n8kk/QX1wz7LP0qx+QW5xqyiCb2DUIw8Ov+YyWDSkEdBEhd3POS+9RMwQfnNe\nJTC+W/u9e8mHtVql/SYPtOEuS80PB7k8sk1dOMMowpMoSP31v12kQEkudQST\nEpRGlVe9SbZTuOHSv4GJR1TAgdW31+76bme5O+P6fk9pSTQH7Mj510aXL2Ip\n6IsTnIaE/VpQMaAKBbN8GJYR24M0or6JSZHM9HzZGbsuQtNWXgV0iP1l1JLC\n2rBBMaWwrukEew0gx6QFJVNHYJa8ljK7GQmJFhAV1vXpRUBepBS/lcp3WV6J\ncFtJhzLkBXEjADqirdRxglQPwZfBveNItMY7y4dQEWALyHxkcZl2MkctshgD\n4pFp\r\n=8ENR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"c212627be591cd2c2469321b58b15f1b7909778d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.23.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.23.1","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0","apollo-server-core":"^2.19.2","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.19.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.19.2_1610643077060_0.9160922339059074","host":"s3://npm-registry-packages"}},"2.20.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.20.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.20.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"cd1f0b7c461284cb26fec9864a1086355ccf9c19","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.20.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-2x9mMFtOe2jOr9gVQoME3244mVvuJHC5AagfEG9jglws0e4HI4dXvZALqeyM5gDdsmBBfrFlNQ3Rm0FtwE1v7g==","signatures":[{"sig":"MEYCIQCDPGMiWwr9nZ1BlXP3a/Curv01IQlMZzQVO8PZ6yF+mwIhAOnOyARSvbIrP0E+iYDC2kNy8/D6kSyOpZ4EaZVY6Hz1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIeE+CRA9TVsSAnZWagAARLMP/3YRwhtupN2reFtz+4OF\nCT8OKyVMX7IBQTjUhtC3SvF73MI/mCNgy2ZSKeTWa4OaLWHsGlORV5MgizD2\nAaSHwmTumamcW3+ir3X08sEo+I3TRkin3jQ87ap0ZMz8aMdJww0r+lYaYaNV\neSXsxA2hl1lfy6XqT9oV8+snPBfMEPPhbMrK71sbb9jNd3lQGHlHFQYQvWz8\nJSJPhg39Y+qfwuQOhwpnTNQL7yeGlH835LN8PCibDXAnqOBS/xdxSXuttwi0\nBJnCT9bIK7OAHLyEdlO05wn9i/ga2ZgScI+O0XwIMRhsz/2QxFiWO0qI7DGr\nikwuQgIJgz8RYlHteCLN3XDI9gjBz/pLN8+MOEqKgdhp/n7uiH/jJGuyWc5h\npEzlJ6ro2REl1xh5mcCgZTVPiSOXfeHYmeqAbEJfidl37RDNe3tgCrRUkxng\nKl32qj92LShpUzwX/xeXKHEo0T/QGmLAB93dclc0fQh4Li7F4dBCITV2/T8l\np7ftBYodIIDF96tXWUZGj2b8mtMkfysWX1YgWyDCaE9Sq4oyAxfV1lX3HklA\n+b8XeOcvqjmSdSMh6C5iaLnsVl4vjiMqZeKaHUHb3otOB1PAxWion+Ig8Iyw\nstEk1fyDgxyCkiqFWsVA5Ix1VD4p6pkOetWm+axJE2ZRM4znZRovts9XwhYg\nfinI\r\n=G7Qm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"d18b7a94a6984017955e117060738f190b6f604d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.23.2","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0","apollo-server-core":"^2.20.0-alpha.0","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.20.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.20.0-alpha.0_1612833086412_0.2929665848118208","host":"s3://npm-registry-packages"}},"2.20.0":{"name":"apollo-server-azure-functions","version":"2.20.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.20.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"379da910b25f59c4b8b5645651e687060d449689","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.20.0.tgz","fileCount":20,"integrity":"sha512-b76TMMcW/psVR6Iz7AskDYSpwCFBejEs405ISm2aygu9QIGn40Msz4GlCMaqSzwaX3vE7FX2YEgocP3CSo6Eug==","signatures":[{"sig":"MEUCIB+A2gNBUWeVZEXMcdfvXrisaUrqGF3Q9ElRTfVXuZ5fAiEA6ghi0vWa9ewcWyO+w6jqCp3JnHAR03vPgb8Jdf/N2BM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIxWACRA9TVsSAnZWagAAuAEP/2kATeqPZFXHJFeGxvmw\nEA0nHLGlw6Hipb9omeBODRTOv6fresH2R0GX8dnjAhBHmASALlrWPkUnETA5\nD3DsSf8NQ/18H0qA18OiCM1vTwuZEjiOro1dgeSBXcGeC6g5vcOAm5xIN6ZR\nducCWg/3XIjwvEpTu537yBurGwBhBfcLXNgDYwVatTtb9608H9Drd2MiTRc8\nhTI8rNXZAlkyiFIW4ml9Qx4lyv/+yWYtK/O1upGQqrjl1vPgVCzbFSC7xdZp\nwnnAVsVk0W5qg36RYHNS6EOZNCV+Wq8+n2QlSmXQG8Ja6DUbhecVCNIMLrDf\nSLkFe97OHR7suAv6iW9Fl7PUNzbgvPobA9xf8RW4GI1/qgWmDgBGt3RNrjEX\nt/EA2aMEQGCLwHV9arpa5D2GH1vVSNS35JleBpckkByC8TcwlCW6xp5Ywo4v\nQB3o11p2wF2WUj4JJRrARq3J9gZu/1lEtlxTdRQzUBwuvkbj/AeCbIRlgHsS\nsSpPq36+YpirBKZcck3LV0d0H6MWu/mn5TP9ZXpgdp+OiBJ1r2YfbEkB9kwT\nQ24pw+xDqTpDkD/kDcgpOOu9diWiFabjPH2peQ/ee0BbQ0723NjO/khC5o9N\nHqUcd8mVvwUQtvBZvx8Tn6bnqYSYRoL0jfl4oiUmif4z8HhX43VBdiD9yo/m\nWDQ0\r\n=CfRG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"baf9b252dfab150ec828ef83345a7ceb2d34a6a3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.23.2","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0","apollo-server-core":"^2.20.0","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.20.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.20.0_1612911999612_0.4288283945038591","host":"s3://npm-registry-packages"}},"2.21.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.21.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.21.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"87d8df0f40553fc299e70a8b1d1c0f3bc0d07a38","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.21.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-HuWwmQ/1bX83RHJftjWPO7tvbnJBRnE9SMC+FBFoUXMag9UZg0aPMNlo22/3mMs/SIq3Mvx/6o7bhYQX8RfEzQ==","signatures":[{"sig":"MEUCIQCB8QiQqTPdXyZmr1EH1PBuamTd9Q/W9LZ4pIVacxCbaQIgN7LWvlB8w7zUjbF/l2Rf9aFASi/dieGRlcbH7QHG//k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJYKKCRA9TVsSAnZWagAAYdEP/2P7gnZohqcdH4Ltf9zz\n3gfNNBGiKVRlUuEXwDqpDiSHEPu/hdbfb/HzvmZ7Jj5NfafTTAOkpXZ2sTO6\nzx8CKdcGEaLDgIVY5xFk0vGp0h8Idy8tI8p9AxV41P89w2ngNdbJOGqfECGL\nVAP0iw+8Xu1gBlDgS1vyuzD6tGgvg6/BKhFl1hT2zZ2az1Jtfj1IzL0pX0+C\nn7OEDxi00J1AxggZtt9rq1PAOT+CfsBFAjj8BN51VP53px1KLW4ZzHeeLTsQ\njKVjowJaVdc7J3lXNLrhscdwgFHjvus2Zo/LUZwrbbUSnzBuGiNd65Ex/pTE\nFkvlZh8yB7naD/Wx1spuG+JEF9RnaFyDXnu5yBggwYHKA+6GrsJWT2kczZ3Z\n31Hz9e0KdGOjreSxH6VTmhKlHN5InlxXvcrdb+5jsHDMjGe4Yj8CtRNAMeI8\nfqZa03fYb/5TEzDIXnAAsFbez2zW89Y5o49ve5nJ1rFqcrXtB1dG/Rrwbwv3\n61N8WCgb8cJFcttELz5bjoci2l04rxruT2Pexz7xRMTBwUVCUXR4ImOetSpc\n6dv9cCGT1OLUe50szTOam/IcIcQKbpcU3TgrRSRxP8N4HKiYWQ3EW7it90Dd\nFCCmPGqzOZxDR91Z89FQJo4hq4OSt3B5RQEZqjbP2/xna06FPSoBTthCtLjD\nOM1E\r\n=O9qU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"3642ce88eb6b83150a90428721dcdffd5bf48a4d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.23.2","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0","apollo-server-core":"^2.21.0-alpha.0","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.21.0-alpha.0_1613070980195_0.2929588558780105","host":"s3://npm-registry-packages"}},"2.21.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.21.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.21.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"4197936a05a6df6e9421d6da3238f71705634952","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.21.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-FP19vBMkEvKnk7WXZaSyzzPPArr06SbDAT5og3iP2nezl8Cah6KBVV2SaLA06W11woke/3uxJ6p6d2NB9wcRgg==","signatures":[{"sig":"MEYCIQC2VEACCtA/KXiObS6M64zo+fYVs+GVAN5zwgegHGVJQQIhAIgN0Bg9HnAUgYhvx1xalg4tmY38GBv1VTMYKA5cJUYb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJYs5CRA9TVsSAnZWagAALzUP/jjvFZulY5wgysDSAMRG\n3rHj+coQon4jq/Fbp5wZHnMLszV0sK38U50J5ukozTEFyEjwirMKxT0jHkX3\nY45rMAGuNZ1hp7yfJJI7N64IwUmiMzrapZlyi6aRugJ4VKZlHOzvafU5hCWN\n/7x3mhX5jDHHPuZLKVVMxuxfeD5YleBvXoAbotR986FFfM5Yb0B7EBsbemWg\nWJ1vQUcjhgLeUs1zFfChKcX90koiHh/KYDLveGhxedgbuh65y7JsVsCLSbZN\nwVp9ME7gOPBDgZr27xexAO3iXU7+f7iHA8otg1+RdmfyyrS23aQC3Y9Ug5rk\nK+RJI1LjoVDT0qVkAtuxdG2R0jC00kdCWsnpbjk8RtXHuVsu+joO9JtBzEc3\nXQemWM6CTJ9trHnfW4bQ3s093cGhuXisSkLMOEsO9UZVhw1WogmJL1wrbbPg\nUsMJjvfUYgsOfc4RZMUpKgIj48pMAvZ/2hFzhVnm6rvgd/Ye2T6b6zol6O1i\nV+hBd7cjIbFpWtzBJnloNNGzol55/KMy9KUGkCszwaCjFP3w+ZivXUfsX36N\n7+vQUcpKIFjzeWnFj7s2N5gO6G+YdZlhGo7MWRHWZ8s5HGL/DBuuKb9VMHfx\n4lhLjgSMgc5UGc+IOYeak1zLk4jvF0FKKj9qrB/HIz+/INYGZA6CatOtxe72\nBUM+\r\n=Kse3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"26279de6a638ff1e76c34bd3f9177669a4632f83","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.23.2","dependencies":{"graphql-tools":"^4.0.0","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0","apollo-server-core":"^2.21.0-alpha.1","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.21.0-alpha.1_1613073208649_0.04329754660117624","host":"s3://npm-registry-packages"}},"2.21.0-alpha.2":{"name":"apollo-server-azure-functions","version":"2.21.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.21.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"716fd93236bce61a3c88f12b1a3649d8a80b3fc5","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.21.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-DCOg4whSeXlz/79DQbYgsIpc6r5XgNRXhsHw6SuM8RG4y+W9eLWAZdeyrkagbql9ayoXbNj95WoxbG74RxSvTQ==","signatures":[{"sig":"MEUCIQDcX8q/nvh8iqXZeBl3g6zTpJtfUQwFkMmqfepL8B5V1QIgR5Vcb2hIUZmWsyVDX8z0Z3c62InKU+q97KS3agRbIYY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJaYlCRA9TVsSAnZWagAAFFcP/j6LvPKFGJwE7ewjPTip\nje+AQ1unlN5CqM+kMOXffd9nAs56oI4Q9qrSkJcdeFXna6KwweZiDNcjj2kq\n4cCatSgAo6MC2OjiRnvH3Y2kvpEUqVvNaQpUv69iCzn4DRan8ZS68gHOVbel\nzlnkSjsEBc+/h5Ao3mFlwu7Nhu33OBG51DD64TPiGWFYObpHlsTXURDEc2II\n4W9aI4/xZGt3cCfAsX/wWwyrEGbSG/C/fHXThuoJ2ddbW3BYUbRfzr65KC08\nTA0WetF2a/Qe/9Co7Y3+DZr/ftyXE1HlgpGZf1YK/0a+5MoedBxxFosZTzny\n1QGXEO0jWAX3ekkWi/0X0+wArC4JfYNMFMIajzqcaJzBrZpAGeRrvkySIJz7\nWzuOhu45rkHC2BIgq7w+Jb+pjCu1l1LK8zQsQymZKR+yIyThiGwGnuc4w7tE\n/T/daVhpGEWWhMWz1T1ryHxF7wMV9CgHRLoPA2zMFKjvcbGapk02zNPW6Bje\nItyde1G7fjr2m01NTrAEFBsJdMoIuEkLwC+q7wgLNhz6o0U3Lsy6ZdtJIyLX\nER3sDKizYvZG6PoZaLKZpa9mQXPn/nn/6P8Wkf9XVa51GlyD/N0HosLtopxG\nj4mOY/x6qOxUBjQHA6IKVcgokQKR0PFek1RB17/nqvakD+3L6c/rCl85UA8x\n3Q7x\r\n=5GzT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"ae81d5546aa73e5328f9b08a4166d7e50d8f4f3e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.23.2","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0","apollo-server-core":"^2.21.0-alpha.2","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.21.0-alpha.2_1613080101402_0.19447186395323213","host":"s3://npm-registry-packages"}},"2.21.0":{"name":"apollo-server-azure-functions","version":"2.21.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.21.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"08666a2ff46f30b818c98eca2515d06fba2cc677","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.21.0.tgz","fileCount":20,"integrity":"sha512-kUCtwVOWshfwA3Gp/3jzkzVQsyCRrI1V8NlnDBBmZ0yvdAGPe7Wvh4cxkYzxUPL/mEX2nTCUgWZ11wzpFcQnAg==","signatures":[{"sig":"MEQCIBfmlaF7F6nQghwY6VUAHq/qOoSSpxRV6JJm9+YMI4K0AiBUtEZ7qrBTJKmWjvdNDVZuIQnletKUjDBM4cHPsjs9cg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJeCCCRA9TVsSAnZWagAADcsP/0VSxGKH7WbdJu7DooEZ\nU3egTu8HGvWlCgZshaxHExmD1IJPlH5J/LL4vbeksUYtBvTcylYSA9caNcOU\nVPKzZFJivCq+RLM3mW/+ZJ4oLu7qYoHpuxg/c/x+MPY8L1/PM9Xaq+rhDHEf\nfLm2wyi7O9WSs3APP7EEAuEq9PHpxqub0mScrJRAA7bmv2csJWeVj6Ud2yd7\nytKAYkNHIrY5XR0lpngRRukyrrfCzxpButFXkY5ZvsDWxXFtpi33h1fGFZ5a\nLLxoYGO2LUaPyaW4CkH7UWlAHeBJV4iSKIdKWwI2BCLeSPZ2hQAVI9LbQBTq\nBrofRwKZPSargb7OKH3tz+TG/38ffvll0KldkZuSL5JQB1hUTlDjsuwaeBeC\nWdMtjbzlKkq7/ckyu/M6a2URGXKKQ1UVhObvtR3Y3aZ6GslHKUyt5vLvi5oe\noQEr4ruao3kUeA2HWy6BONDVGcQJ2w/JOsl9w78Lf46T5oSCBDFoig/O7yOZ\nm1zacPPVxVRmzDLFtPq0T+w47vhFwaeOKppNFa1kfql4scg0mvfg4AOvZ7iF\nL0VbOQR2/HJHXPkyz79xXDs69kywdvR2G6f9Yut2YpDQqwihEWPA85im8c4R\nCqWTXfGqvpa6RbkJdlPX7YOrW+xznnM0jZBVZiE8LzGFCRjYIOEKlqbcoPov\n3GCB\r\n=THuj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"456487f425d3504c1b1425cbb7c954c664b0631e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.23.2+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.23.2","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0","apollo-server-core":"^2.21.0","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.26"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.21.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.21.0_1613095042103_0.1491980581194694","host":"s3://npm-registry-packages"}},"2.21.1-alpha.0":{"name":"apollo-server-azure-functions","version":"2.21.1-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.21.1-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"cea58adacfc7fc64a16aefb4c176cc5c7b0ca6d9","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.21.1-alpha.0.tgz","fileCount":20,"integrity":"sha512-DBK7jUT1rPVvjqIJpiRvVoJsRA/QXYdXeYt6pUndjoft5OlSliQpqCS++bv/eWCE9IFYoLRDoHETfTbjDuQeVw==","signatures":[{"sig":"MEUCIQDQTbFuj17vvjE3WWlrD3Og1XOIALDidjDBLGC5pj2shwIgPbpfjW6KXmjfokkW87mXaKqCL7vg4q9CEX4c0Uux40c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQs2+CRA9TVsSAnZWagAABpgQAJ02w4oMJ9+btuEZOJeq\nxqNXT+k14IfzfoOrpBivjqzY/j124b2NHTcZRDddahDO2Q10tqrO1wX/ZmrJ\nx+9/29EpnlacjhKnw//MqzDVUKHBCExADFa/R13xyy4UivEXK5A3N13mKiAg\nMgq7QNBsq4hU5c7kKDPqAaykdkeWhZEAag3afYL5lggUm3rcHA3mBKSTFaXO\n87SLmbYiDmcUiU7k544cJ6ncJrR0VjBt+IbrYeqoRE710Hk5BiHbCv3P6C/F\nGxt5GWLYsfSdbXfRtWz8BYtdMydKHQap0dd2R1lP43YNTKdpO482ELMDoyGn\nYlhJdSw2gyoot2bmjRmWbOSTjBv1VSRHi8smqZpRQPMX6H9zRFMBgt0isWnO\nzxZtKkrJKmR+9LEvdA/Fc83Ud5wRh90fMCr354XY3gyXiARqJQVbGLN9eu0Q\n9Ar7ItexNS3NGjEpVvoFum1QBWNd+xLA7qOsjGbAVmUC5VqjCBt9YtfmGqw6\ntfxjxPa3vZdzyJAcV2qlRCd07k+CCtZhr9hmT0mQD8tBa3v40LrzU0VNOwyW\nMhZZP5fdN19VR5uq5/CbuJm1YgGmgqzLhANhU+OvKNNHNWk9sDDwkTYFswJo\nDJil0WiGhmmZSxnkQKw4p3VDE+Eob/vHRB6WrS0A1yTv+QUvONqSl2GjgL4q\ns3Cq\r\n=DXED\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"2397291e292dc92b378ac6628ff8d291c2006a68","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.0","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0","apollo-server-core":"^2.21.1-alpha.0","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.1-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.21.1-alpha.0_1614990781599_0.434124094293322","host":"s3://npm-registry-packages"}},"2.21.1":{"name":"apollo-server-azure-functions","version":"2.21.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.21.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6d3cdf75ec2ddca1f160f3f5da26ee667e7ff158","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.21.1.tgz","fileCount":20,"integrity":"sha512-71bvGCw6ZH5a1oMeQbf1Mwf5OPHKkQJhQ4v9zzifSY13nTa1V864dVYiStb1B7EGD5WacGagwhsx+AqVbbaHJg==","signatures":[{"sig":"MEQCIC84gWS6dNDP4Xf0Htby1OQhX1N+J34h7Pl/Qqj3Sq0EAiBL9rameDxCbHTB+0XFPMgfi0o4YDKtkq0aFbpfc7pJ8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgRmx7CRA9TVsSAnZWagAAA8QP/2JqzqwjbW5qrSgbpEmo\n/Lv7xH1wridZvd5MYz9kf+SijEb/Ypvec5Clhx2k0526rOdBDOzRVB65AyB+\ncyhY5SnsL+Zr/2/xm879/S027JOebRe9A/Jzkj/9I/QWdwZO1qYerT0dz2a1\nSmVzejkIR0auC8ehdMtZ/d4gduw7nUnLB2mZSqzfQBQm0vgx9mDcC/lKL7ZH\n+5cAEVkTBvmxM8RuiVllSe3enimnmcJDZE+nn1nzbZ3r3tdQApox7dg4q5m2\ntDVzE/wVbDUjrWkh8or6u/i4s+ZoyXBhYY5UoZVvM6Myj5YGuGhHEyVi/Vdb\nYt6HGQZLsw4nUpRCjgVJn/1iebQnOciPSZuLGhEbZhUo5CcHq027cq/1qxhQ\nUnMDJTyWoywFlNFYVtDOC94toosE0duXjQyUMWnKOvI3uVVXPxAZRWXzCp99\nGwjqhQvb1LjQDg9ZLFCOX/0YkJ7I0z/UXoyYM3BpNjKbZIf4lHW0QV4dc1nG\nsEkvJQg8M+t5PDV6T2eoT3DA8JFQ9ljun6hnzo9aSxlgaTQ7Qq5HiyID35Lg\nZ+ibr9ld+x5d1ZtGcOnK8qKYv9BoRpxZJlDGakaQP46TIGoxjIMrXWTzwQuK\nbyyeptUYRWDO7ztELFmcIVwXpTs9bzwl2QGNAdKN83OPP73Ye84oF8ztUwMh\nmFIf\r\n=9k/B\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"9941c8f027cc8fce6a15f8678629fdc5dab4c2d0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.0","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.2","apollo-server-env":"^3.0.0","apollo-server-core":"^2.21.1","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.21.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.21.1_1615228027055_0.21987610515666756","host":"s3://npm-registry-packages"}},"2.21.2-alpha.0":{"name":"apollo-server-azure-functions","version":"2.21.2-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.21.2-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fa21f619ffd905fe9d7b0b6169f5388e565681f0","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.21.2-alpha.0.tgz","fileCount":20,"integrity":"sha512-MpYmjkdEeLLsQKEqzHi83yUuZ5hFcW+TK5B0H18NnvfxGxpQdIGM1yFy+d+QdYD83C+9I8fEjvEZud1FFzRZKg==","signatures":[{"sig":"MEYCIQChi4vfevL9JCDG/9sndsbWwkh0jpd49asBW9iecQeQgwIhAJnlw4ZAz4lPSn0/iwtyWd6CTyAVktLEx5ZmnyxCKBk2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUSShCRA9TVsSAnZWagAA+88P/jsk42vyK9EdNQt/sKUT\nk5b9SGDH5siE5MmuGKhb/hNTE++lKqkAopJPyyDYHytQDZ7hdyPi61yNhPu1\nseWHUdrlsaHwufsGQ6NnLCP8DaB04AqU9S+F5DenOovFZeaLsH6RrgszEJsf\nwww2EHrjdOzphEM1btbNU4j8r3dLyT9n0L8TCrvjeQwunW0wMC07zgrHFGU1\nd18YmZaxDWLtYZNcLtZusYzBQZJ4D6+ERkCpcTQaC4Ar294Yj08J/nQEEeff\npKo3QdfOIFkoG0iniA9f3UVMbfrTUdXUM1Y1X1GjLsNa6g1Xz1V6exPpURqx\ngovpVPSe5t86/hNJtFxsTpkc+UtYytEnrHmc74VPRHFNHPq78wAeRHHGC5nl\nLhZ3Q19/zrslea4I73EJzRhZWpJusV2X7KAfEQO4fifwUYyCEOkxjHtvMdj6\nU/9Tas94NOJtCxDsv26BFIitKAO50GJXTsLwbuBcYx2xkWAaCTlHWTULfEYv\nQ5W5Quz+vpOr7iUHnSttJp1yH7JVX1h0OW9583Gk0Nb9av+oggqL9fLxiIYE\njq6nYYknMr3n+l8pYIcj6D6RLDjRcqtYVZKOJZb2hSmc9SkAieRJLmSUOYSz\n9qMYcm7ZJUZbXfseoiFQ9pAsStZTwWbb2rDqPJ1XfjvQ7Y51uOWC8Z3OsCFN\nKyKJ\r\n=sTyr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"2f717937413c56aa66470e76c9c8c423a95b67bc","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.0","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.21.2-alpha.0","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.21.2-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.21.2-alpha.0_1615930529326_0.5719978284034859","host":"s3://npm-registry-packages"}},"2.21.2":{"name":"apollo-server-azure-functions","version":"2.21.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.21.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c216c393114b2fde9e676977c7b1e080526dd86f","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.21.2.tgz","fileCount":20,"integrity":"sha512-0T0CwYb3yHtSj52ijbi+79++N6mEa+hHMlnLfS1uofrPIgvieBgg6hE3BFNj0EgfCr94F6BaPFy1NdnLr/L3cA==","signatures":[{"sig":"MEUCIQDFdbbP/7/WiVPEp7WytYIe4fY4OdReXsi4ZCNXnV5UKwIgf9tenMZ2lhzvRs222lPyxQKlzBEAIzGt4/YYW4CV8j0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgU69yCRA9TVsSAnZWagAAVhwP/3+Xp15GvopIOFU/Nvlt\n8bEW967J72MNNmtpArZERuJWGVR710ZBo1NrPpavzY1N3dLIkE8IKyiGTqkR\nK8iPBt0urJrzkkXWst3klpJdp3gEQnRwDl+8zQApuRxWprjrux/vg9wPa99r\n9rvZBh6fEsFugtlfvLWU1vEXgVZgKR5iGgFGr6smskQITf9UwjOyG28h8Q5A\nGQwZXBTplTCsDBRqxPF7PUksnNvoylkyQTUp+HS18mz5P4R8pjIQXGcbCGci\nbxlpqZgGs8TDgcWclxrUOL3iBBifbpMuSohfJyUOJQ45MbzVoPHKgVV3Da8B\nRKf/+BjAhs3PZL8Ijhn/2WlKiex4cMcZ7Jp2AN2tpvMTQ+Fe3OrbdCf0qh4D\nHBXlKHRIO5ygg21wCTGe6PWEyHr8cTpeCZmx2kH3iuidZxUpbf/2gSRlkQwr\n+tl9CL15Ke6qvXZsexje/p9bF/MpHNRLApQA3e1qemvGvJrbNqw3v63z8tqI\nrtQZDxxAP7ryyEuVWTurb8srew9yXXX5MhHsQimBX+6zICiEVqzgL6YhdnOh\no3osZmrLjTt7hkRggaP9lxBhC4qJEwnW7dXV62ZGdMolqccjOZmB+V+8ryEw\nFJ3DUer3ZF++WVmXm+sqgFA0kbwxFGWGx0XaqETUn09Y0jgp3rr/Dhvppw8Z\nfAWE\r\n=xAQQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"7d3593d2c27be2a74cba4adfb57894856d8fac81","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.0","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.21.2","apollo-server-types":"^0.6.3","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.21.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.21.2_1616097136482_0.6685291901773669","host":"s3://npm-registry-packages"}},"2.22.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.22.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.22.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8844bdbcfd7315f52e467bbb9f139bc4ff60c883","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.22.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-AvsK+b5LrmuzRXXDF56oYlu2xYvKAi6d/T7thxuo8BpItrReJnVlSAzLqk/OYxE9TE+BnBNCts8SyKSO63/Lsg==","signatures":[{"sig":"MEQCIGGy7dPg8GQ/wLy8DQAwRhjMHxGB/f/e0MYCgnxCSWswAiAfQnwMrKFLM7dXUayLOo8/xKK2bgrrg0IWe4urdkUAdw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWRMwCRA9TVsSAnZWagAA8N4P/04WNOBzFHe6vxX8W41A\n3r8lZW16yxxPkwLHWY6pBalHabqcuTPCTEtclTdJc+TT8SUzCF8dcZ2f49ht\nBpnh4+Ekq9r+z2ZFn1Gc3nmzT5pdmG9iMDqnIAiDiXQm4ki7zsKZxkiBa3T0\nrSN6LQcVC11SyrIgH/b1waPVGbvLcDxG3QvG+3ukM27Tbbn/d2VLdmG018JO\nNUPryYhra+jsTLgbKdxiAcZJuMItCEt2wRKli8iuCt8Ujn6HVM+qI3JFKDVM\nB3lG1YB7flZIdoESexTRDK3ZyqXdlFl/ZbCGh2lQuSCOhQBf6wnnPFu9zuig\nVlhp+SpLLztF94N2GhQTXCgpB6dQfjD+xz9eo/3vVX/TVh3zpiWyfuaFhTFS\nplEui8anpCwrnzDQKhVOb3lksA/DKFFBsuqBNu7eu1j9Uvm880aTGS0tXp4k\n1KtDBJR7tuFURBbhV/aje5pISHtG4VZItlLgscMv7246nomemoMnLssqQbjE\nKEORSQ0EelYsg1m7dmUgr273xw9kLNXoDFLkwdRQxef4PDsh3XkgRvTIPrE7\nds6GymI32KdWkdMCgOcQZu7uvHyPc20vxZ9ng6YLWztNxKejuLH2fy2XbfzT\n8iXDgB3BA/Ofep6hMFgeYFH/8tdk71Vp697li5rzviEnZfY9GIHeaGLi3Euu\nKL8D\r\n=tOnf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"1682a2566c135381b67310922ab7fba44c4f0644","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.0","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.22.0-alpha.0","apollo-server-types":"^0.7.0-alpha.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.22.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.22.0-alpha.0_1616450352186_0.20958098445847173","host":"s3://npm-registry-packages"}},"2.22.0":{"name":"apollo-server-azure-functions","version":"2.22.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.22.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8d105833641edaa3e5ceacea9511dcb05ab66cf8","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.22.0.tgz","fileCount":20,"integrity":"sha512-YWG8Je/1xSvBz5Elm++cDp3hTv42CG6VWgP4maE/9QNlrfNgqmsmF3Vwyje4v9Z8GFNdnv7SBjX8iXl3SDiULw==","signatures":[{"sig":"MEQCIH11DUJ8jNZxqvIm2JRbVw4cUDbHiPhFSOeKnYD0IqlmAiBaYozHlXSZG3zyadagMBOsfGVF/iyvY6WmYuNf/regpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXSqqCRA9TVsSAnZWagAA87UP/ibiOL4E0FCIAgfy4Oj8\no7ZIN95NDUjFrlKHz7vAuoB+8b99LA5xx0PZlfRk4q0C0pIU6EauTiYaU2m2\nSA4+GJxTL08migzo0DmdNrRep1wgTBk8b+miuVEz/idrUBMjTGGPYEKLKP8E\ne0yl2O7xUzFMWaMQ13wEy1r0pnLH60MFamFEffTb3vBK6O6SGwBLoDXC/3p3\nOx3+Wt7nKSVDUiIvtZZ8YezKGbIWN+KoYyb3Z95eJmBO92EdCO/w+2v6CiCa\nG3IQBwNkjwMCS2Y7jLquyWufoYXnFQa/lezafZb961Z0A4h8xT8Maqq/abuf\nI86e20507an2OG0TYGUYKkkakM6w1rHifd2ykX5LBhGRXwfWxA6L2jsr1etl\n6LVk+6M6WkvcARL6DgbIDDIsNvKijkuOwIiMQd3u9o3mlIG79FDFJbYNQEcP\nLQbyop5KX+X4xXEqRcd7TdxlAwIJqJ93Xkz+fo55TphXyU+GKUymf3YeWz6Y\nHSSrqDFm+ibvcSo1tfycr8XHjf86tB3GmcKktoUFTImOi2r5zj2VDPDhu9oZ\nPr1BsV7YAlPpA5kmVeoTsqEbjzMA8sihpz7cdW9rt5IMKkuo36zyoHi14I4j\n0obwm7gsZVl8m4G0oepGGW0NBa8URbfXgA62i3LWcZQJld8E7PBXjVf/zUVQ\nb1vL\r\n=CzHs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"93499e703a375ff0fbd128138e46b574074b44e6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.0","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.22.0","apollo-server-types":"^0.7.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.22.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.22.0_1616718505967_0.1982374985016997","host":"s3://npm-registry-packages"}},"2.22.1":{"name":"apollo-server-azure-functions","version":"2.22.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.22.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"9b08cb685b2aa83a3e0fc312358a702959026612","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.22.1.tgz","fileCount":20,"integrity":"sha512-CYstPdvUKTYjDH1jARGMsyQCRmGYWA/9+1uJOQvMEMwyfAYiEkL7lWwZzykHrKiniQj3xocPJu/RDB9CaBidlg==","signatures":[{"sig":"MEUCIECafcYe0QZ7AiI/eyMK0jfCKxwm5auYGcPajek0vGRoAiEA9v/yU0YxLdvyMnUXiLI58q4dptNUIbtsIJ0nltghwWI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXWqKCRA9TVsSAnZWagAAwVMP/3+hAaHMlWHnGO5RN7dd\nZl3cwVAcZff43mCEO+GkCiSv3IIjpvaq3BF46I+ugyHo6IQjdza7aoEh9y3z\njN/3SFqt1/qbNNFNFm12tODMIqMMn/kQaHpN0CsBpgCnDr8OkOjO0u1MwAYs\nf6xT7NTcIVpk4rOiIYGgfws+3GqSqED9aGV4edctrVBgPzXcLcACmYlQXllG\nWwU6faaOwb/YWTMvQGzDbhUmRaEsv/ZXYpC8ue8IhsQcAZ55xik8FVpy82oo\nJwu3F7xGpJl2007+st/KGt0K8CyDGneYR+M4AZwunRzewC5aqVAptCITbu/8\nuG7DPrUO9wehLzLImLJwj0QNfuyAy6bRr4khUXxt0oWf8muOO+arPVl0rCmY\ndAoRsvdMSzyi/jZg6svY19OSwUzHUuf+rKLHTQC0A7rE1VvJc0L8MEw+eIXG\nkFuJDu8uc/7riNZIHIqurT+67CkB5j8XtSUPJKjeOM/oS96ssR/JCnR4Beh/\nHgeEmlnYCp0v7VNGovfHgzHR8GgdNDm8LXFQ+We+10c38qogHw15Rmbjrt6l\npEZO1X06NUJGZNnhyM2Jtb3qF271XQHC4eOJIiVT+lKcTTFdWbMOQhO9bLMc\nr5uF+Sc0TqYKMJNYTpJrak/7w+rqvS+nkNcOv2AB6Sf53eMJZ/fjVnK//Z21\nf4qc\r\n=/N1U\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"6ad8f8f8ce743553d99097f77aeb7fdd4a536e7c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.0","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.22.1","apollo-server-types":"^0.7.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.22.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.22.1_1616734857561_0.6712766908030674","host":"s3://npm-registry-packages"}},"2.22.2-alpha.0":{"name":"apollo-server-azure-functions","version":"2.22.2-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.22.2-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a748b6d1f5ed27d6f6ba2089dfeecaca8181e20c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.22.2-alpha.0.tgz","fileCount":20,"integrity":"sha512-zwZmWno/vmkoFZ6ia1dVmB0Kgb448sskYIM2BBKdNzYOFhxTT6cKUyOe2aS5rTD//6ONbFb8v+J+4Ios7fQzbQ==","signatures":[{"sig":"MEUCIDgtE/n0HSnKsgFgI/Bscu2gT9Cxxm5tMjGEmjO3I+R5AiEA38y3waCetr+TSH8aV2aOpQdbq+/fCYFEYyQ1Rb9FE+c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYinKCRA9TVsSAnZWagAAPBoP/02LtHSkXSbzRqqbWrPz\n2M2XUiEsD37q80Da6jJD2BlC18CNyGz/cqszhTC4wpA02YnJev+WcO3ntMXe\nNczi1zilKgUpycOVAB3sLxlMKH8x8vkRPI8aZP03B2+3lL0AfWCQZUJJQOy0\njSp3XfD6XjKW3iggqvtggIADHpBZueBafSAZ5c4B9T+bcEl/GGbw46xXvL4Y\nJfY9zDVXAKXNHwxrosCnRDyv+vwyYT4Bd0+lp9HiVKIlYc5aVsuJ971bMjdv\nro7epOGVf1Y9o9VVjDFhvpekZvXgFEkfOrchYelrjQZ0WdruEsCsCBvHqmQ4\n22puMVZZR0JbX4/p85VtWTQOz20f/1ybEsWG5o9BAAuOuQg7mMw+902w5tF1\n9JKo/uD6uO8DpEBXHVm9za6g0vYZECYNykDk7DTpM8qfZGwfaNX4EouCN52R\nB/84wTu6UZHvgETh3hogZFTDWb1c/bLzr3O1OZEb7j7Jpa+ofjT+TRh6/wzq\nIAQXoOZ+ZoVR/Zisns/Inu6qcmu5vUCGiovxpxp6tYYfPXqDThlduiMinbOa\n8ehc/K/r3pyak97Ury02jrqrMz2SuGfMP6uHBJ63KXX85gYN8YIIhnIHLvLt\nrQUX/7b5o8wXWv9dBRQGsbWkZNqoNAnDhyX6zZ5ilYHPCmWrAwNO/wtW3pzm\nUA95\r\n=hyqk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"f4f14d3d6f7a278a21c334b39644199d2c919202","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.0","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.22.2-alpha.0","apollo-server-types":"^0.7.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.22.2-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.22.2-alpha.0_1617045962415_0.9520260939508252","host":"s3://npm-registry-packages"}},"2.22.2":{"name":"apollo-server-azure-functions","version":"2.22.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.22.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"6ab6dcf01b84c9fa221de43b3bc91052ba9d5d42","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.22.2.tgz","fileCount":20,"integrity":"sha512-kdJnOtm6zP0TIerWomppTOBi74Bp4AUfl6AUdbHiceFOHpItKyLP/NVOn5iUtEDtaPO68FRhoKJdol1vfTuTbw==","signatures":[{"sig":"MEUCICCt5vqe49UjamVoJH5E2JSsvdNBzS5xpsADXcxCnvtcAiEA14PoxHQ4sCBNSYH6nv/05RVZarxIWGoDf/1lpxnZP80=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYixjCRA9TVsSAnZWagAAsfIP/1ipM8lphfglXOnMOJ9J\nLep65RuKu3Ppq7dWNRyq9dBNCv36qxHApV104VCUyjZC6dxuj7Xl3QAmciS+\nWW1qgO2ZSNtF0uQpaaSqYPcV2YEeCRPmXWx1OkhjPG3sIQqmbtxyeXdBCYcI\nJQhXxu+OF1fAQWcyra+2LOnYwod4uWPx61MIeD35HTQBbJqUsI0X5lVNLHFX\n/4eERGL2N0aImFbp7nr3onc1e7Pp2fXKpX2wTlFt4oybuGKM1BliVFBcCpRF\n4wk3yBJJO8CmX3OKWY/P+Nx+gPKRKSRYSWpQW1qCj9NpEIYDKVWqCkjgCPCc\nndRDDTmCjAwOKzOzLlnjuOFdiPDeXlC2yZMMZweio8CD0BqAXhDHcEp4P9Pv\nEwFomd/2OeBWpx4kTa4H/nmVnTABDoRN2oqJECng66X+G2Rz1rAgtuYUb17b\n0FzA6PWZ8J9YokSKYVvsplsDMk1EfYGxiM2sfb/3jhk+Wx+vWRaaMgjqf3Ua\nwvnukcOSaPoXI9gXJJhH0z/BfXV4s2TWusGUroZEOD9VPYffaV1tY+AZdzEo\nWy74h6E7H/omQH1gpEYjcoEFu8NR0tcA9lmmvHuztIIqKohv0WjDiaMSdBR8\nq511X8nWTn0vrOBLVfUF3TawtMLN6P/fJXf33j3+9b0HfcbVPbiFGHp0vfhz\nj08H\r\n=IqBk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"9562af498407e86923d96902683bb5285b849800","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.0+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.0","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.22.2","apollo-server-types":"^0.7.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.22.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.22.2_1617046626566_0.8556358829391579","host":"s3://npm-registry-packages"}},"2.23.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.23.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.23.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3c0f05353c15f0f97c1de051c968116dc6339f68","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.23.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-OGDWltiawosb3esUXNAp7Q9st+OIrGBXbVlbAwdTHuUl5SEl95yW0XZ19g5LEXAVZPacRsLNObADKsswBZiJQg==","signatures":[{"sig":"MEUCIQCxcI8CjmP6vEqX1HtlqtwHKSO7GRSIe6yvTyQRMm8EvQIgYNNB5PagrLSxEthDvMpryJseNSvGTxBRIeqAKof/FeI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb5suCRA9TVsSAnZWagAArhgP/iMhvupl6ABqRXjAaCRg\nQ4W7RgER+KORBL/cm6izxg+y/cECATR/CaTIwKkfnrbwMECARwV0bAAaNuDF\nU9REc9Uf7nEAnywhsLlToy4tGWM3nD4D9di3ZRPoeldjbwr7jMVqwk8Yf8FJ\nZBY3x12KpDhtUjYzT7+z5Czw8Ub6K/Yb+MuaZy2BIA/jm1n351HyR0FpwhZa\nJRlAae7lnl+wJszmLqK0RZNsQ0D1uxMPQVVX4TK1kH7Rc++4Tlza2qekrKWK\nIB1NGEYYUy/zOrrLpy/409//czkXUESaxdOyz2rR6vLfiTPxC/jVaSGYeJZx\nU/5mNOsusJ7Hb3EEshiTt222nDiA9/hS6rxiieMsZ60mqXcKGGWI3Co03m0K\n7EgnEEKOa8+qjLQvm1U0CgbE8Zptc5ptBO1p6kqrmNDlSeOoIuK7kbjYWNSV\nVBs3PME09VomWwINOQoHwfcmWPEgz4T/iPaNaco9zJHm7vmUd31OzKtpzMWN\nhNZjevNb7sQbJLEKGKKec/hmjiRHZ/+lf3uFbbl+doli3lMzw1X90XhnXG+A\nEdYh+Og2/Fywtjd6IAyCJ1ETnwYumuclfq4DBFVvAJprAgHa+APl+FCtXkrm\n/cu+8s8IWByscgu/4LRkfpzjlIGS6lFlo0dzMx15lSm3X0LE0S0DhPdAevhO\nTv9i\r\n=PMIG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"9d1cbd17e61bb0146a0c0ef2b207eb100bfc70a6","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v10.24.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"10.24.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.23.0-alpha.0","apollo-server-types":"^0.7.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.23.0-alpha.0_1617926958342_0.02282876944449619","host":"s3://npm-registry-packages"}},"2.23.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.23.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.23.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"883d22b26be706704089108ebdac407430661dbe","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.23.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-lv2BIxrT5fmo0MQ6zSsU427FwDaRT2dPOvrjqhtmrKy+Ohywp3cYXL6zxmCwFCEo9Oe4rzHxihHuJxsXTF0sug==","signatures":[{"sig":"MEYCIQD3lKalvC3Ry3EQ2pMeTOjKVQZwTuaGima+v+gcVB39/QIhAIGCSvQCVznAjaigl+8LqPd1P4HdbqWk3KtOf/Px9pFy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36237,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcLPvCRA9TVsSAnZWagAAbo4P+gLatN0tujku6djKlCj7\nRGGax0ZvtbIL9Vd4du9ceIkZhQ2HbNlqnzSaB6LtL9jF6zxIhsht6QYKmRrc\nG4ounDb1aVyNEe5ga6W9Jspk+I4xzbYLk+fBAqkvktCaKK0bR3bCsfntMLqK\nBYZKfCNO5Yb5NsDT4ip0kNFwitJ5In2mhOl/0oUFezdON9XiD9kMBhZZsPXm\nZn3BOJy53n6sd92u7W0uhJyM3fSs5RUsbx+tNl18i3qN6dz9ao9apcDB9HYI\nmrbdOZGOEkXheeEp/8O3oOKUlr37QqE0nl9xYC4nFlQ5EYjdgQnaxgSZyweV\nO4moUPmyuIFGLP88LohvGUXSp5Rt7MD/8NZuVbYLup+uM2LWk8OrixEkEZBB\nz5mu0lpmF/dCVTIJVeIgYLd6/6qY2ApsbvpmGpcNro53+N1Z+Z6JUVFyoJ74\n6qB9jCgdkBErDnndaVC4s4zgph+tmeim9i9kVwg6VC40QGFqH/4XziWZWP5D\nB6BOkA6YZH0NAzb7hrTmdITqY2Ii+c4R32U79kzRPHeiCjHldWTwrzo5D2Hs\nvHfPi9UXGN28JpPpUYAeRuRXDgcP5zc1ZFQvgp8/yy/I8NofTp9H+8+kt6N7\nGXiFei2BacvhfjrXBKBJmW1vHAGJumqBG3tGwvYoUwaUvCnyILrnN3vTWDAo\n5AMo\r\n=sgu8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"3a369c3b43ab389492ed107331fad4f947d5217a","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.23.0-alpha.1","apollo-server-types":"^0.7.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.23.0-alpha.1_1617998831291_0.4381299532016296","host":"s3://npm-registry-packages"}},"2.23.0":{"name":"apollo-server-azure-functions","version":"2.23.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.23.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"16258b00cb880a7313a97fdb4c8655a8027162e2","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.23.0.tgz","fileCount":20,"integrity":"sha512-1uosCqCQp0P+buGQL3/QSDQ2UF1FBRHxYvGD47yQ4hN4xnctCCrspNPjymmAcTyG4nOjuabX8GdzpVJKDmH3rg==","signatures":[{"sig":"MEYCIQDN+JXbeTcHXrfbp8KjZm7/ZhzHpvPW6MwYOvxk4eJHNAIhAJ7jqCZKE3N6Dk7fAgahTbrZ9WZi2fhAUNR9OJO5k9pU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgd3l0CRA9TVsSAnZWagAA7IcQAJ+CNW0DlgRcCQZIcgGB\nekttyWAgkC1vPAgPqea+jgJC95SaiyANs+Ps5G4ZZS7mqiT02F6rm5BFzCSq\noIA6kDlu/AlCXUohB3YjaYOGQcM3/9tFbx+6nFRpkdP/asCYCTzoaY+FiAZv\n8VE9I+WpNyed8aEzNHWQVJHQsYKNa8zbTGrFzcEhFl2Eh+LsQq28nIy5TO04\nGs2yERfgFvJCgsnH5IN6/H4qsvuuWOoN+5lJlPe61ckNbq2JqyhPnCXnGphU\nzX1A4o64vH5C1SREQm0yoLzbJYA+tVVtYLrIEWlJXSQwo/zUCESqFA9rNR0t\nLNra6rGzL5ieVU7iWRJIHOliqVpNpA6vuLADM3DZgSWfMOORFV4IQaBcxTU3\n7JAvhBeNZi8IbLsf2q7L4Q48z5TNgo9F4gSC7A+zT5/QKLTcDpugPmVEE87w\noxK3e1z2fC5n3f4U1ANExCf5K/6EWhSl0Y72+ZkWvtuiXImyfanX4vY46P2O\nH6cBe8HWGWDtPkWFIi2kBlWF++0GgJTO/JYV5/MSWvsGnZaHzO7J5TeGrj2d\nzwU430aOn1mNBLeN1PrPngaik+49UBglgJpyVlffB1ZQd38v2legdtT4OAC7\n6qsmBwpYmCpc9okUAOjRXIhgJCh/U17rstwQQ1vC1LEf6mT2HnQo9lq6Pw1O\nh6GY\r\n=k2Pr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"8a4cc583b692a30670d1893c01851259dbd70ce1","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.0","apollo-server-core":"^2.23.0","apollo-server-types":"^0.7.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.23.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.23.0_1618442612248_0.8372673663345105","host":"s3://npm-registry-packages"}},"2.23.1-unified.0":{"name":"apollo-server-azure-functions","version":"2.23.1-unified.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.23.1-unified.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"87e3c60fb467652524b320e0ca41878ca4dd0916","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.23.1-unified.0.tgz","fileCount":20,"integrity":"sha512-xzaqDQBzCoZswIDqNF9sNOmCjSiH5CVQehFt9nQll+pKSGHCNd5f7+yt0RUEWqBxxHIskz5c05PpToZGbgXEIA==","signatures":[{"sig":"MEUCIQDzvM+uWyHk2PVL+n2LzYAq0aX2tCgzOgnCv6EVO64YeQIgO2ojy3H/yLx1N1MNMisEJktOnKvtJ7QsRSoc0pffag4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggfcuCRA9TVsSAnZWagAACasP/jiB3w6JrbNbUMMlMCOA\nGExVzXexFiLxYYqXxOO6vQL54hGtcmMuS2EMkgrbj+lrnHtdkY9CnPJWcRWx\nferpp8tvBtiy5e/Hwffaxc5qThK+GkVY/yYIwLCnfr3yehkv8msmpfVcYf5I\n+Ie2ELoqQicMH3GrVi/3zbXF0/67xvime2HMgT2EFt58i/ym2PG1ckmCI11H\nHNRAqQVIJTNrdX9YmZeCZFHkZBoGZ/c2Ob9LmaOVI+7eu8YfNpQskFICFMGD\n9Sv1Fb8X77Dg+NQTAOnCe9Vb9qV961kSN0vp2yC+3afBlyKGAuathczX3G0b\ntpQeks8ngnp9F6B0ZbYBr3IX8tqj7h7PRI45vpQvASwPPjoIROkqgp6+lc4h\ngYkaQ7pG080Z9xlgXRBsBqqX4ytBWDbfTSj0dflWJDXCqC6fpJawFo3wPXYW\nrpQOsflj5izGylEvVtOJNNCfc5ig2RWUBc2aJQc0PyRYUZ8am0yvqTsifInq\nOxbTSSdSZdpulAUFaC9XMAgJ7gsjBxiUrY6yvxrUUnO2K7KYDm+GoTd5Z2V3\nFON5LqWPc2LIgZVK81+fJp9NHkyHpGJwPt4VoMHZLf28RoOz68cnoGxgdPK0\nu4VjajQdX1D7iE2tPc37fD88sZL2S10ww5V0lzRth/nxf2LFAqzOonf1QYT9\nbgN9\r\n=fE4Y\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"6972e2379e91b08ccc458a230c6a687099dbf108","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.1-unified.0","apollo-server-core":"^2.23.1-unified.0","apollo-server-types":"^0.7.1-unified.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.23.1-unified.0_1619130157612_0.11601859861428898","host":"s3://npm-registry-packages"}},"2.23.1-unified.2":{"name":"apollo-server-azure-functions","version":"2.23.1-unified.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.23.1-unified.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e7229cd200ed9b164a94ad27521524cf8c8222ae","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.23.1-unified.2.tgz","fileCount":20,"integrity":"sha512-vftPYHVhSh5YEMDgTqOE4ewpaTjQCv2/b8C5hC314IsGdd9G9pKSIxirZAX9+zNUcZIX4BmHArXI2K4RdCF7fQ==","signatures":[{"sig":"MEUCIQDMTK35D0uXAQ+u9QE7eXaqu1YqGNi4hB40yFFM0nM/3gIgCHCxUO/itBVaiJ9tUkxtVSF/PMDLyxakRhm1UCpmaFY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgggFLCRA9TVsSAnZWagAAaIEQAIvI2SfIcQca4zcQ64tN\nWMMgV9oNbaFSwXKXPdMlVzRu73xm+Mrw2CpWuXsTWw0BGgqXRdwjQSVgu2iF\neLUYihOqdEUKfvA89EirmLbqS6/WsGyz5hmbGjCeo/WmbS9kGZ7Keeck1MWI\nP34/Ja6zyWLyrBizgvDal9hmFZhwa2zO0jATB0vrbdPTIXQfPUndcT2+owK1\n1XadD3CTSisxQUWUjXFvi6UQotz3Yg0K/bPaVTguK4iu7k/54X0wNjv9oPLj\nbCP7TO0gyU++N1vLil9HD6MsdqNDezHrYQRkXCxXlnO6RHvYBxaXXPWQ2XZ/\nJ7Wu28+1bUmJR+vsh6475rxSNfhKFiD+S2Ss74gMLqWiavgZa4+ooiLcmfPz\n6Hv/PP5bEJgCgebj+wQvo38AjJQgBxutkjENItnUPFWFbqil3dy7kEVBhelr\nj/i7yZCUFhHhwD+wFBOXyFmgsQym6Nlbzyzh1hm+F0ru4LvSnCz1QPmLijYz\n/w2B9yYk4XBcm1x9kMGkz7ZZCDK5emK0u3TzEREEftDzHjfjTD3e8yG0N9AD\n8CJBA5Pw0r8313Chj40kLcr5U/KCPfUFnPCo31Q0Tqoc/DP4fHAmk1BvotA7\nsPLtCUScAaNqTxSiE1VqlbReNdpdB/3hma6J1v7iDmtGdQ/Jc2SpoN5yT0my\n72KG\r\n=LJNW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"20ded004ddea79faea267addf88da76ad91f2dd8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.1-unified.0","apollo-server-core":"^2.23.1-unified.2","apollo-server-types":"^0.7.1-unified.1","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.23.1-unified.2_1619132747481_0.5143600407140867","host":"s3://npm-registry-packages"}},"2.23.1-unified2.0":{"name":"apollo-server-azure-functions","version":"2.23.1-unified2.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.23.1-unified2.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d43f865013689f5d0c9859046c16ae2ef8805bd6","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.23.1-unified2.0.tgz","fileCount":20,"integrity":"sha512-0EsF3WKEwZgZbe01hBVC6BfS2SuCkyu87HJnk5usWa9VQM6MwkJbxHjdbwUnu7xD1AX0Pg/kBMMUXJVdFmr0oA==","signatures":[{"sig":"MEUCIHbgcK4uAXkAfvuzFTm3NgBgdNm9vbd4mBmrpky/JLZ+AiEA7L7qVSMeBkhp8g3t1WTFIaHY0YPtlQMBP80P/1Haz+Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgggNiCRA9TVsSAnZWagAAw4gP/1Ic92/14CmXu29UZzIq\nm7SsJG5TSzVfwrvM2rEOa/Ufic3o4/T2zYSPNIcVhVl1uMn+V0oANHoG/nKs\nJSoQBwIN3AKfe1pTyg6O4oSfXFQR1XKeFZGgkGRq8yYUHr3gb5fb+iWMuD9O\niTndkd58+QOTC0vSal1uvmEv99yDI2mhZ37OItfu1/rn81KmmnG52nlRX3iK\np40GnlTQgGB6z9liokjSex6/YkASoIqoB7ywgdKUVMkwrYK/fm8enPEdtE6n\nG3FgoNF2R0V6IwuWguR20h8FaZLm3fgvRuBARDgmRgvDUVoZM5gm6QyJip8Q\nxc1s8eoelYOE1sxU2L/ivLQzrTwpXR1AD1XYfloSurJKdloQt+G2wIvkFtg5\nqAQ3aYPLUm74TSdY89k7+BQAHe9ReJIzms+DysRM38zAzRexbHtEOfHAG2YP\nmRTMrYKg//rE00b8obnF0NiWVVqKcuWHihhIE4BlE2joqhvQ0FDunD6sFRcY\nmddd21Wjd/M38j/A8ouqefEmDKg7lrO/6t+x9BBmQXszQbcCeDXE6RFjCpV+\nVXpMZzHhhmPF9M1tF4NISrvnOqhB2H6wAtK86YDIPt0RTyv//eqBfgPxVPHp\nE6MJwkaqHcNsnT0gtqtpzPUAy68NhhrHd6Uz9T3O/ZHY17FOFDxPy5ABX8nM\nOBYr\r\n=XQdz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"9d2889bf59a781fc297672fe463ad4b88e0062af","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.1-unified2.0","apollo-server-core":"^2.23.1-unified2.0","apollo-server-types":"^0.7.1-unified2.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified2.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.23.1-unified2.0_1619133281915_0.1047733159568045","host":"s3://npm-registry-packages"}},"2.23.1-unified2.1":{"name":"apollo-server-azure-functions","version":"2.23.1-unified2.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.23.1-unified2.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"129180ab15caaee12582d38708c375bd155921c1","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.23.1-unified2.1.tgz","fileCount":20,"integrity":"sha512-Rg4a71Lh28NQO7YwsUJ7X+HTk39yucxGxWyo8yJTWg3guVqBa5K6BRpEhC+i4eIGWxRXIWh8qsY8e0hPE7CRBg==","signatures":[{"sig":"MEQCID9FibEJhz3TS2lXBTOHHS4gbpvcTGShCIiZzfWQn5EQAiAulh5Yf4AHnHtAliE1XxvAzElx19WqFSpSoML++MgkGA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggl8hCRA9TVsSAnZWagAA8poP/iSmw9JhuEc53/AOOSxn\nKShvtJVLhJC1CG6P9YXybPFfxQYHEZvrzw+sBFmGrfuvdpFeoT8HrMkmH+d2\nzeKICfTSF482KwJG4XxkV9rkFaVR09LotiI6iekP3jfxBrFADNpeaXYlvBxS\nywb1FRQp0ePHGmIq4sEwBfpkbQ7Lqv2QdUCu4U/GxEck84s0DehXsmXNg/Oi\nVmMkKjo7GNCWEJ2Cs0ctBm02P0vCVzDKofoPBqeW1v8nHlhBWmUiL3DyU1dD\nq13etVuBlVKynoLNoh3uyGKJw1hVItJ58Tzp8IWnWflaaoYp9409ykCrFJFM\nWSh5I97BOHGx6o1HomJvBLjvTsnAVxWlJIAsQH6OFauXUZ6DNbXM3lpccTEr\nCWGlGg4WN8L9szNHRbrU3s+X3P8Gj3u7erdEqDcN1vW0TJIStrjUlB2At15L\ncrYHsrjzZ7s+of7N+sybXSkYb4NKVJvPu4JR5g7tbpROI5qa48hlEiQfPli2\nmFnTRCDsikhJwpR9Goojb/o4UltepHk7PBUEb1q20oxzY3fQ5mOQDazjzkvC\njatpM6ju7HxPWE1ufywnt5YOrHihXM7IUQUKRSFkN2LlChLIH9S2cRsN7CiM\nfj/U+TNW2O/mitM8tSvpo4Dm45/BhDCiqA2pFjOZSHnn7JKxAOyYHDQz5xWV\n16NS\r\n=XluZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"b17019065d5613198ccbd22f8fbc6e5e18863b3c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.1-unified2.0","apollo-server-core":"^2.23.1-unified2.1","apollo-server-types":"^0.7.1-unified2.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified2.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.23.1-unified2.1_1619156768733_0.6879078412773769","host":"s3://npm-registry-packages"}},"2.23.1-unified2.2":{"name":"apollo-server-azure-functions","version":"2.23.1-unified2.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.23.1-unified2.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7ec62d4c95e6e9d3f646c15bad94536f4e5b72b2","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.23.1-unified2.2.tgz","fileCount":20,"integrity":"sha512-0+9gBDfk/XBwDp4ErP0JtxQfE6WJbai/q+W3TII1WjUQJ1RIFR9sMti6xL+DrEEiAfRsDjZ2Jfx7xPmY1CuEng==","signatures":[{"sig":"MEYCIQCZzLtp0pAFoF6bgUXY6ZF+k7NUZb2ROtTliA8b5BZKwAIhAPQDo+FeaF0jBpk9NHdJ9Too+ReRkFaoUeBlunbiph6U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiI1kCRA9TVsSAnZWagAAo8IQAKKae09a0+zZ8wtpldXs\ndh5+E6QmuRmUi/lUvmjfJMJjObF8fT+25MvP87dGZmPHOCmP5Y8GMFyD6I/A\nbjJkJ2HYskfxeuHhBGVUBns0zlGjFanu3h/6FiJELk5FV1jCRRW2Mh7VYA5q\n9vPT5CryntYfUsG6fVQaPU3hL27D5zTF4qSqxP9E4+Akt7815jiWgSeS8jtM\nttD9R4GxPvAreNRkt3xpkbSZFtDQBJ/AVD7+XZyXtna00V3cFOjWhdqRpXTp\nM+kk1Z8dL+lb8vpHR1EtKneHCIndbQVWcRysbq9+cjXPyEDaLbUDIBookPaQ\ngHc9lzPmb6tvVhwPn+hIAyIryIDDn2fJjSa1rMmEJoAxoCF3phKuitNi1XWg\n2RJPqZ62gUo5XZnO8F4aVMHAAQhoKXSIiUXyzt386jXO7HsaDahcHyXpwl04\nDMElqIaAgbVRfdiZfkTruhQWm33vhp3MpzlWGdj5YUsh2cI4bG7ZCp/jAa92\n8Owfqrf0iUTOrX8EUrKQ6UDbPogWNxjMC9TQ1ttgxFF37Sfqf/DDSBiDQclp\nrvDlQBPVtDQJU9H8Mlq9FrMctNIjYE0rEqcehO0DXEDAjPADiZzAi4tvDtGN\nnuaoKv4l0cXMpkhTMLervkiZ3Mp8hYIuo5EAlEuOXl99nh3W4COzUs/2AMX9\nvJO/\r\n=QoJZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"414d1839ae9203ec4d7ea04af4eeb6fe11aea19c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.1-unified2.0","apollo-server-core":"^2.23.1-unified2.2","apollo-server-types":"^0.7.1-unified2.1","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified2.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.23.1-unified2.2_1619561827892_0.5708228610578092","host":"s3://npm-registry-packages"}},"2.23.1-unified2.3":{"name":"apollo-server-azure-functions","version":"2.23.1-unified2.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.23.1-unified2.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"112bce6e07dc139d0da45fe1e04bb817510504f6","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.23.1-unified2.3.tgz","fileCount":20,"integrity":"sha512-RahMkfK8nFMcR6PeNjovgFrsTLMG3YuUnhC/lqM4rGSUyFOgRCCP3Y7gCRTEQKJZVrot0oQ/HL56x3MUSIanSw==","signatures":[{"sig":"MEUCIQCsCLHIrYdrz6/zgKQW/BEzXuTtg1Dee2Hxv3rQInLGDwIgBo/QBfagBKvkCRrbhuzjUxUF/kG9AWaFgBHKdqavqaA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiJYVCRA9TVsSAnZWagAAPq4QAJ06kGeqoDXa++xaE6I2\ngUASV8ed2tBn1GTAf6Xtl/nRu4+GmR8xeO8QNeKDY9qEFo0ZZ8BYXt4O0Vbk\nXQE5MRMxDgOLOHu2xX9a+LOv7dtGY/8KlNdDl9uvbO6RzsNDZVthLDaU0JAv\nngKo7COU3Y1Fh/AwRRhldPAH9m08YJ09PJ0wJMMXZrb8keUl6YfcQw9Uu5K4\n4G1UbvPlvWWr3v41luq0ouqmEpUiaHZaMX4JX+4WXkZRatGldCzSaysdwzTT\nJQyVrailpu+nSi3kEYBJl4/9n7mor0EI2KTa1ZxeNCHCRykaPGpM9/1XN0sN\nRxFAP+ToCQRPPZWLxOMUPZQZ9uPx2ihetFU+5aA/sveNdD0X777idZoArcsV\n568Jo01Q1yOCJD1Fc3m7qAVzUi4vXkGvptNqgSgbxR+lvKPAro4ox3jd+Sfi\n36BEvZDnd0pGaZ7ZCy2wX0MWAPnkIyNZCVuuBFzM4/ozkXbcEAvqmS0EFQGN\nPZmAkNWOAOwRG2+9evV66VmJZN3VO+/umqoHGLVJl0IC7oxV3DcEX88zB47+\nZyZ6uTxHME9ufSIMbVu7azAERAXjPYd42GMMRWIKRr1cUR6Diwr1g7i/3xWE\ndCXqJpozF0dR6z6dEPgZxrbgQktFV+kYtPzJwcSLZ8EDEPOpahbk4SQgQ7t/\nJnZ/\r\n=bjPq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"667744f93502a480e7aa3e8c09e4c2c4d4f59e32","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.0.1-unified2.0","apollo-server-core":"^2.23.1-unified2.3","apollo-server-types":"^0.7.1-unified2.1","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.23.1-unified2.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.23.1-unified2.3_1619564053405_0.41999416955619195","host":"s3://npm-registry-packages"}},"2.24.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.24.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.24.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"346bfb9a54e9d3362f2e7404aa4d7d41c8dcf439","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.24.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-Iis9Y9fe5hfs+iYxHY4IOKBY+9Vzxj0cV+1VFPfZh7sr204mM8cdSMhB5WdE4NjZagzZ5o1H//TywigITJLMtg==","signatures":[{"sig":"MEUCIEtFiigPNN9nB5VCX/vt9sI0sZZUoGfhxzAO9cqAPTY/AiEAx1EDuuSoVMZNkvGuaRNwVKdCd3bRkgi3xrwY//30R7Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgic1ACRA9TVsSAnZWagAAEzgP/14lXuX51mmUFOTedhdl\n91v4AjodmUJxL5uavqOUTZql30enkiYmiSMvQt8lBNRRfCLtE7Oav5JHFuON\nbKJSC/zRLe2K70CjJx6bMvKy8PF5oCOZP817pv4XCJ8i2Lks2HO5yx1jyduz\niV8jumAlgFedkUNk9LKFsGyYRUwC70oo6g2HySG+uS3R8KqvUurmYAOrQtcH\nkXFdilSwnlzJQAhsfw3PkE4DbEKD4HmjBsFeUw9pMM0iDqaCmd+QEz0YYzOO\nI/qycIjLvK4b8NBkj7Cevmv6/cUqZKxW4l+/OscwWKmdvcHok4TkfzCexBi7\nEaOz68WUh3sl0OxfYgwvkadm5y1hberNoEWQojNf0EatRJM9tHaJbfLB+o2C\nMUZmrQ3XpOmjkZY/69gnhwpj/6s+2RFTjmSCn3sbPKEXuact6jxYHfZJBnGC\noK7fFjXfIO5FNNnxbxa2wKNHTNHoqH+2eZj5i5bZSp5EaoBtjg0ME8gOOL7W\nkWjut4FMh2AFIh7S3L8ldbdDGDQJwXA5O0/A+6EPpnJcVslABsr8U/7YeyI3\nXb4oexXBaXP/IeA9Wdy8FWgTkLUnWY1c3TUuTYmJj1Ql/6pPgDsyXEFWaEag\ndVCq5kD5pJbbKTSmYbAW6Y8Y7+M1EnfIRpYqsN2vgbJgrGx+bj/Anjt//LIa\nB263\r\n=nyHW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"3415b0708fed87b393d9f34ef9df9340502d2b25","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0-alpha.0","apollo-server-core":"^2.24.0-alpha.0","apollo-server-types":"^0.8.0-alpha.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.24.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.24.0-alpha.0_1619643712520_0.343462426280581","host":"s3://npm-registry-packages"}},"2.24.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.24.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.24.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"0ba58f2449c945105c9f4aca2c2248b2f391efd8","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.24.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-S09uyCSuRzjldU0U+pT9983fIb/Dd8r0hG3wvm7gsdI5x8rhE2RPF+t2HiWPjZwOOdbD50vtzwPjrMlDg4RoQg==","signatures":[{"sig":"MEQCIE5eYUSPC0ryOZ7qWdMl/dREgfazKLuOUxW3ya2txRd6AiBn2Kq454kYMvohwHKWFmq5daM106dtq7b/AzraBR+30Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgizQwCRA9TVsSAnZWagAAZsUP/RPAUQ78KdfwoKc7gkce\ngKXDw1FC4fR/UvWqAVaP3p4Sx8rLboZyncJZ25KOmJYhRD9HxwiukUIWEcJ2\nSDtLwqxpTxhC/v3dkJPx4KpIeFZjJu2Zd+vLiM54qiMNSWsXweKdhIEKJdWm\nxt2S0Dyr+wHi41FrttQiwB6j+3jiS+pIioLDUC/jU9cGUxG+7UEUumWB6g9d\nU6/32JOi1pa1wBcd2Yymx5Z4jkPH9Nh3tbE+Crfsi8T8/C58uXUsknXsvilD\n57aQf9VT6T7q5h82kp68GQc8KvUfsj20dfuFaFnQlMI+92/0JVs4RlT+D2f8\nVNNAaudMnfJLq6H+k+JbVxEVdyc4e0VcJP2zOlC904i8etKffxPw0QSCVZjv\ntFGbrA1o/JbYaFXrw0NQyC0+/8eN8W9CYY5b3SPcSy9r4btrf0/CZPM7gd8P\njKNA/439Quuwp68Kn30vRSWEYd9jd0kihMlcjgPwmyy3AmhDJ+WLMcw5dXQR\nv9nJUYsak7rSUepksFiPgedxhDZ6S4u09/Q+pmDiSqZ4zV6Ri6pOtu4n69G6\n1UgZSNPKKvYA5wX8JMs1bBwY1w+kN9aJk/QBKli3hj4nTUIVlHeIDafRYj0R\nJh4gI6dH3BOH+Uzafpi1lUFTXdLnQDeSSaDuTIEn8vTxpFhqqFGd5Rp1SX4x\n8A6M\r\n=u6/E\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"27275564a9ebf9251ed4e990c4ff1900b6cb49e8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0-alpha.0","apollo-server-core":"^2.24.0-alpha.1","apollo-server-types":"^0.8.0-alpha.1","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.24.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.24.0-alpha.1_1619735599629_0.24761745135613022","host":"s3://npm-registry-packages"}},"2.24.0-alpha.2":{"name":"apollo-server-azure-functions","version":"2.24.0-alpha.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.24.0-alpha.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"48afbc1eb7999de149eca77d17243dc3a86130cf","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.24.0-alpha.2.tgz","fileCount":20,"integrity":"sha512-MFRbF3DVoQEyFPx1nVI+SIFNJCuZBjFEw3tkt5+C5BtMiILWg4L5i95aAutZMMZdKSVqlHYly9swWrGTFKpvHQ==","signatures":[{"sig":"MEQCIBV2mLBoYT5MpLtMESP9ksnLypSm5DVrmAQgfDKntTR8AiA6V3PbkecMuMLjm8rxMFsAXFQneDTw82WvARBmNZv2Ow==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjA7kCRA9TVsSAnZWagAAgskQAI0dVADZNm2cWLH18N6S\n9rE/UVNj5sRJ2Ul+XIQWK8WKgGpJLROsEAdaX9DMC09zZ8OSiOtVAeh58qmn\nt0eq7s/8/CfswGt87I2txS+52ZKhl75BjEZULAzNqHEvbmikSFD+MIdWW3zx\nU9mqZhX0UZunVm3AQ7dzQ9tY7m+f4EFLzLB7r4s1zivgfJkx8d1EgOGuIRJL\n2X0mZ0ZrOYoxhDbNN7mHoVFrWUC4EP+2xuk6VS2GZNfF0QDdDf8kkcta3mBR\nShCu/w8u6kwXVSR9u0uZmD7FWTLuLOsPpm054WyPlQe2pT3UvMP6S3CjCUVr\n6FJyzOx7TUL1NcPI//X/SzHvRjFlK9UnmmeGJ/AFYbVO51Gj06L2mAAU1vpX\nLNFxOYkPdt24ltn0brfcY66Eks0K+Z7XRpNWTOUPEi5fhCVCDO2HbMOvS0sD\nyQF3So/qa6DtiXEnlcbQw/WG5JEytd4xORIPvBQ9oeUrZoMPSeJ+8+4iMYaa\nHLrvf5lxn4Y2eez40eujBJyqvV575k7k9oFf0i4Xf8gZMnrifCiEqBgkoW/h\nbw24mJZIzCgqfF2VuSPFmpX7BGDG9Ss26eyI+iKmSVn0X64XdBQWvzo9N1si\napBG/hBnu9a6jlQX9ajs+TokGVZxk+cyfhYL5a3CDmC+J0839JKIkSflGG+h\nkDRG\r\n=ShQD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"4e5f03e2b071c2a049836dd14f072f161a0ccd12","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0-alpha.0","apollo-server-core":"^2.24.0-alpha.2","apollo-server-types":"^0.8.0-alpha.2","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.24.0-alpha.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.24.0-alpha.2_1619791587837_0.004170377281464965","host":"s3://npm-registry-packages"}},"2.24.0":{"name":"apollo-server-azure-functions","version":"2.24.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.24.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5626cfd7af9ab0078a1b75e4c2e9bfd31ac24cd2","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.24.0.tgz","fileCount":20,"integrity":"sha512-3BTt/3PJQ6kdzkNtOpqJfjIMuxs58ZPCi4wpxj+yU0wXHyqsSbOqvYC6otA5vbJ91uAR7beuekyI33EEtdHK4g==","signatures":[{"sig":"MEUCIQDSwE7o/H0pM4d+L4oJRwZEevPvSwkVd2j9TTKFC1JawgIgeo6gXetZAbYeLT0FQRT/A62cac4eEwXnAY5GVo9O1us=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjEgBCRA9TVsSAnZWagAAbCEP/iv7gk992TiNBtL5dFSy\nM5U0029MHJtyof6ym/eoDGL/8+IqU/kibNZrckJS0SQUbRfksvPUVBkUWwKc\n8h+x468W5rg2izyTdZNHuihJ9yOEYfhfdRsr3zkM/8eq8rJQ2Nf/kqpILpb6\n35O9zS+JhH87HqjxcEW4A4JotJUgYSvAzk2bmcD6NlxVsoZIlLRz5Uahf8c0\nI9jCYYvyfmyjj5scdHoNQQXGUPzUsZboZFrq/3D/sPjjd7XUWzPR6A+E8qXZ\nM/cm1QYJZXIMGIdGRXqOefbHwgzO6ZJqY+0mjiaGyj6+I+RsrrKw5eshoNJE\nf8rFwbmApSBuea5eDA5W+btZ7PAfvhj6LpmZ/rWLTlcG9vGzRfkLxe1rA+T2\ngBSn/WdI6Jm2vnivjreiMIKgFHH1qPoBRjoTr6c9djNYkMSPqT9tDa6P1JMA\nq9ijCI8IOBwvBufK3p5fkiiuIdKPn9kKhtB7aQOpF66dLH9rXVq3NCC23GYx\nVyjypsaAmtt/G6Dq6HehIUR/eGcI+4QZcWM7NAhr9QSen8PRMZuYQ8MOe1V9\nYw9ag/x4KDwFw5DcV6WpjTxqASrhnjEXtjfWscKnRXn0N5jQzEdPirojxovD\n5I+BCDnVRSH1SxjcTN1Izue3rqPkXn31rIIKmx+3ZZh6Bd8YKgIHUpQ0Doa1\niSp1\r\n=mOs0\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"f2349d0e10633ee79bed152f682e53730175d59b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0","apollo-server-core":"^2.24.0","apollo-server-types":"^0.8.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.24.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.24.0_1619806208617_0.594462624639637","host":"s3://npm-registry-packages"}},"3.0.0-alpha.4":{"name":"apollo-server-azure-functions","version":"3.0.0-alpha.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-alpha.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5d3c3ffb0814a9dadc9b21a80626c1edfbcffb82","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-alpha.4.tgz","fileCount":21,"integrity":"sha512-4gnJyskNbdmzDUj+2Eit27yxV/zSJV9Is3FlykPwuJpJ6yjUqZeQ32Bp2NAj+PudB6O5GbyHRertaJNno8Zxhw==","signatures":[{"sig":"MEUCIAbpU6lQAnBJz8nMNnn3HBYNeoAZLubvi7FKrN5Ly20LAiEAjjZyDIPkFyq5Xqv5mRwTDZXyVArEe63sbkukCsQGavk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":454941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJglFAnCRA9TVsSAnZWagAAy/QP/iIXbClJAGOO0ptVJrKf\n9BR44PcchJFqzjWIsJ+qg/nDPIWDIMPFGW0BBJx6NRLiyySXMOPet8ZxA2Pt\n7yRpcEQZCEHCzaD8+6pxiYqZyOC9jeVbz2l82YvkwazVljTyLC2sRkJ6JDC2\nPdyGTy5bGe2ZyM/FJsM/MrmCZPlGXEFYf4jQcmVlp6QsX0r2pEKEHSHzYTMQ\n0+wFM7R34C40sfUDacbdnITlX0ttFh0MLw8ErADDahygtr6zaH/I9G5CCMji\nCNhGPwmII6itE1qTH7RZji828Y+QkyDj67Oadzo9+zgKFJKEQsuHMZCWzDro\n9Z+aKCFs/Q87nF2rV0NZAI+mtcQ7LBktO6Zk0172nEp+8BxQJrbyQK/pTGPW\nWD/lXd2QoDy6s5ZTE0sSeFdvwsUK4YOZwag8VCoNezfn36iil6dcaDhDsL/u\n+SzhDVnPLSpspbDIOockWFQHKgrYfeTI0+9DaGuOIPJsshNZpCHO0Y1WdCOz\nzMJHx/D425DCciVQtv2sxQu904OvUzN34PCSCBbHeZTTTvrt7N1ErA4Ej71M\nsNQMmQWyF15ll36ulSUK10YMoQTxvu4qTX2q4pSuveFrauWi+ESUdrxB5zq8\n/pMSNd4ueKiQjDxsNLczpu5oYHJpkGXE5kV0GOqaiO/MTz9EDikm4GbFU5r5\nFO1b\r\n=miSV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"97073f33d30f2d682655eb0e4dce1d7d43721807","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^3.1.0-alpha.4","apollo-server-core":"^3.0.0-alpha.4","apollo-server-types":"^0.300.0-alpha.4","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-alpha.4"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-alpha.4_1620332583398_0.7095354889890624","host":"s3://npm-registry-packages"}},"3.0.0-lambda.0":{"name":"apollo-server-azure-functions","version":"3.0.0-lambda.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-lambda.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"54e2d594df26bf990d4a7a4f8339616581f4a03b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-lambda.0.tgz","fileCount":21,"integrity":"sha512-JJV2Lx9aVXdIjJx/Nd+BVWRc+jWqZhSCFww95QyGWA6iaqPmrge8kpT9unhB0bn1PrCsq/+lkgtLBxMuOgpqYg==","signatures":[{"sig":"MEUCIQC0rZsRlPryA3Bnr9LV7AryEhefMN3LmNd8+rdAAc9IMwIgVkiHiAjWmgNC0JzNuA6Y+QklZY+/uwZh7RkCpUooXhE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":465555,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnYGxCRA9TVsSAnZWagAAG30P/0md9SiUrWi7mjD1/dBV\n43AlHE1oEIOZOLWWzNY5BXkqFbgS8kpEoe/4rw0gvCQU1P/3W9+UYxJOs9r+\nHzCGKjN1GwNGvYi3thG7v3mEK4lGTp/Puv6n/5PDq24KA8Fxfg0HnSOsReYX\n7eiQ5ywjXBSINpKKD3IlNgkYpwSJxrUXfmP61pblDtb2MA9+qnO1Bg+C9H6/\nxFFcswOT49GJ9Lw/qX+xr7RvTYRbIub2jEO/ZHPw4dBLmAxy4FjP20BjkJPw\nBLhmv4/n5/SZ1b430o1+TJSB8UnUlgpX9AIa8F8iR7YoH0jZhPfnBLO1UJ5s\nM4G+Mrc3OvK0GPBU2MEn96WnkvpEVji5QpVbC7B+5mW+bVIU51dsx/X42gC+\n0TEiwe2hx8uFFUcPff+3//+6+EyeegwuC1+PkFY/XKpBs83fG/4EfNCsNDtV\n9e288XTirVUd+aSBDrM40+oV19cGNxScJDF/EqlGNxBvFIuKlATIgJTFDa9V\nbne3Kr/Of475B9nOZIwslj/ccUthJmc48NhZm3jKm38InqlwDVX5ipOze+P9\nKTH5puNN4id3kQltcjmzrK7/hRzu+vFn1RGNUTRtepnyvXfAQjduvoc91P98\nQbt8MIj8ri2f4dRovTeBD54t3Wki5UBLcqfiuCa3ZiGwHJoCZcn2nGkkh+ri\nqG1F\r\n=E4e1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"3a3d4984e7a7a31f9338f03d3c219d7da8b87f5a","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^3.1.0-alpha.4","apollo-server-core":"^3.0.0-lambda.0","apollo-server-types":"^0.300.0-lambda.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-lambda.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-lambda.0_1620935089199_0.6290069077919451","host":"s3://npm-registry-packages"}},"2.24.1":{"name":"apollo-server-azure-functions","version":"2.24.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.24.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c6f3d7053158dc9952e700152294bef52c26aeba","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.24.1.tgz","fileCount":20,"integrity":"sha512-t8p/s/yE11Ja1bUgB8NPCl/iZkM2MS8/0h51mK3BsthcadSMr6jTkV0yDPJdd3qtCOiLQTwatan58UxCDDcMEA==","signatures":[{"sig":"MEQCIDhRmLsJ1Eyp7tZlylzsBWVAyIzHtQuPsm8Cdrcg4O9fAiA2KvmOb4SaChQvfCxMt4JUYmMzT3SCRmeghC92UlXmow==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpER4CRA9TVsSAnZWagAAo7oP/3mcE/T1Tyzb5BL0W7ZD\nNlVmmgtSvLRegn0no09pw0qo4N+vaKUbnIsm1anYw4xDrM+QktwXWIBV8iSM\nz/wlVDwID5lAxjfAW1+DI/CqxuIMyOxFQCWWjEP0UZsTwnauCLudIazMb72l\nk0u9953/M5KV+2d5jLpGZDm0bjLepOXv+/7s8oKobVpbgmSnUkjYb8nwW8Tl\n+hLe7hq5DriUemRP+Mkard3z23MeyHec9hmzy1TtlqsXflNq+KKVk287qm65\nWw11xutLl/16jIzcHkRbcL1EwLZHA8UJUAlN0PC6G4R1c39eS93eMn7BsxqT\nRxc6LaJaDa9fXpHmjhnpX2X2WjCKK662AcsZA8vwljDH7A0pOixQ7rY9AGj3\nnWA14ZImj0xGX6+gpvVQbHD9Na+U2vwDgfEt/VLDyh5dF2PQs8oWICrUj0Oz\nk/yna1gC5qqc/o7SJP9k3M+2fWYwcPnR89VQSnRI6RNaJrPfeqYtw3DC9xFU\nRrCoAf3ZwNu6QXMGhvur7trl/Ufily1fbKCX1yHxOYynexqGnI7zpDlQR8jj\nAOhUOVGZ/vc6eIxqrfkOh1KuKD1boVa9HZd7lwwgUYk0ps1UStnBtq2/xVCi\nTP5gXWfne/ovdrrscvcCa6oXmPYBW/b0hooDshBnFlSu+5EYFaE7kmvGN4rk\nGxbh\r\n=KpWb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"9e1bf7df8ce856f62e851a9cf268508eb574e32c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0","apollo-server-core":"^2.24.1","apollo-server-types":"^0.8.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.24.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.24.1_1621378168288_0.11710286194557185","host":"s3://npm-registry-packages"}},"3.0.0-html.0":{"name":"apollo-server-azure-functions","version":"3.0.0-html.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-html.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"eb8fa9923e43425803f0e68da83781661b779b4d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-html.0.tgz","fileCount":21,"integrity":"sha512-pAej6a1/32TNZSx8DDwvelWK2cPD/XCzuSq9N9ROEmV+/2c/+hxyANiB9zHbwidXhl1sWciDz4dD9ZWEnCUbCQ==","signatures":[{"sig":"MEYCIQCsj57bVTebr0z0wO4xkSL1UfjM5M7A1VRr/EoCIuMmtAIhAKZnWNqLK0shpA6Pj0fSluAV12+6wB2MEH53UYnV1cVE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":466436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrH6NCRA9TVsSAnZWagAAFJkP/1rNN4Z994zu+lqSVbMU\ndEOf6r0ehSeGKd8Ci7Zs+w1cVjcFSUqIEE+ilvofJW1Zks+jeqjR5XZFMVDc\nzX4Tv5JDzx4b7KPr224rzi9uqeUTLoz2upn3Ot6uLvsZIsEtc8K8vU6Dpxn0\napEvFZblwhr0qgSXOvkxo0iWseByfJjaReQLk1lIJpyQj+9HsHunC+UMcLy2\nmo/6y17R4ZAima47T7Kjw/3OiHXNU06t/fNrVKSf0nfWECHFHEMjXWUs/Hp8\nk79bsR4C3mjwCZG6peAI7uuGij5L9T6IETv+JXt/hV7yD0XDAFSn1aNrXfbB\nWJ2NDELJVCk4TPtCwPVvkWWq5nw6tVNZ9/ui5AJd5QeRQzHjyhqvEk9gBZF0\nGEASo9gMnpyxL4yK+sUojpZLgiTdDYvxB754shzq3LCzAwxRU6jWT9AKdO32\nvNensGimE0txttyVmXrpVcKvM+J2+zwx4PqC6RxFxFYFA7xRi7SjsaAjPP+p\nsd+0KoLACxAM+L3FuihMBCv40sF1b2w0wHCM2hi3a2L9gZZUI2u9U2+S92fJ\nN5NNDgYn+z/S5HhqibSr9Jc5GkUCni+0Ri0zcj/DSp6dIW3T/e3I9prr1cVS\nzVWzs8erGSORlDfjp8XjAiQzQ+B4aVkiJXQGlVZkWPmYZMfQlzKcRDlDNz+v\nf4D6\r\n=dGGb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"ee3ff095c8818cbfd721639741481703fb4d62a0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^3.1.0-alpha.4","apollo-server-core":"^3.0.0-html.0","apollo-server-types":"^0.300.0-html.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-html.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-html.0_1621917324996_0.0674803297125861","host":"s3://npm-registry-packages"}},"3.0.0-html.2":{"name":"apollo-server-azure-functions","version":"3.0.0-html.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-html.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d7060f723b2ea03636b4c63e8f53d6aa780cdbba","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-html.2.tgz","fileCount":21,"integrity":"sha512-QBCIO2hHGcP++y+tQfPEg5fbIk7wjsk0/a9TrJOHKFkR39E+d1WFrBlz4c4L6q+e/6oFmxxSUVM5S4zj5y7BkA==","signatures":[{"sig":"MEUCIFDz6j4mY4o5WtkKSXXcD/wxFHoAWNcyI74sZ/iCNO7hAiEAwzvqUoChasIZrcFqjDYtK0mS84BS09Hk5lUfmatkOM4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":466432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrIj6CRA9TVsSAnZWagAA7rUP/1aF+vebN0l0iwbBLtnJ\nYocOqmRJr1i5j/MbDJAWvPNm0okf+tlT1eJhSUDKL26LRFInbfPpADR9eV1J\nmWSWeag5TfYErp8erxnRjlnJnuynJMv2nLx8WakxhHz8x2yKnrKv6mHSSHgh\naJvwk7MepnSritHDkvXEonPiFJvpSgU3X1Wf8iCpgrf5Mi9XwTeZ9v0QkxXv\nGvsI+9qNHPlLxk9EoB/QxMyK+glnG/z3HDBmdR1CI1+52t3hmJ1ctdme3AfQ\nGqq+QnAEKiWT8Q1JA8Cyf2Kbu+uQOTCUK5fj84eHfDWU7TeeVqfsrt+ycAPH\nJErZitz/sOxbfF7tExbnIKAdhIeO4qytE7+4qsMoMQdhgsgPbdqd3+tGdbou\nd8x589preaTRm3BAyoXmBeCGqYUwBbp+mil8B+rOgX+OOZrKl6+b0kzVn3UZ\nvtZkr6cEmCZgVAAXRaL1gi2fQOqxJBaLvIJOnO/8dxV/MvweWf43BMx3cPF7\nyG8DIyttwanXYzms+PdP/jZW1wSpHhQ5ySZ8Ulu2Hzw1SsQ+ozgUKiw1Edky\nJzKJP/aaW3n+TXaZgOdlnzdshRGghfRN8at/zVULkche5+qdOw9ldH/ILFPa\nJoXkGxEsJ7cSDqL/xQyCHJueqX6rNqn66r0RyIyJNp4s2MRDIXI0SOkL8nGf\na6vO\r\n=S/uJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"f4056708a8291e4773e99d41cd8f95686d773964","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"3.1.0-alpha.4","apollo-server-core":"3.0.0-html.2","apollo-server-types":"0.300.0-html.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"3.0.0-html.2"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-html.2_1621919993997_0.8604396674248698","host":"s3://npm-registry-packages"}},"2.25.0-alpha.0":{"name":"apollo-server-azure-functions","version":"2.25.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.25.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bc24600b9829aac1ec2f6ae843a9151cf63956f9","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.25.0-alpha.0.tgz","fileCount":20,"integrity":"sha512-xxiFsRIOZ/MJn9K0L1ymzCp82P8zsErTL+qxmnpX6vPgYRg8B4vLpjxHRV4UYOlc3sab2iStc7pobtK415F2Dg==","signatures":[{"sig":"MEUCIQDQA4MYmBIoOYR02/nBQW26Yb4Xes//hpvCUPIPkbaHOgIgHhst5KD35wH+rviLBAXpGRLhlt1XCcDaVZxIM6nX+o8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrsxCCRA9TVsSAnZWagAAJRcP/ir4IlusYfjdFCLFWqUN\ndNQoEFE89FcwxAjWdeN0V68+2TvUSsL/MbGISKyLtbL057OHwYRRpmtT5tiF\nIDFUCToeDQ9L3pSGEarM5wE0yFWz3PJ6G2QE8BTnpgzHwx8WwrrDJK9H6QhJ\niHKBc2cxMzyeYJPOfdYRsnhx5JVm0DY2nLWGHG6TSu08T80oMJ5WLZE093fe\nm9ON3SwNh3Qe5jBvZGgyYUJqaZmmAT5b1UTluLuLJsLBmKMQbe+XJ6qtqmrw\n+nhem04rdAzQN8MryPKYczWabBnGZkw2H1WRV/9hyXyX9PQII8gGqE0l2vsc\ntTFqh1LodqTlWteosfZJkENwOZbTBC5y3K4Pm00cBy4y0BIMhzp3X4tvGhuR\n1C1rQrZD+VWUtUhC2oEMPFFtrp14UetwHulIfOrNwKysRi7I6ubdRHQ7J6yk\nHX2OGitPdcRDq53lCWyxxR3C/uKHUmLbId682UNMbjajQMkZAHQuMDAVPuyq\nd2kG+QfLHYqtWbZZAuxlOlE8RtpzReszW8hFrtniGtq/pz7eUD6K+MLlxpDu\nwvvkKbda27TJgS69unD/Uc/Y+4yEx0bevggslM1OTIx8oLUouRzONC6pCrYQ\nxlpdnYsDN0TCAfKpHpbFr7d4ix/Ec/J1gAzNzIhhV6nRijAiz49UH6Xg+GbQ\naedC\r\n=qXO/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"c8c07483f914a18c07cce6435dcc8816fa795c34","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0","apollo-server-core":"^2.25.0-alpha.0","apollo-server-types":"^0.9.0-alpha.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.25.0-alpha.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.25.0-alpha.0_1622068290479_0.8691133478496191","host":"s3://npm-registry-packages"}},"2.25.0-alpha.1":{"name":"apollo-server-azure-functions","version":"2.25.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.25.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"299d5a154621c0f23d702e3d5a9c51f39b6b1931","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.25.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-ti2i3e3ew4CAbwysOtKUlD58e8y/wCABBjdjjyZJyGMlQyn+B7Xmwi5kiTacHjT65spGZVALdw5xTNblNiTUBg==","signatures":[{"sig":"MEUCIQDzbeTGmZewcBWQQAB6vRwd15eWKVEkws7VUVBZJ3KCxwIgbk8MR1VNcvLH0h3bNtrzT3z7tUUSo3hhoggEOGebcYs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr6htCRA9TVsSAnZWagAAJTYP/0clgaEFBpkkDbUsVap3\nHveMx7H+tRnlqs9TSTroZ8ZoH+9XM5eK6Oh2fdCs4F3Qfv1MMZJXF4DQD5Qk\nTcaJaUh4bWsk28IzqI6/bUKYrFzzkFpu5QciFijqJRCd4z9mAKntMhUjFsnT\nfdmFuFRaouW1AiNMV4ZN8Lsy/f/hO4S4qe+AIDvoroMyVYY24EpwIKWgUSbx\nplhR3jb9uG5V0JbWpVqoHg/B7q8o+TyBZ6UH6iuhwoUjfMbfcU/lfJpe1gc2\n8T3hyC1HstO9r2IxHvpHlXYcVK0dBSXeIqh7WoqQ53yR6geU250qp9mUExl6\nr9d5j4ilYyKsQPhjxjsNylJUNFZyxaRUoU7jJ19Xji7CjsIhBWlUe6qtaOKb\nq3MNHGFD58PbRFndH2YYiAGtwwXK0Yd+eDgxlrF/J9Bca6jpR7VsOU/YHbXP\nQpt2G8lSdMO/t2FbhhHOVCB2zPd0JmqFXroYmxPh6L7eCDfJ3OJntOsqJxF0\nBqy/mLzLCYGQ9P0VhLnh9zz1pST/c034BCbndFkeInuNv4pbv1ROo9b6h8nX\nCf7EzIYkrsxxGNAi7Ez/5tdQBzVWN/2C8JgOrjJRzvGP5SUNg76YMrt/yyQy\n5UKSuhIeO+2TMdulzjf/I/OuTP41nw0pSyOFzUuwNEJP4UW8hSlFCmixfiri\n2mZq\r\n=o8w7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"19572d7b36f01768faf2b2e9b1fbd18638ef7397","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0","apollo-server-core":"^2.25.0-alpha.1","apollo-server-types":"^0.9.0-alpha.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.25.0-alpha.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.25.0-alpha.1_1622124653020_0.08179797280889467","host":"s3://npm-registry-packages"}},"2.25.0":{"name":"apollo-server-azure-functions","version":"2.25.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.25.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d43d5fefde0150f9852f693b55391f280825a9db","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.25.0.tgz","fileCount":20,"integrity":"sha512-e5IIkiqSnuyCo7uSUvXqPZ4ohit8g9mrmCMrUyLaPsbfec3mMzh+KGTXHoHgFVmSZaC3UK5zTmYoAtWgRuGheg==","signatures":[{"sig":"MEQCIBADo1TJQLk6aA64iH3Ylqy4128nqNe0gwbEF0GdtjBeAiAVaT0oysBN8JyBMvR+ADHw6EyYqgKORfDA85dUoEmlTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr69eCRA9TVsSAnZWagAAdXcP/jvq5NBJUqBShDhtxu74\nk0rhEydhFj6jqqRHpfoFdXaUm/xhlX6m7nFlWoCIWnc+5JLzkgiL2notJOzw\nn8mIBiOOWWySJakaC9q4U33VN6OiAYvHjx31bLFgnunhq0zceQ48wtw/53oG\ngG+/6dY+bOkxzgZlxv4/25QssJ701ysVc63MtkuIy/Jt2R62rZvh1A1TSB3f\nHFug6ewpvOTxJVcXWuF75TaKE6xHTPoB7IyIWl+/WLq3vE5wXWUZx/9YjkSa\nD/VugxFVnMl6f9PmB/bvY4iM/NxNuMWYFtywH+CdpkJEqEM+fxum7BT3apWa\nqRQXqTDvHhJxdajxWAEkkReYGENIQME5XK4L1jTqrpaSHvqlOisUFcfrH8Jk\nuJ+e/G4i3l1WrenNgkhuy+o2hBwgqFME6hHMjyBmrYuXa/Q/JE1GZPltXVbv\ngxxCeooi88OJv7jPzo2ywB/kf5vvDIRI8onqodWUR11uqxG5uWklnh42MHmT\n7cmrxEpRHWw7Ty7NVRQmIFLtdUSpYtsV3uK6blCfN5gjec0Gs4eX0MMl0kqC\n3rBK+YFZff3CURvUlMr//PBmCaCydmzS7MtGlYbkTJBSRtqiUt0B7Gq1dy/9\nTEuTcl5crpxoZiI0VWGgASoJoi2kgKUmEjnCoy/uy7lKY17IkBCe1U3Kpfry\nDAKO\r\n=Z2mH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"42983b06a381aee6333fd11d5af7bd7fa0d549ec","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0","apollo-server-core":"^2.25.0","apollo-server-types":"^0.9.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.25.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.25.0_1622126430151_0.06307446186901267","host":"s3://npm-registry-packages"}},"3.0.0-preview.0":{"name":"apollo-server-azure-functions","version":"3.0.0-preview.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-preview.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"114a3da8f5cecaab1578d58a061715fef0bc1c7c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-preview.0.tgz","fileCount":21,"integrity":"sha512-15oXXswm2vJaK2HcT38vyOgBM8bQUbcWoEQnNvHTmjIUr0Jufqj3zoTTONJ7PQniH5cmuKKMMuU6mEXwe5Hj8Q==","signatures":[{"sig":"MEYCIQCxosW/qgDw38a5pFvB8MAmIYh2+hm9pTO6KCTja4AysQIhAPGq748nWvcxdQxQXJ3bjoPeAa3E+U6gatyZn8LQCrhm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":452884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtcvrCRA9TVsSAnZWagAAa7gP/0m1sGDMS0x4+5xHpVz8\ncZRQdCzbfW5kCs1mI7vAFas6CJ4bRZ6FlrQbSQntylhUQIs20B8+nEsYcWBw\nhhP47lX5tBcfx5IszaLCGHLez3aasQEN15scT7kn/d0wRQu1MouDfH5syDRc\nsWIvogDu1ynqBw5tbL8un7eImy/0pokkJ10T+wIjPUN3PZ6ZchuLsEJBXiTz\n9/5XwqmnRA2w8it8VlQ3Ez3D9YM/CpW8tW5LVv9DQ0qBSUSPkmXbFKB0HITH\n6nXDDblF76/DbKyLeSZyyZC1jSMEFRZ74PSFYrtLTZk/NTGLCaXsE8BdcvfE\nu1qNojQRYBH9XHr6CCDhWgX+9UEDAWO1HESDN8ZQnwIe/tqsJ5GI6PHWx0qA\nInk0ktfwMyGSUVb7Va0tJ1uH0do9aPTBaziWff6rJdv8A4D3KAyIBxj0facm\nB7QTIXBLt9O6O0H31y9Sp2WswzuTAtwHSHYwThEHjEe0ig/n32w6pJDm7DaM\nzuGceu2YOg7Oa7QOm4wdVmFrXSFkfAVQwoMInS9A5sBNRyoG+5cTqgsnCFLR\nPe/Tu/RjsI37RNf13PHEfByTEyHITJ819kEiOdvw3Zwxi8pRFHyuHuIebi7s\nDzlRsn9Fln7i/8izsdKQ3u2DrJQf2zO2SmKw70oT3nfyFIKpgJH/F11C1pWd\nlypQ\r\n=jug+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"68b776f0a08d7361efecf40e0a9e344b19b3e4b8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^3.1.0-preview.0","apollo-server-core":"^3.0.0-preview.0","apollo-server-types":"^0.300.0-preview.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-preview.0_1622526954880_0.8217883017052616","host":"s3://npm-registry-packages"}},"2.25.1":{"name":"apollo-server-azure-functions","version":"2.25.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.25.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8d31a8a67d34ce6d3282394c77a630088a36dc7a","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.25.1.tgz","fileCount":20,"integrity":"sha512-wFnmlt2J+GUksRhMcl+6eVx7g84PKqe/KfQNs8vpHo8jXaqSYAoCA0UFz0es2CP1GRSel1KXJO8ej+BxtolkvQ==","signatures":[{"sig":"MEQCICySiV6ax3nNo6D1osA1VbdxkCpBzPPu6h5cSauJa4AeAiAop0vzFxlAAFl/wdeBOLjIex4dgpxj3B2s3YHGQ8pu4A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgv9vHCRA9TVsSAnZWagAAbnkP/ipbCr/7AiKf4VR+F4Dy\n0VzkxETfx4cInsOjapF+kV33FQ73Czaj00GwtpYwWP0IF4Xiw4xCZlRcv0Ej\n8qmpdY/UflfAbHvorXSZ4d1Z064y6IOBrZVTsbrr5SVDBCEpl+U5EwmpbHJJ\nVA4Ikqaud+lRyw4BWmQR+aFI+KWMBTs++hV3VxpQyOWniaZzhANd5tNtt3IL\ndO81cnO6XLCp7aDrSUMY0OGDQOabMr4UWGQzOlq0w9F1583/pHdX2+CCno0t\nNkICq3kq4X+Uef4PfAUoLqVVGlUThJd6bawJFVx16SSu6aJbsdjSZGU5I3aE\njJb084VCJ2JB/eXrhSPtKi7oqUi2C5QLy215yJHzoHpaz+Zbyk2SzL3VHk8O\n30Kk0yaAK4WOOX99WiQM0qKTreUSrRUl4Xjg+EgSg2/2CJGQO8NJfap5sgvS\nBSyHutFYdSdiX/eTGs814yiw80V5zDeB0tWeQPJqSOSp+3NeRKApFWbpWSXz\nIXdoM++b+03sY4J3LVhOpvKV7x+GlSl7Pw38UHgZfQmCd1uR4e/X6r4WDPFd\ndY9G8e7ZVt9Wm+EsLiCXMRprVexqLP1pB6VryGXauxCQiVBnbIQxcbCr1Rn1\nWqCCI/v1E2K+QrRRWQtrGB4n3HKrGvzWmGPHeIWImwOG3T+FXkUgvqC4lyrb\nIvfz\r\n=1loa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"f47c11d3f40f87797c5a615af0bd0225fb18fda8","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0","apollo-server-core":"^2.25.1","apollo-server-types":"^0.9.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.25.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.25.1_1623186374803_0.21403470481547737","host":"s3://npm-registry-packages"}},"3.0.0-preview.1":{"name":"apollo-server-azure-functions","version":"3.0.0-preview.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-preview.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"583f687f19e0165b907f9a873c8d4868ded19073","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-preview.1.tgz","fileCount":21,"integrity":"sha512-c8JwdjkwlvYZTvMYvcBoKpKno0StBvKGaOkgxjVbWlpJjonR+6ZRG/fQul24V3HJ3ARKyMowzMtacDKM8A/hXg==","signatures":[{"sig":"MEUCIDAklQvkAbVaQjV8ldsxpcgrdNZHxCDNq0L9lwe5xXURAiEAytX2X1rOfP1LSBQaFBN7ymxO5LA9RNdIoQ80VgCfU78=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyZMyCRA9TVsSAnZWagAA92gP/jvwmZZ2B8/s4nbaUXHt\n4ohIjfkBvb4B4Q/YI5OdEA4BFt1wxSgqd0WEft3VwMIPEngCt9gaMBSovDQn\ntg5hMEuMrlKBOGY/e+FPrUpTKBUj0PrSyYGBViNFYX8jkm1xqpQ3k+dis5PV\nfa2YnbmgKjdSryOHgAL63BlaaqsbUDyZH7Zs1ZYlHtPW+zL9c1CZzSilUQE2\n/Mfgsnv+K/emkHHtEGxN8P4z8HpIQh/dRKr2aUbR1LuklvLx1gYsDFoyZR1G\no7ALUVu7LLIfhmWI00Lli7dpZxkhcUR4wWnzd54QMGh7qvZQMVB0qX1mS/Dy\nkJ2HvjyXY2iqm/2/wlH0XT6+1P/hUTl72wKlEp4lN3JODMbPkFWMJj2CyXMB\nVlyjGGbyt//0+UyLt4of/x3LbdkUx2ACSQhEpJujQa6julehcS9uvNStwMDa\nZkVuvWeXbKVJ3TkNtvAEvUIRwI1srF77/c9Sedr3mWkuvpsl8GVW9MUxhtXa\nA4jgD+9lm/Vd4p9rqpWvzQ3yoG+ltnDKfhRA4nFCbIF74CcqDR+bFvzHb77R\nS8CoxzlrunDnqSuvB0WYDHZjG9cyY5YVPMMELqfDwxpYT9qhHSoOmbOyeyHD\n5BWkDSW/1M40O+zhHS6P1d6cn03FTqtJrTFVR3USWJiHgupg7tWbyJTjAJ+v\n9m2n\r\n=JwH8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"f23a4eb1aa5c5ae8cf83a1f41bd9bae3a03d3360","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^3.0.0-preview.1","apollo-server-core":"^3.0.0-preview.1","apollo-server-types":"^3.0.0-preview.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.1"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-preview.1_1623823154041_0.3699431058441287","host":"s3://npm-registry-packages"}},"3.0.0-preview.2":{"name":"apollo-server-azure-functions","version":"3.0.0-preview.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-preview.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1824e110c42a5d5642d5bbd6343465aa9369ec67","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-preview.2.tgz","fileCount":21,"integrity":"sha512-bUzDNYDb6eJ1op0GWY6ATArlymgFikXxrp7D+YJlIkcraeSjx3JGBw2zJNo6hVXUUEXf5ALvTC+aQBqY90V2Jg==","signatures":[{"sig":"MEUCIGWQaP9QJZKKIAEZvdiPAFLJ8IgNozB4HWT9iPmkXnLwAiEA4eGxteizul6ElMYvQ4Da4aajwTESeAVHsL5XWnYDIRM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyZcKCRA9TVsSAnZWagAAJmoP/3zPROO7/1u/cvQHZRMx\npEkPnt8xxt5EtrDi79zPwjT9TXDnRWrPXbqwVi6i2Oy7Cne+aVSA0dYMRfS5\n3enqRiRjNlkJQQudAF3xD1gZWMXN+8Kk4QevnBHHt9OMu7Q5JJC9TdSUnUXb\ndHi/RoNvagH/jkZYqZ5KWDxJqPpYRTfaTHowc4QStsvX5WAJmR30vA6VnRcB\nKSx142fz2JJCgDkVm1gW8woa5wIOjsZD3NK9zqS6vylpk+LJxfz+GlJqxxUK\nFnTCndG/K7P62p9UKL9U30l5UhBL6GXqqI0VPTeI8G3Bh03TZvssx564uQWl\nZGWO+/i5+vW3C00A+4DHPNk1M0YQpchq6HzsJp7KKPgJS+FdtQTlQCTpCV9p\nldcORpsorGFnk5xgg6bsYMgbZsRoSsmEEE6MGOg75VQ/FKcEJFti13JBk+ck\nIDTUYX38PzqJgc/3C5P1wmrRtALeKSrWkH/n9dloKNlcnQcwYJgsWMnEy3hA\n4OHVxCV/BMyxEGbbczmIY0zqGL3SzCOq2R73mJMcHbnTVLcdZQJi3oIAlJmA\nYeW4wPTLTtsL7ZY9RsoAB2LD3+KdxQ7V3SVgeIgqEudmEk4qqDe6ANjX5O7i\nm1Dlg6sENY6qQJ5OTXlPV5i+axKGLm5+poQn7dPBntm3ukGjwfGalPeuNaBF\n0sHF\r\n=bdp8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"09dbe3e7029ea3ccdf16538699848f08bbed3904","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^3.2.0-preview.2","apollo-server-core":"^3.0.0-preview.2","apollo-server-types":"^3.0.0-preview.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.2"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-preview.2_1623824138020_0.537961480930111","host":"s3://npm-registry-packages"}},"2.25.2":{"name":"apollo-server-azure-functions","version":"2.25.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.25.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"22d3502f1f229726f0f5eea4cce794226706ef73","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.25.2.tgz","fileCount":20,"integrity":"sha512-zCdzV5fmmqDiVWnzte9Gz6199AE6gObNuKCSkAIRqdan6THevVzmjhfhyl24uYH0nP3cD4pqCRO++NkEbLJTWQ==","signatures":[{"sig":"MEUCIQDDpToa46EaA3th9yGdlWPatdX95I12ybHBH1LHkcw+YgIgQmY83UBom/hj8FKfTPU3Gff+fJ0Ytp15RdeMGVqUmeA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0j/YCRA9TVsSAnZWagAAhB4P/RD/FMvu8g8CzujBtxWX\ne8WgX6niNbPO2SotvGNfBo+FljIHN47pTLn3z8PzbmjSkcPtmuoe3kmfxW1C\nHbqdBh4RZbiXMBmV/dBc2a/xN1qdJV2vMc7PYmis0qYC/a8NUkH4FlxI4o42\nozlVGP70XFiTjuv6oSaEPLJ/J9XOJJldGy05YVgruEdILMlpuR+iuVzuUkjX\nIaRoK+xtFkkOeWBUnBMeZzg1eGrS032Lo+Z+Ee55HYs78MSdsDNRHR94mYzX\ntk9TzE8EtjGi5dS0bjMSDkAfrdK9jPEe0CVE2UpFN0v7fK/k4Lu5zISGoubi\n/7+qDjaBXkJ7R1L+ARmKKyWHs6mw0hnUQuL4pQyFqmWtKGmppuD0Ickb1J/p\nR3MXPxTStL3VpxpvkLbrrhgNhenGk1Gilkqr63MjjmBSxi1mrYAAnKiWEtCc\nqZSXlFYMR3PbNv013GMIz4Uxne/ihYeqFlXzzmdK1x3xNG897kiR9E8phikk\njPnM2naxEzKR9G7olRvI6Biq8ClnR6Lo16vpL+XyBohrYQyvjsZDJfHuWuiM\nHRFo7S7SvSfNSx3TF6KovyjGUj1qdSOkgVSgVJ2BEQkVdP+JERgqzs7Oo1Su\nJ6RIARegRyMSWCfTwPq+clwxWKZsQzSvI9sBGM+PWrS9ymfa1wsBu+2oTx5A\nMGlz\r\n=se4g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"70a431212bd2d07d68c962cb5ded63ecc6a21963","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0","apollo-server-core":"^2.25.2","apollo-server-types":"^0.9.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.25.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.25.2_1624391640436_0.8103256551229387","host":"s3://npm-registry-packages"}},"3.0.0-preview.3":{"name":"apollo-server-azure-functions","version":"3.0.0-preview.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-preview.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d54582b12b8434e7851653ba2016b27fad58d937","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-preview.3.tgz","fileCount":21,"integrity":"sha512-DBxzx35H1ZZ39ZC1GctYPkk7eT8IuH2q2fPqBEmFOoFdHfCMlfXmVKrsTzFRE+q7goKZfWo4byNHvpVWAIP6Iw==","signatures":[{"sig":"MEUCIQCd5VNZmexSEPo9vtSTbB59YeL97ihWFkCy1bmeV7qLmgIgIOx4Hs9YIG2cipFOud6mczBPV53YbK3Y8CLprHydYAY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg1r54CRA9TVsSAnZWagAAhBYP/0cX6kgEdJ9iebwa22Zx\nsA1+6wgUqKTun3gZmXl6LxaqBzoGUbcSBAyQtwDok4YE23SkzoJAcc5VWvwH\nd6PnkyuBnC2NRdgcc99oJOji7m3SWoChC7l9lhMisvQXmRkADY6b975qWmQS\nLMQtV69dINMFjvqcx0zEIRc9dwKPeuabSRycTDiLu03V8CbfhONXxcPf5Dxv\nj4IsYRIL8fc+C6AAn4EVNiwhd0UfcqXeV9cDIH1K9CT1WdHsDMhfMqrqXYcP\nXAj1GiIgUl/vMalMmse8v2YBGLArrqrAqKdOCSrbpOwSD34GiIF9JIBr9mim\n5N8AaRJA2r0ZHiwKHSWgCfQB0MQE646EaW+m5Q0v6bgrywFHjkECfxWu/be8\n9l9EHC6/knguVEpQGdA8q5OeTTUYJgovaWynX6QPIw/tggmbMukCSLIUR9oh\n+3K4TWl5gxO01FGOxX0C/Mqn8rcQPJkmb//q4ge9d3SLjl3q1GIHX9VXimiG\nSjnFcXZ5sDME2DhHBw61IoLJSQb6Yl66xQaMB4dmtzD/z6vSMDpcY1CAgskj\n5PvwFVoMkSJ2mL4KYgX4u0EYfHD8tidgeS2tkG4wJw41WpMOIDxCzSi/TRq0\n7MuS38f2lNM1l61iRP4iVbOrCwkHintQbMoI8xd/jbHxwai5ILl+bwQKXQom\nVK9c\r\n=j4um\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"16c00c982b11cf91ab8f208f88cf587622fc5dd7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^3.2.0-preview.2","apollo-server-core":"^3.0.0-preview.3","apollo-server-types":"^3.0.0-preview.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.3"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-preview.3_1624686199923_0.9533071248863292","host":"s3://npm-registry-packages"}},"3.0.0-preview.4":{"name":"apollo-server-azure-functions","version":"3.0.0-preview.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-preview.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d380f319747a7bced8cd8066271a7c7d6df43280","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-preview.4.tgz","fileCount":21,"integrity":"sha512-ZFcRyjcrNX3LZNhRnP9ccPLhledIUbuPq7/MHmZ0Ju8ooTA0VeMkQEiymysuYHftBsxp+A+5gNqBIzcsmMODfQ==","signatures":[{"sig":"MEUCIQDrlnKjp0uSuvUmvUn/AXG4pGYqZDW5kjwce9uos31w5AIgKwqk0uWhQS9zpUDpu6ZTou3UQu49IkWRCpN5mxjRMk8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3Ny8CRA9TVsSAnZWagAAMXIQAI9U7LxIB+adcHWRf7XX\n8QQgkaUWnHrG8CZJyeKQP14c0bAD/s/JLjW19asAhBenMfkHPhTHvc5aNdJL\nu1PUS5UgiSodScQx8imf+j4JZ0+tTnwJmiCTsTII2qxFalASPSvAuXsx7I+5\n3lwVXRsg7NmcgCCLCbpCxdE+0eIYG7AlG0T5sx0eXRlnptszFC9j1tOgwfPP\nkKjFvJuQt5rDJRySJAfYQSH8+ApjB0KV0fhxNhF7Fvz+TB9M2KxT0JiJhSoE\nWttQOEV1h5Y31FJisCkoC86mneOL8y2CMF4A8X1AJX4kkq9oaWM1+IQtc//a\nxYfsUoVLEbie+3FuZnw3AokBqjM9T5sofoxxk9qV3Fm7Nd7OBz0AbJUf5yRW\nv2EOTrzmoD3jGxzXamCJ4Tv738eM+qZ1DwFmA0Lm3afjth4fcpnVq0jeyK8o\n55HSEEP80b2gAXCFQGWBTgEiJ+KYMaEAOJ82YCmI4doJKesTq+OuCLEvDWqo\ncREN0OpRpiBeYKY/4WH6zQ8ScGZIg12kdazHOhGfcHZmFKRVFdwj5Qj6rIw1\noVt2UVQhdgWBj8AOdyrsno/FoBydyNstP/Lvu56Lv2m6iniMQU0FfX4CNu6r\nXgjkEBMTPChAnNXe1czwZUIq/4DIYYRn4pW5CpX4kBBhXUFe4uAQTa/lKwAI\nXYi8\r\n=fPbr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"4669d1aafb6fb6571de1d5789ee4375aa25eacf5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^3.2.0-preview.2","apollo-server-core":"^3.0.0-preview.4","apollo-server-types":"^3.0.0-preview.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-preview.4"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-preview.4_1625087164021_0.3161836627872012","host":"s3://npm-registry-packages"}},"3.0.0-rc.0":{"name":"apollo-server-azure-functions","version":"3.0.0-rc.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-rc.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"be1be9969a480f53a40c2383191cb4632cab8064","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-rc.0.tgz","fileCount":21,"integrity":"sha512-cAkDCosK4sx9V9xShwtFsiQBdj+fo+beXvK48fDVlE0oObLTVAzmsvpmpTjCE6u8IY0wqBSPDYPyziEODfv4CA==","signatures":[{"sig":"MEUCICWIN9PoaPJ9cLF0eTa6R9Mrqql4tAG4B1wJay8VPJpuAiEA/EpJF2atVdidYdle5uKZY4IUBfm7qmXP6auyLiui2vs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3lLXCRA9TVsSAnZWagAAM8sQAJ4UMuslSHguQ0M5+9Rh\ntCUT8FFXMW+MAMJZu4mX464erZg1po8pFvjRVZL1yvEDhSDcLPY3I+vCM1k+\n6vDlD5YXaGrHt1fF/u4Y2u/qMzsq11Y94aQLwgvoCFP4yCQjoDsrcONxtLeb\nwc8Ns076rMyvIZCKUVeMKb8hJUFNliC5ND51yZIq7WaVA9f+L9K5W4bL50SA\nMT4R/ntleicq74Hdfqovi9+SHjiPhKAv4rASQGBY9neTFv19G3pa5z0XkzZW\nh76NiPU4l+N8Ys0jj1QMZE6wGoKxJOIfKFeBx3zQnXDDMK5FgvTCuo7DYNp+\n0iwX5bfZkmsfU/L4gCPhBEh2DV/LkcALmxyDy1gDyoDTuo591/rUyOCHYw+R\nkwK4wH/kWBUgJembC32FQsqxbsHFWRrtS5TYlZhs++6eJvonPUICReWlWnsM\n2OiZHNHcQYQxGEWp23fFnlMw3JuB03Tcgcjfm0NpRBisrvATqSEsZ9ZZiyFJ\nOj4V09B/ECVDJJ+3epJJvKUKXuPPGTVxgzqvHSZVtPahwDi+j0hZcPxrkr7s\ndY0SECJfYl1nHRu+EMhrzKcOP9y2QEq4t7opHYcZWCgP8qwkanUPqhkkh+yS\nfIoWwHa5MxgPP9QEEmyuH+Y7sZus2ilDNZUNK1RHb4jpyqdHMGdXK2GKPpcB\nat1e\r\n=0m5C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"b2c2097ddd58623815112c0e084761f426d2e435","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^3.2.0-rc.0","apollo-server-core":"^3.0.0-rc.0","apollo-server-types":"^3.0.0-rc.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-rc.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-rc.0_1625182935325_0.4814391831319238","host":"s3://npm-registry-packages"}},"3.0.0-rc.1":{"name":"apollo-server-azure-functions","version":"3.0.0-rc.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0-rc.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d36e916f8e1db5c2c0c278506e9df8e8769a2376","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0-rc.1.tgz","fileCount":21,"integrity":"sha512-F4rOZjWn5afzDDbvqFJk9Jmnc8u/hNx8/xDrO2iQcSnFkUBkihMuz0o6SSdAlCMehR5/UB7ryCAyu3z3ziBcnA==","signatures":[{"sig":"MEUCIBZ/EhTeLWg+O/NxHeADHZHut99RoJAg3zRS0tOTqJBvAiEAnsNJC1/ZI8k3RGl0gk8Dcf5AaooZZMXoM+jNwlVJ6hw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg34m2CRA9TVsSAnZWagAA0r4P/RRb3GLq5XeOyjeVTszq\ncFise+63u/tn8zUb5UztRk3uWDtf7a4DcqHYAKeBgceemXt2VxPzmXXHM4HL\n4aDHbydaWnNPLzyj07hoQy+xvZtLqPhasrAdYGoaPmzBsdu2J4uV/7HMs6uZ\n9AtjMC+DGUBzmqZtPOpTIXDMQjxn2F5PirUq6WkGMJZvf4o/M+rWBdnDE6Ub\nJ7GdxooeniMlv9bSYfAEjuMB6xzzilGVs5esqWWKJOZUgMqMgFj37HMZ7/ov\n2XGlriNurDjcUg+KI9W8FWlXPzpxCdbSHGWhPAqhAms/APUizmrNy75W/rNz\nqzFIc7hYdJXheemMuwKLaVlzfZ1KPljU/TQPOS8cEpBEfSpOPzCnEA8dumgn\ngMe4ZCSYxsrVo9esGAndQXmgybguaWGw6uvDWFZOD/aq+Z8WN9hA8fzQzNPz\nZkeNOOQL1sb2wqaJK2WeUjvrj2Uw37EPY9zUkpq+3EtaH1j/U4uBk3XbSJD1\n++haKVrFjoysbrNouz3/rQkCX7L8mNIqw4iligL5uECTQyaNJ4RubApzxF2N\nivDhFJTk1CBFAy46L7FmMt0Ptsk8yqHPq70jpqwQf79k1jCp/R6DuzSVL4Js\nRHtxbK+f6aAnHSEoKC0//LnjGrijkV1ErEMcX7UHpZ2Sw2wSzuRQGCuYqUqi\nhdtY\r\n=PZCe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"ad2cdb557da704acbb42bcbb36086e35264074db","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.0-rc.0","apollo-server-core":"^3.0.0-rc.1","apollo-server-types":"^3.0.0-rc.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0-rc.1"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0-rc.1_1625262517458_0.5172851898027111","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"apollo-server-azure-functions","version":"3.0.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"cf2b30f13e6667ccf72f541872ce6f3430858f21","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.0.tgz","fileCount":21,"integrity":"sha512-+EtVRvBro+PbGy1btMlxV3YFn8BzAgLzU0N3DvFLP+Oga6WEf6bVw+hTKi17ou/5ppHBUSgYPv7VO6hqSpQb1w==","signatures":[{"sig":"MEUCIQCONy7xnTPdxeiy7zstPfOyEexAeM0bC+IwVyOfu+FaggIgRkcxxMOWKbNXDlOdAsNM3Gs8wuyF57tinXsIINXgynk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87704,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5e/RCRA9TVsSAnZWagAAacsP/ROtLFbzZYdQQ1z9aOBM\ncvQeodNn1W/6Jbe5e2xp5s6jXwyil/j1VGkXHWfL58yJKdeuUAQ9e4q0s9V5\nClqNLGRIg+I5FILq8Yra1/qUsc+cJnP22tuB32PxATBEdSiVqdMnG5mH3Nrh\n2MU1lOUrGYnhqCQRjAWJNYTkTA9YXZkdNTKbv7bBF07+M4oKAespNpbArcd+\nQJIkIxim2vfvr+VbJ3ekS56Lz+bI558DlDc2V/O6zounLLOcOmOzzgkC8+0K\ns9BRAjeP3QQRcVskheK9lsNgO5e9n6xCQCjcWhKtSe7wr+WHSuEgPb+RMg/u\nZ4nntSDTnSxfEgIvDqgjG4p8r7d4vmidC4rzYrSI8QKxKmzTMTDu+MAut/il\nE3Ggu6bj2ewU6C6Preo6+uniz4rp3SGeeWmjQ6Y4C1cRN4CyR2xRkcJRi2YH\nnA60+OoermSW0h60nsmfmA6QegRexEfngkW1NlltFiCS4LTgiE/dBHGBb5Dp\nS4OM0HEayfhCJJD42sfMINN5NperYlRzs2jx4uCMcB2hXp3XFmqzpeR8iwC+\n3VSxevrF16EQi+pSy4r1eS3ELi4j+AoHX88Kc/92bWyIKvhUIf2FGdaa4Lxd\n4oj0Z/WY60Qbi+qyOV+Y32wl1b1WsngYC2eriIc0l58e5XiGZr+lfGmsu1Al\nZfoN\r\n=7iEk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions@3.x graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"bcfd36cdd01f9d26d0a225aa62a79c6642cd743f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.1+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.1","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.0","apollo-server-core":"^3.0.0","apollo-server-types":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.0.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.0_1625681873181_0.14104305317110288","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"apollo-server-azure-functions","version":"3.0.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"c9700b639b4e1a5d9e85d9d619fb954dc4ee9ae6","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.1.tgz","fileCount":21,"integrity":"sha512-I4svO/OqlUBJYAzJgpEpgMxLnDbU/IIZ9JRfcq4jXFwvJl7Sw5wCAIjGH+ruUbX3HQD63t0hYxdnN7nTmpedEA==","signatures":[{"sig":"MEUCIQCZ46ZnNd1Y++Wd27ZYcRFWzzHmOyPT4AVQ9QXPdcvNhwIgOdfgu9I5ENEmXYOIkkjPOTcRLuNYCPBRItYR4/gJdiY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8gvxCRA9TVsSAnZWagAAIM8P/jIWVYUHDZU8Ts7kmFHh\nziI4Jk+HQLuD924p2gxUQPTqJoosV4aDxtPOFjtx0tF2FcoXfBZFiaUY+vPj\n7d7TATBDyVVBrM0WzuoJcsj3KhC5pYMvu+nJbkHJKKzIZufDMcVWo3m3GEqc\nKSYtIGItzNUfUHDbDfMoSRpXGxI5mz5K1XfdQe24+VwJbJieOtz44mic1B78\n8d4oGK2uis0JSwluTiO/SJ34CGh4SDMxz/Qko79AfDooRgn1yBRndBnICn3Z\nikgRePBSg7Tz90Zn4i8VDftSJ6x/l4d/VTx6fkGrhFYMtjE5wBCPEQuyKH1x\n1R766aWY7M3qqwymo0cdoItGRJrKwaNVZ6kYnu5tHysxK//1Oo2Aq2Zr+FId\nKlSLNne1uUKE55BhR/R5PKdKgNJm/JWdIoSivZIcKPjs0+nCxyC3dREVarut\nrcmAWLOROgBjSCLbsQ1jCXlqvjNDGKe1ymFsLsympMn/6iqFGBju6QT+87f7\n/gqEAk9ODwAZ3ipSuFGMymdcAO8EB/Y1CEqvWMP0Wh0fGL5g2P83D0a3+kab\nlM1e35cV7zoKA05+X+2vm5BdnvoIAL7NDa03kjEHgfAiwlEF8rUFH6j9KQl0\ne272suP4QNK0JiqjYYjc6YCjdVb4mvhLINAqvk/UNSNbECA2oi6x82FbD9Fc\ngmkT\r\n=TyCJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"856f7fbc151ebef4d6ca8a9efe801ecca3d4f9c3","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.1","apollo-server-core":"^3.0.1","apollo-server-types":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.0.1"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.1_1626475504974_0.9840032553880513","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"apollo-server-azure-functions","version":"3.0.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.0.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"e412d529c8356f9a1090f2229ceb470c706e1351","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.0.2.tgz","fileCount":21,"integrity":"sha512-B5SFlSrm/Z7wKZYNg+0yKznixdsQEFgCWY/u/v2aQA4t9jl3mZV0h9f89cZEWvTVBFhUY2mJPKkFWux1Dv/i5w==","signatures":[{"sig":"MEUCIFcZ/jM8wa6C41M3yDR9UJI6mOZi5J1VLipF6Y3n9QIkAiEA1hp8lmbMPJkPjo+Y+FZW29NejnhuVFS4NNh4ZXr+F/g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87573,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg9wemCRA9TVsSAnZWagAA2qUP/iqlG2E4m+NbJs+NbhJY\nCPaq97HyqcKl5clVd7TJvFRtDPE66LIqkyfznhxS+VtsJjbTS8G+6U5ScCGm\ncoQ8aarFbOuNVJMYcuKo3QEBXWB1Fqiyw7T3M5RP9V3w2u10ULS6WV22kDKQ\nK11fUB9HAOPLU9ColHh2kZYPaRuJrfPfscb1BcelBH885JPypwhwiF6wZfqS\ntH4Q4CxDsTR/4olrYT8n52vyxxF93+xSrs4zzQPvmHvJjmeZDcrSgBEjil+k\nbi5F9CxoE/EixB9lFKtJw+9V8NR2z3YDuIDEjRg4joJ+eefnSz0VY6v7lQKV\nW1WV4kkqM/9mPkdC5z2E0wsU8fY0lwA0xO+S+JNRI4h4rfCZt3dr9poAdpuZ\nI0APSn+VwkNBr8OzS/OCz0z+G0Ah2v+PaklGMbUUVIAVeE+mCz4inqhL3B4x\nDO6WftYQJ7TzTeMuvPDjZ1lKu9dc5PdfwN7EcX5668Irva/Tc8LdGjiZjCTD\nQ04ZRuMMnhLLpMnXx8uEkqUFyzsGy6ChKD8tsE9nF6Mbn35rnVLaveyQBi+G\nI+gn1VyMCU/gqFYR5kSp27SrMWnrH1xgy7gQCty3BXID9LrE7Ux7B9qK1hMw\ns4D9qyPfBwaD9DXRztSmBpmDib8Inda4A6A05hdyiCeXHb+iynPXqTQ/51nG\niSiv\r\n=LMmh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"69577df0b08d392e99d65644a27d48b9b925dd94","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.2","apollo-server-core":"^3.0.2","apollo-server-types":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.0.2"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.0.2_1626802085970_0.11025554837902796","host":"s3://npm-registry-packages"}},"3.1.0-alpha.0":{"name":"apollo-server-azure-functions","version":"3.1.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.1.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7023ad6a632a4958d6b04f795f2074d716f26283","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.1.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-O7mulJIIUrEXNLxTpsmCqaWcl+UWus4qx760Iy1Y0tFxzP84Ak7y5bBvkFXfd2J8H71bcZC2zOMH3FWZ+V/GCg==","signatures":[{"sig":"MEUCIBvY2O2xeuwvfqwMJzTN4hZYnX4nc/nya9VUkik2SdDqAiEAvtkNpe1kav/ev1IS6ja23PocMRn4B8mITIHh79hmfuU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+dOzCRA9TVsSAnZWagAAUFgP+wYVYehGWal7QpCAAms6\ngLnUMqG++ZEd/z+MHXpSmYF5M7MY6iJl9FOj9yG9MwGpRID+mU32yTFG1AzL\nRCRO1z8aa4e2mg1t1d29OdZ+artv52yB+mgDYPA6oIr/k81nOiUh/7YRCqGK\nN6rq3M3g7rMseAEfSRQyw4wO4wRTkks7EZz9hf3pRxlyI+DeY3bAit181m8l\nrimG/ZnhvDWIY6gNyghGNu7Wg2w6MEWEcqRuqWxPz8DFyP2/zLzZ28q2YJqu\nWSz3Dgsg3NxNz999fXdM0dq9ecc+x2qfLP8gQXKA1JgJdDnRAh/axTsCX10R\nNnac4yN4HAZKlAnKBsgxaloOU5XpNhdSOEwAyEi2uFHIQIMtjq8x5hr5EN2V\nk71WLZDt7kQ28A8udY5eQx90dp6yJ+cIwjmPq0ZsRjczO9GqL6SNWdFsBDH3\n/GcE7Jgqq3r7TzhX/98pm+kthj10LHdkZSgoULYP4G/I+IFdpFgHVl/qO89l\nOcBnPFFCo3WM+1M9XObHqQoA/+BiZAT4Yqe6uExVyd9iyEtrp/3jMUxwYajO\nTGOCUkk4+e7W8A/MeDRgPpZg7P7bRdMG33tRiuybWOusiTcGYwWkg9A6Kx/A\n+qbewO6jQztVo5YOXOz6RO36k5XthFbe4Z+92X+Olrc5FtoUpytC0Z9r+lPz\nWBuu\r\n=OV55\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"4b0722e23503f776dab3e98088a0dc77436fe474","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.2","apollo-server-core":"^3.1.0-alpha.0","apollo-server-types":"^3.1.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.1.0-alpha.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.1.0-alpha.0_1626985395096_0.754124471371173","host":"s3://npm-registry-packages"}},"3.1.0-alpha.1":{"name":"apollo-server-azure-functions","version":"3.1.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.1.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7d6eb7485f456cd9af2828d9c3d5f1a18261cc4a","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.1.0-alpha.1.tgz","fileCount":21,"integrity":"sha512-33dtucT3k2ZfA9Wky1FqCGFuMED6rZDmtydZant6RxYNvYLog75pCaANxCp9tpzWv6DujATeZk6AgINtg3t+ng==","signatures":[{"sig":"MEQCIA1D7TUUPBRsRAcUbIweoYy6j+FOX/QuHOTQHYK4X5jCAiB6J6vAyjjVj2HGhwD+PeYG6zMmri5dUya80r84NUyjrA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+l5ICRA9TVsSAnZWagAAL7wP/2P3AE5+2xJ+StVOuI8+\nOuIWIgWDqwLiOJoEKoLNuBgBCJ3f9gYXBjfa/F6ccoT9d34oNSj7f/pI8PKY\nc7YMhoXvaP6ZltEcAx3Miosp+wwB6pGw+z9p5cVIG4YrSIqzvwygzN6rY+KS\nHOdENKreQSZ1o9H3RR+ys/EMhMyTMSdiULMA+D3/sbFDIMcpca964zjQHEko\nOYpoSCYCGIgDPNoWqggw+WVzigzw+Fse3eqs6jGNWH12OHrZLsbnGGJyI451\nJqS2xUCITV9hmPRWfp/LblJVZx5Fu+c40dHE4jXodI/mDtR80Eh7qq35yBRb\nugNX9pGcH4Ydz3rn/Mf7yFXKQr1Cw47GlPXwVyd6Ru06v3AUe54xTJZR/hEh\npiu+19fc9U1i1yZzaPFFlJyu5jTI1+mjHHdtTgUddvUsmSbDwBQnsvOM78Ix\nkhQI1xH7Q1/P2F7DKsMtgO7cf6E2v3MyddQOko0vZDUmJdARPoD+RdBWvWyG\nagcjmOtsl4Z0ZP2MJmuvZ6IQGe4hnFyVOLAu4rEzwhN8JjA4Cssc0DW6x0N9\n4oQKop7DKbtXQar+PMVjxunREQ6E5Mt1/yjeYP2fIzCRbIQaEev+gWN6QGs1\nNXbWuEXK2hS4n6GnZzokMy618ysSKk0HM7QDFXVt/1FNpD277+ovS7TXrxDl\nYQeC\r\n=FHcK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"a383a6d546e69027ce6f0e976f8e6dfffde51dce","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.2","apollo-server-core":"^3.1.0-alpha.1","apollo-server-types":"^3.1.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.1.0-alpha.1"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.1.0-alpha.1_1627020872303_0.7739885802611088","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"apollo-server-azure-functions","version":"3.1.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.1.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7a45a008596ac8e9a8ac5de61e575cc08bf60d45","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.1.0.tgz","fileCount":21,"integrity":"sha512-WsLUDxjbygORzD+VHfvCgfrBNy3PlqbshYqx7wDlUg6olIBTFLekAee3Cl11PliprAYeeBxmFhzTA150kKesZQ==","signatures":[{"sig":"MEYCIQC9i2kKiDSBkEmyjJa0ZDACWvmvc8YZl0GsY8gmOwxZZwIhALdWBUA15HXCM/sJD/zO778ckzmNKFJh9/xjWh1JxwAa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/wjICRA9TVsSAnZWagAA6sUP/2A4oipp77mGkMUEp4SN\n03TUAmq0X/hZSU/ARw2fCEoAR/EDwtnwteqWgjEtg7b9B+oUCtBBRw4XBxf0\nTGde/AFez/dCpPuD2gX/p0lG+KltCSSShpsVSAnUZ8zkfBvPKQKFi48IjNCM\nho4rTprqYjkgaAamR2Py6v1QeWRJrcb2drtUk43xh2gbM0N8NP8WC/BSBa++\nOZcphpohb7G0obSA0Ab9ysjAXE/lkzo4VbfCHu6kisxP+fbe9VmMdejovKRX\noI0lwdDMCJKsweNfp4JpnwTtsfpQJaPpjtD6VcUcONO+TjH6QitV+5OlpM+Q\nTajRC3KE9I99OJ89Izjetby9jsGaj0pRVDBSx258Wdm1jUNbUAtXkCdBdHeu\n26ZvmeeBz1Q+RzBLS6QfXFHFBRfMIwwoEFNlpFVEe4sZwI6Edaog9lffngxF\nLSy90cXs9FMEeRZF9Lw5rxKaBnqLtYe/cVC/N7SFTs5dnmvAL+zFd5imOQ4H\nF3DLB/wEXqctLeT2lC896Co2VBcZxHOIbGfqCQuZYMdNAgkluA8YfEB39i9u\nGXqVFwmdZvJnWR43LormJvKQD6muc2iT577MCX5h8d0guX29MH4NHINKHwua\nK/rOzj39IRu4ZCsbS/di4OG7HJztohRqo4eSTP7ugqMISiNtbugPvAyhYtO1\nDFYO\r\n=sihN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"d22ffd33da9fa2972e6d055ebc4b346ad329edff","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.2","apollo-server-core":"^3.1.0","apollo-server-types":"^3.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.1.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.1.0_1627326663922_0.41013000365252683","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"apollo-server-azure-functions","version":"3.1.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.1.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2d4cce02a13ee180d4a4dc2078c39327ff28198d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.1.1.tgz","fileCount":21,"integrity":"sha512-6ENl2UCR8m7SHy+V8OPnhZ0bDYE3mk5DmvFNC8LU6iS/M/tN7aKEdgXLgcQX9MABqJxdphSwL0NG84d+sPfk8A==","signatures":[{"sig":"MEQCIDxYYkhrlTm2La4+T+s0Yt7JOvybXqBj3+rgXFN3eBL8AiBBD+DzPRxIwdIn3POACEnIkIl8hYM4cDTgP9UEJiOkIg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/xJBCRA9TVsSAnZWagAA2jcP/19Dkp1kfzcV1/wyjPBZ\np+WQ/3pZV8EvwGDS+hP3DsNrQyO7MqzmMc+yvZpT2SszsLhcm6ubzm9Jt50F\nUMoT014/1dzqZVihMYTGbzmtytONZufzmd/a+59vqI4gd/7p7HfE+e6K2rpK\nOZ/WLr9Msr/htoj+ptWJqGTG+5rR3MtB944ZTVKDSbpPQlbaUqYWlcQKfBGC\nPspxpy5+1AAiDbdpRUjsyJ02bK1MaavkqlUedeVFN5JGN4T2h+DIZW7X1aoC\n5lxbIYzI3DOi7unDoPyXSSUO1ASdI+OXfdbR9fkruyf/pWEhbD7nfjPG7ZIJ\n0/NPLArTMnb1w7M1TTCEUQUEKxEUKm5vP68J/evNVwuMdP/pyvetraznvDji\ng0VGf3AuybpXBnTbLOjCaKhrw0fkneMaKbv8b3RvYIAKlwaJsXA7NQnny7mU\nWtY+HIuiGgDdabdaLM+vZ14zf0PnuxMGw+k9wO7cOFKGMTwlBsKVcGm7V15D\nsRJ8EBj2KabZMS9PNlfAMUounLtU4wG+J0L+yyMPuyppX00Ly3CYCGBYX48H\n3YtH/14VsqNYiKrzfo2P8/GM59ENz8d0Kh7CA9G+4ltq97MgL2+96rmzxwGy\nIkP3l1niAY/GWGobC4cYhpXBbHDxJBVGULhWtJGCNN6GAk6Qk6W2WATWgGyI\nFVoG\r\n=4tpR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"eb06724ca43042fcbf6e04e1de1dc2e5acfadf33","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.3+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.3","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.3","apollo-server-core":"^3.1.1","apollo-server-types":"^3.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.1.1"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.1.1_1627329089467_0.23506507645753283","host":"s3://npm-registry-packages"}},"3.1.2":{"name":"apollo-server-azure-functions","version":"3.1.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.1.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b6d493d5065fb868fedcbc1813275a66474b31a8","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.1.2.tgz","fileCount":21,"integrity":"sha512-6z8pJ3ls/JL4ieU1TrVCtkxCS8AsucdtDRbouyXRHe8HiD7NNlQlzlYkO8pcwMlhSaE8ufQiodjeNORAr7QPFQ==","signatures":[{"sig":"MEUCIQC5gUvjav7ZA0dqZQ1pcb2y4vVpMcRP9xod3vy3IZBY4QIgZVfW27hFrc1FizHWBoCzqruPlQhXY0q8ly646QuLR8A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCI78CRA9TVsSAnZWagAADWMP/3IoBVYwLeQNJh4XjvF6\n8ABvJZmgJihihrvWPFyl4Ogr6NIkIhIsRW4u2oRf61k0VmE8v1P0k32Vk146\nI9plb8jeBC1L1nyLvHN+Gg8y8+8llAqjA/Y/cxxSUJMo350gZRLCrltXj6OY\ncFHRVSk1kurmbt59h7yTntjUUaXXNBGOY8fvokNysKyS97xPI8Fnqpf4qC42\nWu0AZisQRpCJto8LBC5Hva/conEeTY6uMWn9sdqwwlJSZuvhGXVwMb1LuFYm\nviSSdOFN/6M+16Gcd7OmgoXI4mJBs4P4tqu6zUr/NbzS0X5604sGO1IPzSZO\n3OV4D+UJkSuKTGm/JHx5pzSueJ9ATER0OmM4RQSRkRxAYKsqZm/qd3CCdPh+\nCq5JsUIPVSzK/xLrLxgL03tbmz5Qai639awVywWGzOVFnKioIV7y9KF5mz5a\nf2FhCcPSND3u2ZGmscUxbhMDgbQwLJ65XN4c43tGsaZURV2Gk9fOgc2wQ3+l\nTie65xL1U73qyaQ4ehagsgBrbDQkXXPSRYJOWn8y/rFb3+b3QxnEc5gfS2Og\n8vfaAC4/Uy91GVU7I8Wk6LYtN0XAV5NGBn+OVfnyMt5UsX8lYemwxXxOEPo4\nOtjSQ3TRZu3YWX7JruuCxwQDrdE7IU7J559+2EJCR6kBeSC7SnqDQo+z1bty\nFUu4\r\n=MR/o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"65c88f171864ee5bffb95f36aec93120b77bd56b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.4+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.4","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.3","apollo-server-core":"^3.1.2","apollo-server-types":"^3.1.1"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.1.2"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.1.2_1627950844693_0.4531717804797015","host":"s3://npm-registry-packages"}},"3.2.0-alpha.0":{"name":"apollo-server-azure-functions","version":"3.2.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.2.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2485f75f1801ddbc216f40376310507cdc2f74b2","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.2.0-alpha.0.tgz","fileCount":21,"integrity":"sha512-Kqp/HBTuaT1Wvw+V7yvrkJejS9Ur3h4J+mp2ncDiBgTW8+TUt/IffF4jzTmhMLd6tmpDUOzxNgaiJAScez+mcQ==","signatures":[{"sig":"MEUCIAdkpOj2z2f7H1fbvxFXzoBqqpRWxjoLxgUZqQeOiuFFAiEAuGbBj+SQQEhuDUHw7kQcyNfILqJJFDRinY/+IICgPlo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhIEEKCRA9TVsSAnZWagAARAMQAIwXUeSmHKvKBxjxEkr+\nZ/BbiZpuz90N3mhdSv0wFZTXkmJu7x4Ptt0mAVkko2q4zvD/V/UzDDo9jwfR\nhxS0Urn3fZ375GYz5rSpQaLzfUcga1el92RpubYK/1Yzs7UOMO19uPSiMcUf\n2OMQA0yqqdiahdkmSSlxK7nc83uRKYop0sjNhnoERnO6SHSs7NPj40glqevj\nbHYQYoD8LDo6BN7NEqNWOYUk9YZrZ0Ghkt2MdFT4skgQhicYuopmaNBvWNLU\nhSYpDuMHY0kXkHElBpLsBYiDje36SmgkgRcMhJgRmRXLW9I/VLskWXXdG5mV\nTRYdlsBePVlHkUYbtouqSuF45R63dUzPn3QtkWr1dGosbtOC0KTvzT6D+5gh\n8Lv7YMQ0j4p+s6s+gQSouVwDXCh9RhEOwOTa5unE82gxastuFlO/+J2Ebihh\nYz9wubvQxYdsFkd0l4oy6B0h6+6r65uEp+MNDspLAPgSM8j9U+Tf/Uvou6lo\n/wWGcmPTSNrZymmBVUJWvzfcUMuKFwWEHdr32B2GNFqMWpITbvhhPBdDToF2\nvkEvfe0CaQTLmehY/qU5SJTNGlGFs5elQ/UUAO1v8yF33P3KdTN43DxKZLLK\nTX4w3UOJl2D/2RR+3mQcRUAQ6tXvjhhA1W2fVBMIt5ulZOB5ToMVMBEdSFWb\nqB8Q\r\n=jBzf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"211cd84ce3d2c9be90248e6a69c8c26bf8d1cc17","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.5+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.3","apollo-server-core":"^3.2.0-alpha.0","apollo-server-types":"^3.2.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.2.0-alpha.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.2.0-alpha.0_1629503754058_0.48140544633599847","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"apollo-server-azure-functions","version":"3.2.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.2.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fe2a1b64bac42ee6d3181d227714477db1674bf6","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.2.0.tgz","fileCount":21,"integrity":"sha512-9noTJFVvRKhIb4qI0TF5corwmShyt7D2LrurMlh5JCypc/r5ckT8v/4dUnvGJmE/B0eHWmpI/mXHm3IOcbJ2og==","signatures":[{"sig":"MEUCIQDYjc5aVJKCKUJVRkVbirUcBSomxDHxkw65lM0B9HOwpgIgEw0PIVXwfS1pVRLv4lVkX8StBCNL7mpyH+RGIg8FTXs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86829,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJDRQCRA9TVsSAnZWagAAjYcP/itMC+NZoSyPXAryUe/u\ntQK5diX4dMH6gTwW1MoLVzFrX71xIao6B/P6wGe5fPLdZk9yJntbd10BVpMR\n8mAgfvqNCNhTU8L3Wh4vynU+/wuxQJqMx7B4pphTooLTAzRTBFyscboBJMY/\nfNvarsxO+NlBiCXhpzNEzguBogAVwMNQQN5oryPJysyfldVis0nq6XqPXGs6\n4DAKNdr229WHYipicEOAHQ1N0+eurCTDjNSUICsMlmn4fDYlhI2Aja99y2tf\nqQL8A25iay5OUQr9Yg3UHeHAMducwYF4T8vOFEtJurFD+4TAmn5B2k1l1Z7t\n0wSQLkGfQnb3Cfk58rdIzhurwejNtF7fQ2ToO44wKT+91DwyeBRiTfcpn0hc\nbc5QMD+SFdrxAn3lU/tXk0AT9i5e2vDcT3Js1srIkEklJ+0ZWxKp8ppXNl3Y\nFPWGBQ6XOwcmEuGpv1+OYFRJ1X94JA3isko5LGOGiyLyWmvAa1vU1B4Dszb3\nxOd4bj7vMgwajJIGCfIvFe4xwx4mA7FBDrlcoHC+PwF1uWIFkZ6mOAYk9H2u\nyKrJ28yBM3TaRv/Dt/FFlaUhBu9bazi5lH+EL1tfua/dEORtMD9gRw3h5sjx\nsv9TF9LkuJlftaUot3kIOrvrLNHcOXd/MRUU7lxQ2V3Lx8cV3PghSPhkkdgm\n1b+D\r\n=R4L3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"4dc19131aaea2416b5b2ccab295b06272f94c996","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.5+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.3","apollo-server-core":"^3.2.0","apollo-server-types":"^3.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.2.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.2.0_1629762640711_0.29922758329259747","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"apollo-server-azure-functions","version":"3.3.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.3.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"027de62a132b87d3a95f2b1c5aaff80952ae38d3","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.3.0.tgz","fileCount":21,"integrity":"sha512-mpqhAESA7b4hfC7/0AV2X9k3Uw2LHTSRHLLCqGF0yrpqlHxDtz5IDkrnGzUTgJ1Fb0FG+2byZE/b9s89mXRp6Q==","signatures":[{"sig":"MEUCIQCgBsTc6kUmxrVXqd+mQIwO6PI7aCI/W3tXHyMLt6y4tgIgA17rJNFPjhSfJZbZt6ffMstbFvjQTpfJk3JITMf/pb4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJs7kCRA9TVsSAnZWagAAyb0P/2domRJkWUPDtSU/Ecz4\nwiBXM1QYjmga/+IdVlZ88+BQX2Bu8UcCgR78rHmz8XJm1yOvLpzASTaS32ap\n30gnkzN5LrU6U5k4jNjltGfWvvPmH9haZtuThgdJDv1QY3AMynaPbzP8A4at\nnVl2/aeBPaTxHVx9fiPOnLvTF+YAZvnNeXwtz5NSWxXjTRa7BniO/FBzyt+n\n3yVX0Me+sAHdXAUYoQOSePnDJLMKPyD7Sl+9ys+oV+324wJgXv52Kj17KdKz\n0NEynCiISnG7s69CAg737zGouCZZBH7lonwiY+HNV6NUHGEWPYdFTXJulYQH\nV8Z6DkU98f3jv04T+oi/9BhBdH3i6Bo5oz4dep9Rt2ZFcwFppfjnOBxuAKvj\nrX3j1upKAXWW9hLo9wDJ5ybzbvIQj8kfwBGLyWN4aVKfbNJdB2xie/Qw5KSi\nlKccolsOEMMMHHKLtnjYldoQhSVkReSbHwTyI76MlgT0S96NTmpBv7ZePnS7\nJS6lWp2lwUpVMOMp6Atc0rX9boc4lg26xLCMLYxkBJzSRkEf91RWJiBLWyk8\n1PSOcSgGxC3XkLPl3VgFrqNvEzAfQm7hh7pM84C9g1QpTrdU7pIotl2fdn0E\nUp8xHN5zHLL6FPZVlZDmZqRfSsJ23AYLwKAXNKBXHiiAkT5ERfiJrIkJ+M2+\njKF1\r\n=PceD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"8524df3d3fe98b7ad625c48cb393cd4a59ec1476","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.5+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.5","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.0.3","apollo-server-core":"^3.3.0","apollo-server-types":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.3.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.3.0_1629933283984_0.8592145933192021","host":"s3://npm-registry-packages"}},"3.4.0-alpha.0":{"name":"apollo-server-azure-functions","version":"3.4.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.4.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"5e486a7cf17b843060e659926666927b142bd2cf","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.4.0-alpha.0.tgz","fileCount":18,"integrity":"sha512-I5JtCQG5KrRl+RcvMh4lZnR386TPv3rxd9HOAwbn7DVB4p39XvMqcCcXTFbxR14kSg0O7f7PbKONfuRboX7tbQ==","signatures":[{"sig":"MEUCIQDb/ZrwyYsISZ6sNeyN2aKfbcLCtN2OKE23fh1SOSeyuAIgU8hz9h2OelDSm7Hh/qmqeLLiVdUdCPkPSc0bM5ugfS8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34215},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-azure-functions.svg)](https://badge.fury.io/js/apollo-server-azure-functions)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Azure Functions integration of Apollo Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n\nA full example of how to use `apollo-server-azure-functions` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-azure-functions), including a [full tutorial](https://www.apollographql.com/docs/apollo-server/deployment/azure-functions/).\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"119dac4fbe357661cad7163dfa643b02ab479b96","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.6+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.6","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.1.0-alpha.0","apollo-server-core":"^3.4.0-alpha.0","apollo-server-types":"^3.3.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.4.0-alpha.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.4.0-alpha.0_1633739901773_0.6582053590574126","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"apollo-server-azure-functions","version":"3.4.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.4.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"511ec633a2e7efb377ec9f87af03f920390d2a84","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.4.0.tgz","fileCount":18,"integrity":"sha512-ZtHPllv2EZXkT3OIl0/L+Rk6WvM+nsV9/L1UcDB4pUm1/6/SRAUwxktdbM4e8uNiR/gJS4PYwEqklBs6uig6qQ==","signatures":[{"sig":"MEQCIEiYf1SjKJHCEsqZMtVaV8N+pmBsXhyG81L0Udodr7zJAiBu2tfHooYWRr1/uuj6510Kijhy1FZuH80X9JL6g5vPCg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34175},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"7861ba22c9e4caf037e7a1cec71191b9b0deb71b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.6+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.6","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.1.0","apollo-server-core":"^3.4.0","apollo-server-types":"^3.3.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.4.0"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.4.0_1633985915964_0.37719767414223937","host":"s3://npm-registry-packages"}},"2.25.3":{"name":"apollo-server-azure-functions","version":"2.25.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.25.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"52c74b6b5c9bbfbec32161f2c6640e6628313386","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.25.3.tgz","fileCount":20,"integrity":"sha512-bNdaX4DIsXg6xJfeXxceZgKR80abi4IZCYiYzUhAJQXND2dbQTsBQrtPuplVfuHy4XVAvRhBatxjPdC0pKXxlg==","signatures":[{"sig":"MEUCIH3etSZmetYbZu11EY5CvoEAojTBvueOhj+dj5uGbyMwAiEAsZq7MSc3ReV5CYuAoeT+vKLagtrSEpR11hQwxukCOhc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36213},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=6"},"gitHead":"a725306525a99650af46effb72ae9afe780ed88b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0","apollo-server-core":"^2.25.3","apollo-server-types":"^0.9.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^2.25.3"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.25.3_1636049067454_0.4135817611097927","host":"s3://npm-registry-packages"}},"3.4.1":{"name":"apollo-server-azure-functions","version":"3.4.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.4.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"49fced5ff1fce046bf460a4b2cff23dae05c3ad9","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.4.1.tgz","fileCount":18,"integrity":"sha512-1vUt0p8r3OORUmfqGB0Y6d0HLdn+hqr0OsWQcbHB2LgCWFanR6FQNWZ678jkjgbIj8E2WwYvecS3aSLVrbI0xA==","signatures":[{"sig":"MEYCIQCUQ6ipd4GCsA01BeMx14hw2HAFoNYu9HE6Oczpwi7nSAIhAOFQzd03MVoDtxSPwuGAMTOqElVDrAR0/GYdlKTzYEmy","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34175},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f3fcbfe09957806df06f8de431877dd39d8b97c0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.1.0","apollo-server-core":"^3.4.1","apollo-server-types":"^3.3.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.4.1"},"peerDependencies":{"graphql":"^15.3.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.4.1_1636049198125_0.5328339746760393","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"apollo-server-azure-functions","version":"3.5.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.5.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"54b7a69f537c877941afd78f7d30f92d6211c79d","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.5.0.tgz","fileCount":18,"integrity":"sha512-gpZZBJsYlqqP8n1k+Iw7dcFutDBZ1ioHouHWmBm6WMghBUI65Z1nNatf1sSJQkf8THI5D81K82SCbj8w5PeeAQ==","signatures":[{"sig":"MEQCIB4G4f0TmKOEcUAXMcv2/Eh4BKbDRFuih5o7oyhncdwBAiAbY88T0QjRC5DVE6MDroGwJBz2yehiwoMblsbIo9WSRQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"e6c3cbbf820b3ffff1e7e98d41b3bfc08f99b9b0","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.2.0","apollo-server-core":"^3.5.0","apollo-server-types":"^3.4.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.5.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.5.0_1636134879373_0.8526385748058096","host":"s3://npm-registry-packages"}},"3.6.0-alpha.0":{"name":"apollo-server-azure-functions","version":"3.6.0-alpha.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"a074aef46e07cfdcb06dff2c3a085fa80373f30c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.0-alpha.0.tgz","fileCount":18,"integrity":"sha512-oloFER3khg/fsHkfbaJcRmz5HN+XinLdTuSbxvrWuK3QJ4P+M36FHuOx6IiIqU/Lkno2ngd8IJDhRPxojKHamA==","signatures":[{"sig":"MEUCIQDbUbAcIm7H5hlY1eFC1EbX6EvvDMu2+zL3TT4xdbA0lgIgfBVG2njO3+k5Qxko8uYNFY9ff/49QviTgo5of0YVrvI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhvQfmCRA9TVsSAnZWagAAYvIP/RCmMz29gkU7A9OV2JM/\neCwHhVvagYEKVZ5oo9ws8U9U4ZlLr/woJuAfLnqpucxQXwwQLxrwy/to2oTH\nhGWQvrc7O8FYCavXThszkFpcBNU764lwEg4BzkydtWIyBRBzqk2If8X2OqqL\nVmqYpO6hmzG0eBnDtWEB+wFen3VR8rk2SNTPHzVGyXxrs+KJXYk4Drq4usnB\ndYHa9Tl8VwpBNrFnmFqjf+n+2npcvj90tnAN5kocBfJ35fSuQA8EwKI4vbiO\nUlA4c2JyMSXHEnbblEA9g3xKeXoqUy8PUZPNWz8qh5lCZWaFiClhTpH1r54x\ndTa8BspfQ67IdvtBU6LqggNij48s7aMxRnbw3JVoEmy4E3j8uzGUWxeKeftI\n7ufmU2z2vdcjUudcmr0mQVNKfF5PHkvMFTH8eLJVp4TUm1pDEjQs3GjsEM9Q\nmLO9waiz3BrZv6rCX81by+2qcbmoS5JxiGkrQSwqTlPqyS4CFWjKMAPsIYVX\n2TwCFoFvtdXCOhZROkpm/APu+jJ0C7vt+xNY3zC8U2p+6PSc8LXFrpQP5JYb\nIgKdVtP0v14ntvxsb8aO3POiBsDFRl0HqPyYD9hhsRw1+vMzFFEi677J7Ri0\n1peq6XG6OnIQI2wbqIXQmfv9t9jdJfJsYcSPEzLSF3jC2kX2O0Gdmim/B7g/\nimQd\r\n=kYfE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-azure-functions.svg)](https://badge.fury.io/js/apollo-server-azure-functions)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Azure Functions integration of Apollo Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n\nA full example of how to use `apollo-server-azure-functions` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-azure-functions), including a [full tutorial](https://www.apollographql.com/docs/apollo-server/deployment/azure-functions/).\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"2c352a9e0c5a48b8cfec145bec52cad2f0a73fa4","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.2.0","apollo-server-core":"^3.6.0-alpha.0","apollo-server-types":"^3.5.0-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.6.0-alpha.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.0-alpha.0_1639778278630_0.16948421933427205","host":"s3://npm-registry-packages"}},"3.6.0-alpha.1":{"name":"apollo-server-azure-functions","version":"3.6.0-alpha.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.0-alpha.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"8c64c25d20b95dad2add77318eef5ab698f80d61","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.0-alpha.1.tgz","fileCount":18,"integrity":"sha512-pSB8lLc346DxpwVU24R35/dtlxxD0Un4ghiB1YbqrNKBU1sseEHeMXrSxlHcKWBDxxaIBxFsjqmB8X+BUMpgbQ==","signatures":[{"sig":"MEYCIQCdHN5Ff6dgTIsKWpFFEMG1yiTXanbByzExzvc7RHVKNwIhALMJy1f4G5KsOIy79SJ3f9ps72IhChj6psg4tcyuArO7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34216,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyoBQCRA9TVsSAnZWagAAUxgQAI87JJpOcXXi9LNTpkkr\nHZsu+av96cRXvD9yB7YtxRRSvhttCLHY6wf+LRRaipqcTObcPotjuIeGfjYZ\ncNMxo0B3Ii1vguYIZrpDb+DUOhAnJFQekklOhRSxoR8YcRKLizBf26FThmjF\nvRqAFesVREMYYY0X8L7Uj/5GkYwBBHc0YamhMt1eAaKDCh9b6NMdMlfYhO0f\nebInNyxpO5gOu7NaqnmjG15xVi6GCZ1ZaDT2hzPrf4UHrLrgcqHjJKHGJiGC\nm3rTYACiaPBKj8RrVuYb/7JhhncJGEzmBiyKVO+2fxaC/kmojNmRD0tfltH/\n3nlhResGGwCNOje4HvJ5C4D9KK2ZcquDmz89r+zqGMzp3AXdKhnLhKY5IoG/\nnxrG6PZEjL6xenXjmu4xflZi42DZMIWM0SCrdhv3lp5sWbRd/b9sFWJNvgTK\nbdgKXGVbNC0I+7AYWOPMa8pAhd3oPDD6/WRrtk2CjVsHPlmYQYx1SBYQEssZ\naTTMox3I/E6x6Y7/r8jmTu/4oxg+0wsei2AhIW0bBcKv5klBQhrpS1uFkiW8\nWqSqRUei52y1i8ynkxwX3HDKPbXMkF2yphdmMc3GjO4Ng4atlSeBYXvpx9sD\nkaY6Ko+eaG2unoJt0P7uXYyBFjfmFzWO0tG+s1rHFmNCyWQClOZBYgTnZw0P\nWqbB\r\n=vfp/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"[![npm version](https://badge.fury.io/js/apollo-server-azure-functions.svg)](https://badge.fury.io/js/apollo-server-azure-functions)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Azure Functions integration of Apollo Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n\nA full example of how to use `apollo-server-azure-functions` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-azure-functions), including a [full tutorial](https://www.apollographql.com/docs/apollo-server/deployment/azure-functions/).\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=12.0"},"gitHead":"1361265ba3d573b7e7cac348c81f923ab32fbc6b","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.2.0","apollo-server-core":"^3.6.0-alpha.1","apollo-server-types":"^3.5.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^3.6.0-alpha.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.0-alpha.1_1640661072730_0.8265655594564865","host":"s3://npm-registry-packages"}},"3.6.0":{"name":"apollo-server-azure-functions","version":"3.6.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7ad1903fa3d2072f01ec1313aa52ffa17adfd020","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.0.tgz","fileCount":18,"integrity":"sha512-0HL7Cjhha1Y15UFmvRcoOLj+6UkDyAYXZM+OZI1yzB4fgxVDGUwLhYUQGx+nqNg/Xqh6YxivPySkHIHHU2qGag==","signatures":[{"sig":"MEYCIQCvba/6fUukA8zYV4B7u5sM3TmtaxPc2Ig+cuX/+W601AIhALLDTwRPja42qnLVugw+WDZ2ZukZ/HceYJHyPbZIYXM5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzfmyCRA9TVsSAnZWagAAOyoP/0eG5AdVPczJ1WypWJhc\nni7atZ3OO63HL24Wm0+as4EnLp/ty95peOuCIM3AkBpiBHZVzKWcR5sXlosn\nQVfpAFdldyR0BBrsTnp1d1khiavHgBMUY3x5b+A09uYv4LXTWnbrxB8ZkYIC\nCh/yiNe90/7dvo0HFviAwTf6sPwdiuU/z4xCLSxyZ0QirqTCmRfCyfAimFNG\nnyf6kk0+mKsn9SJ0UT1RHcYh2AZThHTgJf0SJWHufhsUsL0sNFgd/FfwnYaV\n6Vwqprf228ZHAYKSxxS8iEYXy9loBnd2EiXVfj/3B2U1BgWKeEYoTrAF1w3H\n3ZDibyoBDuC4N+LwUyjybgk+zx6vMhGW6qGcskllwlbrcSn6NWf2M7EAAblN\nJI24BzvamvqRSb/L/fHT60TgYT6kNeYFeSc3WuaZAQBw3QIAHEt4CCZRqM4C\nztuRMWrCXmPAsGkW8EeF9kp5QBtxIXP2lCE/c/PtSho3j42+WkG/YtAtJmW7\nKbnG5S4ntJ1oPJuG1sG+JhAraIqLMChrrPDItkpitJQ04RQphDw/9A8py8rf\nUaSUD5o4B9hbdy8o4rIJtO1ezNU6hIhO3hPQUjPGlxX/9MP0b/3G8brPvIbJ\nX3WhI+Zo0DryEQEYTBa2xQLoPumH+5n9wAokmNZp68rkSAonJpG4CDIyQJA5\n0E/D\r\n=fNpX\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"8b2c1360c224d23ff64fa49adbee1e62dbdaa917","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.2.0","apollo-server-core":"^3.6.0","apollo-server-types":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.0_1640888753863_0.6977366589240255","host":"s3://npm-registry-packages"}},"3.6.1":{"name":"apollo-server-azure-functions","version":"3.6.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"db2d0407e41426a961dc1ae8f5b8abf426775300","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.1.tgz","fileCount":18,"integrity":"sha512-ku4PP2q9rGSQlyp4IBEzJp5eZ4UEVrkdoi4N8gDZdnQeP4/YILrSnIm4cVwLqZxX7PfkoIi1wzIL6fUevx6hCg==","signatures":[{"sig":"MEYCIQDXT5QK6g/afwCBdn/ErYbBQLfksknRhKI+gwbJlRH7LwIhAMmUVJwVmSHpIcUTlfEEs8+GEuRRoR5DvtyDyw2zcev1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzyh7CRA9TVsSAnZWagAAuSAP/2fJnngbNTit447DqlCk\nVL9FPvmH5ksI9iwA0u+vtMwwPOU31W5cupfAQ5RtSlIZlbEfZKoCZJC/HMS0\n5TlqwBSon8PyqlF2ucRiMo2bMuNAMZgg2O7nreCX8gSHAP5VckvHYgyYCoKF\nPs8VHILMvapV9VR61xQObaLwY6qeFiKHp1OvfUQ5UvUQeaT2ijzOb3bCEO59\nKrNRefZoRIbUZ8TRGsCcsQZv8jXHHe2OaiTOiN9sZlc3Y71qEOLXJ+gwA5Dr\nCyQbPQE6wrVIC4055DTyOdcIqEsUmBoX7ZJ6flM3BZ7CDw2BHORNNSX+D5fw\nttAvsNgNZqjPtPmdeEJmf+s5LKeCo3cclDRTVb7nOKMuRjYKyN3AeRB3dRcD\na2AHQoO1Al6Nzhc2iZS27CdfcOWR0mThwnEoTMB1pOQXwdSwn4dSzLe4uCvb\n/rz9aqXjJ622lj8Kp+IXIv5ozhCauCS07A4Aer/TDdoZ6+WIuLMJbY4RtEPe\nln/PwCzTSwn9W4ZKRwH7igmL3hrLc+9UrKpn8Il4p4AZsOqxKQwLiEiGkxkX\nHLaK1shVJKLpu2AhKJYdaQC1lOZ/0TRzBe4k8wqxTOUCrrVwYV0WL7UWVf+S\nAY8wFObDcPDmvb8QP5cmAjMGuNFY0EYqTyMSJqrcqnHTh7BDQ8GJ61c7Kile\nkEIg\r\n=agYs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f3fc7d147a3bc3446f4f3452acfa5f598099b08f","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"@azure/functions":"1.2.3","apollo-server-env":"^4.2.0","apollo-server-core":"^3.6.1","apollo-server-types":"^3.5.0"},"_hasShrinkwrap":false,"devDependencies":{"apollo-server-integration-testsuite":"^3.6.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.1_1640966267390_0.2145907771858171","host":"s3://npm-registry-packages"}},"3.6.2":{"name":"apollo-server-azure-functions","version":"3.6.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"439408bbdbeb404bc45c0f8272b3649b0324d838","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.2.tgz","fileCount":18,"integrity":"sha512-ZUbvgouL2XYXJ8e6VQyKM3FrBymGAgZI/xtHKPOiXTVEeiT7L100ZqzfJnVFUH7Alykyfe1FjL0WdlmB5LnbKA==","signatures":[{"sig":"MEQCIDNVZG/WuAjSlHBBqpPSbwkUrCFfu0dVt84ovb2T+tw7AiAulK6IvlpsR7eZ7HzKdv8ZMuWDjliFckyqWGFQdXckIA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5yy0CRA9TVsSAnZWagAAe+UQAJ/3HT4IWPD8luY7QgV3\nP/rfTc2AXnBvpuDzeM42zWtXkXq9PhShNWN8yMmVyOMDgcQf/kZLHR/n4F+v\noLMPrLP2LP9IXbyu3XPRQtgqxE/Jw1ZUaBgVkinewe+FKb62BhV+Nd1d3z1t\nkbwBh1g5pgC+bMogp4McOpr6Uqw++7FZgh/15FsbguOH1g77+L202raPrNP1\nVr3F791GhBqWz9m2UIKjqwCWVDgjabe6lv6s60XMWy9s6jAuXZoqa2pjTNQx\nYOEuhmwdcz38kk0VMc2ynW/ydaTQpD2JOhBV5I95IiOnb/z3qXeDseeD4n19\nSMum3NmyVA/w4+SM19WmQVgaQMDt8QsA5v7aC6DycYrdTD4Wn3xn/+djcV+u\nboeUzKiWfWz3LnlNbFg1SxZzE6wRlB3/v5Cyo590mVY5TUAfKJdHVdZ6AOkJ\nitrFiuXvULJWe0KM1NmoeUMeElJheygTifiooATwISbncPYSLkyI7M1+SExX\n8TyKD7F883SeZgdU/xbgVCmSsM+uzuQAqv4HSaKOQ2VSOK2wRscqdIzfhudH\nxcnfZcXo2M61aJzAqmLix5j5gK+kha5EHAlPelWLQiuEr8hiyyjl8+Z+q+kX\n8Vj99tkHQSKcHmK0gQ/4zvMwhcCwtr124XGuZ+M+dpvSGU/mruLuoT4PTc5L\nx/Fz\r\n=aRYj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"022184a4d01d4452ebbcfeeef6e8ee1aae7a5db7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.6.2","apollo-server-types":"^3.5.1"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.0.0","apollo-server-integration-testsuite":"^3.6.2"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.2_1642540211834_0.8511906175546038","host":"s3://npm-registry-packages"}},"3.6.3":{"name":"apollo-server-azure-functions","version":"3.6.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"deb46ad70d7274cf08019661dcb2472ee5fbc4a7","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.3.tgz","fileCount":18,"integrity":"sha512-oETWVwlyZ7Gg7rGOLx+OfSeMAbTjbxMCh+H7jskHdIL4WiQ4hKPQrhorSKytYqWLquAE7Lt2ADyP5K0tT0O8Sg==","signatures":[{"sig":"MEYCIQDz+bCm+IsarMCAkJ14puWgsYQKo2yPSO+FoFyFKsuY2QIhAKMPefZjP6+actoXO8A2UhQSOEwgkw0QIqKNa5GS212v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAsFQCRA9TVsSAnZWagAAPGIP/2gSm3BETg4MtMVuwC5Y\nZXTJM3NJfnH0tkqu55kqMe4yGBkb5J/Q6e3U2xDPrLL2UDRm52ay9NOUNd/G\nHrodsWVl9Vfx1sITVIAX0oYXT5l4pZGk7h9T9UxhoRnAAbFf0yG7rHo8Ojl6\nrrKidLe8y5Wyscz6SDp2nC/HQWPRRx7jJSNcgbe1Mhk5NMdaOikWczISsJ1B\nLh8vLknWwrPgJii6xAKBtYOkqeFQ2xFcpMShNj0l8EVPRscDq+NUTUfmlULP\nktf2KIPLe1UplRrH0eF5ZrMSuvln23Zf2DD+qZ9bFQVMik9M7+suk/w5i3mx\nouvDQwNmSVSfDRjCld38GiH77mk6tZmYRkGweYvJUHQbWdJds1uCjd8+tKbB\nsxGKkf2aAzJ9/oz71PV9Leiq0HIlY+6hEB0N1xYNd9ah9JPhP0Zw5hJ3EN71\njENDaiv3suJY+CdEwSwyyoVlWoLNCl8nwg9X+i3hKyrAVemvMXUDPEjQ5qn7\nHM/DJO0L/H88Bq4ePqMG7uC9o8hhr6CQBqvYntEztftL26bYDJOJsRa1IrV6\nMmxVpne/qAnHYLDcHBB/IC4pTw3Tii2nwefOlNOUZgQrEkpExEeSKYMcwEIV\njudW7/6N8CsruQXCJuSMm3a7gJqYaTrovci31I7/o0ZNVlCHcizQl4PAJqkx\nW/c7\r\n=KEfn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"289acad0e3777bd0010506763c3fd6e4c0289813","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.6.3","apollo-server-types":"^3.5.1"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.0.0","apollo-server-integration-testsuite":"^3.6.3"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.3_1644347728687_0.5908420013815496","host":"s3://npm-registry-packages"}},"3.6.4":{"name":"apollo-server-azure-functions","version":"3.6.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"458bc465ba6758a8c58e6485f17e51f0bec92c05","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.4.tgz","fileCount":18,"integrity":"sha512-PMK1aMOovrOqGaChfYZBcHOK6vgr95h7FEqrLoj+4fwcGqc9TwP7EwwI9FkC9rlTQPKOh108WT/XrGPjwghjmw==","signatures":[{"sig":"MEQCIHkxt90ySjnKzUhOr2ZfnF/dNRq6ub4yIXR0BXlbb92rAiAFl61qVBWLFhONZ4P24x/BcwAYOF5u2KX0WCfjFgWAcw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKkiWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpLw//R6zWUvCU2QLOU4Og5nLB2ALB2X3yA1bvk/2iYjWyrwNmGPiB\r\nY+FnxR5pUckOUeUa3sCEHBxWIjPIJZO6ee6r4QeONW9oRodfX0tQpVO8A7mb\r\nUX8KbtMQyGGAOQZKQnD1sPo4/uJ1voMqdixntMBRwdYLb+92d/ZjgeDHt5ET\r\nzd+2+RA36PxTCxMWfk4Mj0iwJZYt1+DtSCwe8zocGwYeKo89KWrwiUW4rjA1\r\nwugtU0hjtVOivpUTi6kI1skC5ucZlHWe4uLV4u0R/r2MF7fkp3p8zroqAXny\r\nnnu4d1gotO9l3BiewTuOx+DVMambKx2VgjH/mHG3CazakWk1Mj5sf34r8/ya\r\ntrFMH0dV3BGAQVGXzOAp75GT0aTklrH/sI2dNe+GPeJjse8c1oOc12PxAePP\r\nLw6HH9UFH/20HfnriPwZLTPYIdWAwmDKUCZAteJ3DuNxyrfNu4/FeHXMVHli\r\npWpb/iatgKR3+N1+og8syVIdzcNyE9ftAW6/Vv/ASeKjieVK5YAmySbP7BSD\r\nQ/poI1WmisKoH3g+aUstzAjG6Twi4QH+JiUSOr6oiw/tC0drfA7dUgiVCq5g\r\nMtfXioAFgul5G82RS25NzidS6GHi8v1OnjfmFrES4EUP1Xzo9k+8FGs+v/WH\r\nUXJ9ORIknSK+PTL6Odot/cfjkegno1YBm3s=\r\n=V4Bv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"dfa9fef87b75513ff32391fb6d8dea4bf5c7d889","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.6.4","apollo-server-types":"^3.5.1"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.0.0","apollo-server-integration-testsuite":"^3.6.4"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.4_1646938262068_0.9228417576676278","host":"s3://npm-registry-packages"}},"3.6.5":{"name":"apollo-server-azure-functions","version":"3.6.5","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.5","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"61e90c9e3dcfb97aa846efa4d6d00f59bfc06582","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.5.tgz","fileCount":18,"integrity":"sha512-8bMmvg5uDXvfrOuNNNu9yzw/HbMATPYfdXMuoZmU2DD/PaEJJHGifIzIDayaUrlnL3v3EanCyB+2xyeqzMCvQA==","signatures":[{"sig":"MEYCIQCplJgN6JlNzTfkly5bUDRw2uRcmWCCGUD9bLoJNQK72AIhANRJGXGgWkIPzQLXn+Mbuqu3IT2onJJO5tVQtYU2XRl4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiOM6RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpeMw//VQZkg9/ysuWe2GIL+hkJ9bFhmPjrOB26MGG0iTAX5hWjOT0D\r\ncV6HWTPYPuA5ZvaL2DU9KiSQn1lmD92BEDUOiPu7oKgYGRrrNUsRlyMskJRv\r\nMB4rUCdeaeD9KOFiCC77GwkCwDDK0kxTpXbpmPCZEp1M3DqAeXzHOPI3mTP5\r\nRHNVjDELvMPgbJdCbWgXu7PPlzliO5yDjuKpLnvDdbDzpGDTvUdwm8F1SlCy\r\nEDiBa+u5i6M98pTZUuthmVv/2w40x7kjahRHsHge0TF0NWrlrO64cHXEgufP\r\nRVuGJEzUmJD9SAsvBgJlxkC6c35vbhYg6q0TslBQUcZx8B5Wy5U7XzZnF8NA\r\nngQZypj3m9QD3lQGJ8fZYgBlEjWuTEbh1Mw7lTOBits9etkSJpNe04a5wPEO\r\nZu0tP7jKm1PZHtIMMh/+0XX7Gi4Hy8UnUDoQd+l59GRc8S5Nbol2geoQ0X+c\r\nX94i5mA/Wl54+tCVdCYRQf5TOKROrZO4E+jc5gXbYvc0Um6ImiM/24++L24G\r\n9B9Ahr+pdP1fBSTVVFr0VPTRPUi4nnWYxuPlQzfFer6clNMOLLiCz7ztKkvN\r\nGlhqtzrWlZFUOG7DeoVupCBr9yvG5UvD4v08d2blBPvgb98zoTqBDkN9MWIG\r\n1DtiisCnND6AieqR0Bs5gOST5GpeFY0GysE=\r\n=1xCz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"c3deb0d980dbf983028aa99b7d2b1cc6968de432","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.6.5","apollo-server-types":"^3.5.2"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.0.0","apollo-server-integration-testsuite":"^3.6.5"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.5_1647890065562_0.45379304054008496","host":"s3://npm-registry-packages"}},"3.6.6":{"name":"apollo-server-azure-functions","version":"3.6.6","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.6","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1730d33712dff97de8adb313e33c554550f248ee","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.6.tgz","fileCount":18,"integrity":"sha512-cHptKMxTg1cgIIZsZPwDgDL48D2Z3IrbtNEVUt3YN4BsS0/FEx9C5GnnEFygtoIwkDjXEkZXiirZH+UcjRi9HQ==","signatures":[{"sig":"MEYCIQDOQ9zAQpoP0bORuZMwvN9BmAP0vU8JaTvNLZ318HSELgIhAM1yHvb5K13SFJL2m6l+4BvQmWfHA6v0+q9kLBDpQ1Zn","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPNKWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqxAw/+PePCpr2L7rGR1sfWItC4UoV1eLR08KA+LS5zV6GMHm91Q+D5\r\nkcLcSZKFjnJMhpCZ02QGdeiSkXt+HPzFfw0U/zNkZyj0CIRmk7IoCHTQKDHn\r\nT/sHIExnVg6jM4VOv7hGqG2D5zaj6V6fUYc2BIDVnPHU3l6AUfj27UiUoPTj\r\nSE8NZhQMaA2oBuRomlEUhn/1igcQp5vXoeJRmlfciiCXgupyg/yyvKoJUT9l\r\nwTvATu6VZII4Y8CoL+ZZ7+wt5175WRydvrvu12a8uDEUZ0GS6twLHF82wfsi\r\n8e9wopHKPHxjLRRK2i1EBS5HZYBTXeb6UpbnfLxz9KFO1aEpgb4Ff2iAf+K5\r\nrDK75a9Q5S7QqVcRqZppxYZ2vJXYbOCIesC3lXCAbusUrbSEBh41wQb3P1xg\r\n547qat+OH0Oj+/+WlkcmP7tPHp3q8HKpqrr0SvGZPkFVp2KmioMsyIpCZbgw\r\n5iQSsOTgbImqtHMNsgiTXWYGQtHuZ3grYOtzDAh9lgZnOaaVy5evRatmBoZ7\r\nmTCv9VEn6WXCTHmokvsSLXr7JzCyt0mE5DMOBXVfOE/ZkZOC4ZeMAH+p/fHV\r\ngQQIsq3Dkvzge8psqy+VgKQeM0JRqsRHjQgOckSLfRr4Gl/YMqCOC4ETpzdr\r\nghrI9JyygupsglC0pDuHCWB1aYxORhmoO5w=\r\n=C7XW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"1ca36691959aa3e34448fe9838010ccbfc025755","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.6.6","apollo-server-types":"^3.5.2"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.0.0","apollo-server-integration-testsuite":"^3.6.6"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.6_1648153238179_0.8650032547407318","host":"s3://npm-registry-packages"}},"3.6.7":{"name":"apollo-server-azure-functions","version":"3.6.7","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.7","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"98445646e70726b000e94b9accd1d543b84c667c","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.7.tgz","fileCount":18,"integrity":"sha512-LewoXM2HyBLTA9/VZACXwuNZDNiFeAC8g0cPo3PP8n5kLN0cruoXsNv92ulEkR/15beR8Ji+2o7mnVXgyS61gA==","signatures":[{"sig":"MEUCIBQluSmd2DYGpjFMvyvSvTvU9qDIVDXJ/Yj3V6DWJbPVAiEAiTagH49STRca7kfe/OydrqiC0AQqYYJWBgxTVBRgRjA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQ5wwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoofg/7B7rGo+bkBpIQ12W4XUCehmQufEQCEC4gtJRrVIIhTp7f2ORn\r\nWhqCJQ2mObHYVVVWUeIRkcRwcILA5eSfz4tQMKM0KglnW6zthuFN/vTN8Qkc\r\nqfLC60A0YUmioIHlYD0/VAuKmIVygkbB7975m7BkvtkvyaexInN5r/PBwYcO\r\nH9tyxNnmQoAyq5FDVbuGe16PCN1Typ0MSiK9bHkicneMB18a/J+55njG3r87\r\niSJca2abuu4zKY/b1X1HAOYqa0Yvxku/5WYlWkTGlEpG6jwNWAG09rTS2HNq\r\nzO5CBmODq58u0TLlZ1DkamAWN8KXnE4DZ6k9SFSs17H0ELXjC/gqlTCwP7FP\r\n7qiEM7I6gzZzPzVFGZoHlSdsyCGLOCTVwQsxP+CY/ftxnxvjWz79SaWQX/ed\r\nvvhULGPy4meDxoKO4U2l+HkgQG/HjmdobRggqYatIkKLBr4GRV0P+jXsI2HB\r\n9ybLX2pmDceuhknVeZk/1suEsJcVhJ6cTfiS5OAeZeOHvH/CtZ0VPDRqbRD+\r\nolEV2YZ/qd8VRAngLkHDuvaMxjF4UX0ySfqIBBPOTOEZCrXzaEov2LHhNZvJ\r\ngPQLUpUXEkztY0uqmBTKzyyCmlQRRzwfRwaLP+XR1+eIC4AbGzAAUwmzIyQV\r\noNgBehnqfDFkM/beu/Rc9BuaWlKCpVjUR5A=\r\n=pN4G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"7678672824691c1af87a982492b45a473f35d4b1","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.6.7","apollo-server-types":"^3.5.2"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.0.0","apollo-server-integration-testsuite":"^3.6.7"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.7_1648598064019_0.20517154423448436","host":"s3://npm-registry-packages"}},"3.6.8":{"name":"apollo-server-azure-functions","version":"3.6.8","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.6.8","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"57a225813bd5f97a5a81fc346ee2dda455557275","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.6.8.tgz","fileCount":18,"integrity":"sha512-xqz04SZNH6J95R+tG/0d/4Ea4fpH8CvQUNO8BDb1T0uzwH50nbhoJ/FvObFm21XgpkkXfzJZLow4ke296OIwNg==","signatures":[{"sig":"MEYCIQDFJ9dzeT8x0wJvrz2D41qpsBr3h7niYjeZAinZBO2xFgIhAJbxgqxhS8FDEvMYRUdZODRouo8Phh0BE4rqFKXNR6lJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34184,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJic/LNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkNg/+PW7Bud5FJbdZE8ZgiA3x7yBMgbfJYPOGucao/cbAVtzrzHRz\r\n1PvTjc1Re88/IOIm6RAgjYTCBI5pcPDtS7ykAh4HK1zJnfQ9fWSr+UEl0Mqd\r\nP5qdG/KqnZBmiaEY8q9FwvpCed1TdwkJrfKl5Hkj1c6h+ojNavHYUYpLC9oS\r\nnWTmKNMuuZSozStHDYBwbrz8cLfNWXMYQol6gCMPOwpAIsA7b/Ndlftr/0O/\r\nU/TcJiBwTV74YmeEqZ/RLJOwFwHRmVQ1pZepTpq6t2KUSAYSFXm7fUrJXLvu\r\nig/rySMEA7j1GlwP6ZAfwPxY4Uiww4rqWQFOdbsZsJW1KGMpmX3b3bQ0AyFR\r\nxzqsTHVvkGCRP3CGr171E+dTuyUAN7f1MPJpynyfPejIvdARBy290A/nOGR+\r\njQUnl1WkbNlaNvjMi1BSf88LJ0dcPHiUS3LhlpKzQJ581kaBH2y8W0nEWo8u\r\nreKxsbUBwp+Awn12nygW3IeO/Z4/k0+L/k6fmJRiWM58WJN+1yuOMxdpzS+H\r\ndRzPdaq5vwai5MIoZs2uiFD5nGVNYx7XqVwrNzXJKAY24FAWkl9u6I7k+EQa\r\nqpzEb2flhPB2q51cEJEUdXoX6T5j40LcshCTBdywhfsa0yt0fe30k/FZdd2o\r\nU6XVk6Vn7ybNFwx5XLSVKULx3SADz/MZxcA=\r\n=h1JQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"c4a3f346533885df825297853610c1367fa984de","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.6.8","apollo-server-types":"^3.5.3"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.0.0","apollo-server-integration-testsuite":"^3.6.8"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.6.8_1651765964990_0.1728424028427158","host":"s3://npm-registry-packages"}},"3.7.0":{"name":"apollo-server-azure-functions","version":"3.7.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.7.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b431d74bc393c33313a03178e03250364f8065db","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.7.0.tgz","fileCount":18,"integrity":"sha512-bA1qbW2JmulT7KagtB8tw1FIZoGligcvs0/MGTHGl08X36xMwFkjGy1ux5HpEag5wAK9cffCkBVVWcdS7aGKIw==","signatures":[{"sig":"MEUCIBfsQHhJ1yFO5gd1DDRX5wcwLqgsuvnFSOUSryCre+n6AiEAlWDwc2qxu0yEDTpz3gWnIrRclRHliMemfpBX1HyiQKE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidACdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1DhAAheZKS634fbiod5TP/N8sbqkY/VJupxwNIeslnceVJEFVN91R\r\nb2uD/7C0baYoU9ca/YnDlrsNwiZ/KEWfJ/nfwfOn4eeF7bZykMkUbL7Yhwwk\r\nrgF1MiQDP4Pjjn/55JOa4fFsV7xP1K1g19RYPQJe6XmJA1kZEv3NYexwzSTv\r\ntERcOK1fEEklRiKQRZfNHLEZa7gKYWoszVtJiP2urLyXkX4pivT6B6O4kfD+\r\npyGsuHKzIfQ/PkoArU0R/34nddxse5SjMRduWLoBUFoHDzNJklkVHfeO7LvP\r\nFNVp3iiQTlS9K1xta5ARgh99sHpr3eOgNvKXBBkv3J4vX7TToxu/KHNu6RqB\r\neoz3RE08rHR7UQl7/f2I+IFXZE9VwgLYNNnlsIvbftY+nAF7MVh+bZOiW747\r\nFMhfvLiT/7rwEZBR/oMXRo/6Jg1bMx8+PswOSIRzPOJczPkjQgCPcNhUjn6G\r\nMFG9fcMS3T059JjIfQU0btWnCW45kBUA/haJkb/LDjVjMP29CYCd3a8JTl/J\r\n/ibB+nYGTzY/AkrjheEWoiFPp5xQNO0jC9+yVCd7/4zfUg9Vikup0v/RJ/7J\r\nNK2tdvgjlbdCXRdqQ7TND3SlGTGMM0tXnmkNiiUOBD9lNLa66y3dMc3BjTEk\r\nVo4ni6IUDlv0mgXxRkuFLbpo56Mhbm1rCfo=\r\n=PxMr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"58afc1a0e6660aa192b41483048cd75021be5cf7","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.7.0","apollo-server-types":"^3.5.3"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.0.0","apollo-server-integration-testsuite":"^3.7.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.7.0_1651769500868_0.9450446159426804","host":"s3://npm-registry-packages"}},"3.8.0":{"name":"apollo-server-azure-functions","version":"3.8.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.8.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"501083848538273aff697e87ff934981cf1012ae","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.8.0.tgz","fileCount":18,"integrity":"sha512-O1Pcj8nhOfxp8EyV+0d5ymcUpeMV+uz1ExdPwhKwOwuTOWAsuKfYFla2QRW2XeA/hnGu+plOclp8jlnKjOR8LQ==","signatures":[{"sig":"MEUCIQCaK1VhhlslMVXwXgfSSx5LgUs2LFKiUd4wwF+Jzbkz7wIgOaSgCbdALORq3LNA0n01YwN/NymxwvjFgSgJiViZwk8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijB+5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohpQ//TdN+1Jk8b2YvryK/+Qk0ob8UzsjIdhulLGIs4wxLdU4bMPIu\r\n1p6iUsVzpkpzdfU5jlU1xM/iprYPBzlvlXAIFVBELKiXdDP9AVCesIuJsQRi\r\nsiq0oP3hv9TnpMfdBvkwqOdnLuZYJHyHJDzFqdveNimjS7NruOUQd2CJ3fog\r\nLt/lrQ2TS8AZ0Ce+eymmQh/cdll+VAmYkER/WA3VnhTlkvWuvMzbeObVPeR7\r\nweW0KaJsbqPZgOGQJUHvu1OhwAet48INWOzGivF9tZ2uWgjkOytARnOS9BG9\r\ndZQ/E3xvsN38kuBv9X/Wa8NczeCWWKOtf+nqjGYndpC2EebsCpVzk1r0JEgT\r\n1NFowsBR+01fstOXf6b5BwYrgUzBCSgSYGg/Kc0QZver7/4yFaER/UQHUQxs\r\nLxCURfONoitV67V1+Kc6HgqRLoE4GAJt3KLhpBf5aBqyLadkT3Llgy/MH7pF\r\nLSN7pyuux8CVLbV16YhAqAkAz2DsxpFmSyc5YUX2yFT/fglzxMF36a3xjMu6\r\nBeDRC7pPzcEjo6I+FkKZUGE2eiTBEZSudvH953/STeX75ovQzUACA5nDHqFb\r\nVXCEqQ20R6L3KiFVbWxLndKWCEEomK0qDBoqvvLCDBqu3r/7ONw1EU8x9vpr\r\nDg0BIdym41VTdZP5xe/YtVm+wskJ5D4q/cI=\r\n=Ml3G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"c072d9f9a32ee67f4fd8f717cbbff6fe59a3be4e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.8.0","apollo-server-types":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.0.0","apollo-server-integration-testsuite":"^3.8.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.8.0_1653350328969_0.1356160373150761","host":"s3://npm-registry-packages"}},"3.8.1":{"name":"apollo-server-azure-functions","version":"3.8.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.8.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"dc73be0c1df976ed2d139508e2183a9366992b0b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.8.1.tgz","fileCount":18,"integrity":"sha512-yThBAwCbbBzvYSFO3HLnpSN15awg+1WvH6H+z/qubXUFpPle9vI1hUWdRnitonPeRHUs1YZQuimOhy1BYLTbkw==","signatures":[{"sig":"MEUCIEj2A6mRrFcOu8PJ7e5pyQOYd0Y0CTv4Jbi/UagRli0KAiEAoVF+HBUpu142S2CAcQuMWND7LwpeQonQ3kJT2vX/0n4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijFsPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrImg//Y85Or3bt0hIdAlS/LlgSEKPY3xjgUPQmDFYk2iKHfjBDskpx\r\nS/CSMul10UcNOg920+20bbbcdE+0hSybtH9B+quhU0sC2BILo1PbXQmKQDAP\r\nMr8cYG7ePQIypZxY1xi39kH1afHm9Yvvamh/X+oV5KjaNWXAja+vVYclMBPT\r\nXR6jQ4bRoJDvb+9Tx6FHRC/h+7CO2cJTrvT034dAwmsVNiRoSmHwrCiULh24\r\nowsFvOQ+Xi0I9e8AAzPMntUMfhlIqbIM4btH4f0jOB3JPlazfa4kwa1ksznF\r\nXOFZcCJJopwYJXrkWHJPngs9EWrabtbVwSFsEjoRKPbGHVRcFx9lDFpf/L/X\r\n0DZ7VM+umXvmjgwSi5s9wg3c72ZuFMfTD1kHHQN83Crx4h1cx0oJAXBAt1mH\r\n8852lCNs8h4WIzK0XNJclHIa9IYlTJUZ4JQGL9NRNl13UlLFPdPur16AtShr\r\nSEMaGjNuLpDWt/Fj56WlLxEjh88nLdz261J5VbB7rK6XGRkrJ8rzHa04G29S\r\nq6h85SJf9Nbc0nbfD2O7CVEM/FBPVzVAMW4k7Hr59YTDnDTmeimnWDOJOlOg\r\nRsT4yYulFOMhmv3wsIWAcZaFZdfD0CgHVV63sNXxrUda/isdwiXvt9EwEfnX\r\nAV9kiHcflZFWZ6LzK1T/vZ9niuK6s3E96fE=\r\n=1BII\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"ddeb84e4035f00eb5b293b3c6ae54762fc465f93","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.8.1","apollo-server-types":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.8.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.8.1_1653365519747_0.03491473116615618","host":"s3://npm-registry-packages"}},"2.25.4":{"name":"apollo-server-azure-functions","version":"2.25.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.25.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"b1fecccb0b698b12ab701d16976369638e57f67a","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.25.4.tgz","fileCount":20,"integrity":"sha512-Km4AI7Lrfiwt+lwAO87YZH2Q9yAmlQRqKadc4Hk1JN/cqRaZO7TQCxxond0d8jdZCI/ZOCiiKBugbWG7gXHeEQ==","signatures":[{"sig":"MEUCIE1HxzXU/6+nwXxxnxN2Q9x40rPu2N0PCNtUwfnHmfU9AiEAvzweycqXtC/fLZEw76mAu7+C31Lwdw1vRlrz1mVlFgg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijmdJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq1mQ//Uhv+eKr2Lzs0f95ejnhOSDXKlps7TT2rZ8fyuJQaWUNnzhWG\r\nSwEugqnLHoZkdo4ySNWSYk/OP3R3lVQf3LZM81qmO+ykaYI7F4bcfdtxIX8p\r\nkwuffPRlIhxb2aovuFz7h8TFEyIJmyW/gH88XTiX7pLY2fbQBEngvDUYzp9i\r\n2EUd+5un2iiaAHewR4ptFPFbIYHfn43zqHhUG1L8dClU+vnxxjtS8ay0xQlQ\r\nrk0HBJZjKa0A1LU2K7Hdp0IIfQd0a7AUfa2+nPUHH53WrYcj1/yAPyK4gKT1\r\n2aqx96sMNe0MykPIme/4Pe2zy6ruqVxIHfeivZDrKu6iCpO+Q1/9+ny0dZ6F\r\nxIPtUNQgR5TQJRGqIptsMU1H2itJdUXEuYQCpqDvLX/yxHjjWsbXuOuaN/lX\r\n97xUomlsz0KLgapqJrM/PVUiYQOkKfULe/TAKeFnVIg2OHip6Tqoxkrt7gmc\r\nkBSyWGJ4lclay1vC3OjrokUPUfvhklumpX5IRu7A9RoDdylY8xGw7uwIIk7C\r\nZmLf1cKfp850SB6R6HbMhOHf7o5jm9QpNkDRnkyD1ZvDRqutU4yYPBPZjOV4\r\nVfiUcNsImHyZGGGfpDxSQ1G04h9f/obp4KGCSkiZWYzLl4aAR6Vd+MtQ8Iq/\r\npVWOuFeUCkbD0V2WedcPH/Vn4GnUvLLD6Ws=\r\n=SdP/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"ae444b2916deb2fa37dbd8fa091201235dc2ec6d","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.1.0","apollo-server-core":"^2.25.4","apollo-server-types":"^0.9.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.25.4"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.25.4_1653499721011_0.40396701226440923","host":"s3://npm-registry-packages"}},"3.8.2":{"name":"apollo-server-azure-functions","version":"3.8.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.8.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"587b0f51d5202efd6e723059607f972f89eda0ed","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.8.2.tgz","fileCount":18,"integrity":"sha512-FttLd+ZrbLvTcEHaOfs8iDoEc/IMy7hpSL4UBG8mGaQ8QxgxKEIRgYtJXwYJF1OWVcMog2n5YX9DuUM/H5nn5Q==","signatures":[{"sig":"MEYCIQD91VJ1RPaql8llfTNREP8+Fhtmir7p3wg9a0zfJlXD9QIhAJLYtC/F2azLt1n2ocUWlF8XsHdO2hryVX2kavS3EW2v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJimq2rACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIFRAAgXQD+u9If431lI0r2vftsFi6dbG2OA3IQlbjGQVDkypSpGty\r\nVhrBgxc/LFeahuPaX0OfjJkdVeaL+0hogazdReJJnxuJaAefS/8VClpzZ3k7\r\nSTVl8VNCxNr7u2YYBrNcSbz7pnoo2CT3uwtqU3Lyda2LacAqWxXNmm2FRj7g\r\noMAyG8H6fn5h8G0oAvH8I2R1Y5TX2eeBUpGmHIu2jjc6UM9Et7IOPbk+RJYj\r\n2Xh4eXdDxquSvgjcUV8gK+sm2T0HPOl2mfIe1PSAd79AptmbSm9nkI4qrcuW\r\n/bwUT04L55cvKxdWHqLYCuOORyvvQquYvJMmsnXkDBc5qFaDAckSj55tZ7bY\r\ncbpA9c01jdxt4c5jQVpC8SQVWAg+uOVOrMvL4E5IZXg1MarvTmkeHQ19mlYr\r\nDWpSrBa4W6DBWxa5jfLLX0mpH2GcHm5ke9nvVpiBz8QIxdKHuuj7oSfSkArK\r\nhkFMu7cxZLy2Bn5Hrs2Pa+GFxTp2IgLlZJyejTJnbyLXWkostoviLyemn+hf\r\n1Ge3U5l7Z7VVTD6Skx9/rHkUyMXvKft7Qvu6k49u7hJw8CYbgH6eOhezCgHt\r\n5nGhuQzR7/EYVbn6WNkdfUqMDQCGCMLUjWFa+0WGvVirRuHtmYG/+2PmkZ7h\r\nENAZciJAhsEgBJVafjRHbjMpFMRtBLi71us=\r\n=SjJt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"0b4e9349da13459cf279378cb311dcab4e3a7556","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.8.2","apollo-server-types":"^3.6.0"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.8.2"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.8.2_1654304171571_0.3245012355335666","host":"s3://npm-registry-packages"}},"3.9.0":{"name":"apollo-server-azure-functions","version":"3.9.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.9.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"fa551b11bbc16b5f3615239c93eb4fcd86a3e4ca","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.9.0.tgz","fileCount":18,"integrity":"sha512-QWKJhR887KV2Mtv8v4l8ywknBZXIer2fxRxmzNloV298rdb3MMi+mz+ciZgAVvOOQ+CQzwn773aXYOhPzyi2UQ==","signatures":[{"sig":"MEYCIQDYzEW3NNuYWORonRJECJH8v7dtL2BBUJG0MaFSTjXekgIhAJ39EKA7PATPX8mgxQxZ/wud0iiZCyUSXKNTPAprsKsj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqg7oACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpt8w/+PR9yrTWENYoZ0FSU5Xi0EjohxKUjlxwrW0aMH6s0wB0tHYlI\r\nBty+Tw/Vuv4oSHdUxgt6TQw0sdIOMjNfk+COLpBfm3XPyPLcKmpDgUnBAUgm\r\n2tFG1z8xCgIbXVlWcE2llunQu15Uf/rxznjup4xz2XkwNg8zirfUmh/Hli9N\r\nh//bG/ZMAV8VH1SuB5XTmLZYK91y1iGy1hzqb7CcaQr2Df40qdtl88sG3CT4\r\n0uPQg3tE9LhK5uvhhz5I72+X1S/aicJNhdnH+rW+9zQxwqrWWcNzZ5uA7ZMn\r\nlD1SNX8+OOzx/LCMW0bta4eS22xC7U8ujjO3d+QIvensHL6PtATN6GroMC8T\r\nv8TwCPWYB9GuG+ggtHLURi0HSNKfOq6cECpBW8mAGoM+E/pTUMA/fYQNL9ys\r\nR6crh8Ek6n5CswVf0HJh0DOCmoPu7m5eqpkNwu+a0sn5/l4suc5u88u2euro\r\nuHlmhpXnhPN7BmEG0cIJzU0BhqIc4W5URPvI6TBjAq9JxKPUsVeRfd5cZ8MG\r\nLjQiAYXEpwNSWSkHu3fjmCx7LioxpDLjPah2+UEuR6jh4b4PMhO1NLoFbkUA\r\nJmTdcT4rRkbmJF6Dtny9VwQQj9JpQXRd49i96XPpVDU9w8ZYKJy18nW6pGz+\r\nAR4Sg9uvQgAworZzQ9LRYOpdSPjh6DmEWq8=\r\n=Tr37\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"36ecbb116cef0b8b62b3ee3b557c4db8c975a406","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.9.0","apollo-server-types":"^3.6.1"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.9.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.9.0_1655312104479_0.9941742705272318","host":"s3://npm-registry-packages"}},"3.10.0":{"name":"apollo-server-azure-functions","version":"3.10.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.10.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"ad80e62a4e021c9c71741cceb711d11be6f7b7a0","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.10.0.tgz","fileCount":18,"integrity":"sha512-05ahT5HOHIRNRWTCr4cdY+XUZbsxXK7Ld5N4U/Oftg0fOhpSa/cyzkVvRonG1YT7yoeifqA8IMVnneHq0noBFg==","signatures":[{"sig":"MEQCIDXEV8kdNipOTKtKhcO1ikKRFiPZ/gJMQhRwPJgZxagsAiA4Ala+L5tOa63J3hTbO6NP38c67S/zJs46uXmAUgs6iA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizHiWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpE6Q/7BRIj45nTDhn2JkgKvsj+NNotoax3RV9xrdbgFQoqqWO81uGj\r\n+OaXSKGXZqgfQTit0Ki6vK3078g2R2s3culC7OuZ8OrxZ1CQ70bQceIvL/L8\r\nJrITHUzxNfa5DEtZDeLGbXC8BJSk5hA214q6CKDETr10Ts1hd4i8+2fwy7oc\r\n4kzOVaMf3zNzjo1OPjqNTXKdy+VNmFlworaDM0VlYvjaOH8mTtfq+BLGafpy\r\nes3XcfBdXzc/478WUag4RY9C0SNHF5ANZcclCuD8Q97xXvE+4syXtpNZ49zZ\r\nio/vZ3MS3qmNAP3e6SfJEwVZbgDXO2AklyiFW7FXns6MwsW/GwpzG8XeAgyY\r\nUW16pBsa/+hpckpC2ij5miQSCNb5Exzq+CZK+MPYSK1mX2tQxZaUUfW0aZk7\r\nVqTSawZAXKg/TCKMSTVynRLw9467xhbh1X5kaMQaE7TxHnd+Q71gVBUHQ3A4\r\nXIi9TU0+9JfWmuLIqPCgqn15WM1bTyEYN0VEjIcWOqPDf36ZMDp6b8q+Zt0K\r\n03Xr0EMfFrheLiyOUads/E8zp7ZLvv9PdILeDP9rDF8GLPlnu2Z/oZ83d2sb\r\nx6A6638ot3nPpKHHnD7P/wGbeG+BoOrKRarfFpxPBS4ZeVqAVcspaRhWbStA\r\nX9Ij6GFc9LLQVhrfxVuw4qunoIUStOXcVfk=\r\n=gMSj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"4041aaed6d616ee4b06fced0af482c73b6f752be","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.10.0","apollo-server-types":"^3.6.2"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.10.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.10.0_1657567382354_0.8727307415076635","host":"s3://npm-registry-packages"}},"3.10.1":{"name":"apollo-server-azure-functions","version":"3.10.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.10.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1d1d9097ee8bfba305a9cba6651bb6d366e6b36e","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.10.1.tgz","fileCount":18,"integrity":"sha512-BTuaM7Be2p8z6jrQZ1xzlKFrcvIZoAX/peprLxkhTBAmOAAu6FoP0tSvWiLjEoPYFohTBapGAycQVVACiqECYw==","signatures":[{"sig":"MEQCICowWc/UTtVLWL6t3ugtbOWwUsEthQFNwPJIWxdCb29dAiAxjavpCmqe4aQ2HudaEa7hkBCtar5T1WoUtGC/noWlwg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8+ZbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcEA//WrKjvKNd/F7NOitMGXQqdE/gzSV5gjhwEq8vZYw24qeSxdrr\r\ntZN7XnMeb3FNmGCAdjv4zCPZ+wYQZQbpbo+bIwT/1NEYNMD3nUhvCwv3aO4J\r\n5cngx5Y0grQtsk7O/yJ5IP1IyV+AlLCq2yujrxHP8cWBp9KrXtx0twYAWvma\r\nVWDeHwDfYXOzii7jZ0A5QdPqtOKESC9SXLTEn/0EuynkcvY+ZQdYsH3bHusQ\r\nZLW5IbBAj1zeq5uc+GKWcTD6nH+xbtBnjMjbajG7gGtX9dQNtNGkv49A7v0i\r\nb0/yIvHbr6ibECNcBI3+VrMaE8ms/vp38Cbdsqas2Rq0su4CSgx6+YcIof7U\r\nAL0j8yctbAIPVL6cUUo0J6AvUgxUtpfkxv+9CiAYw41adxtHbXVBHRr0Vkuv\r\nyQrb0iiv/sQsXonAJ53Kt7WBoOH2x6w4xTzt5keH0JWpOxnd/9HI8llBWNB+\r\nHM7nNZvlElAGFxpijzU/6aVRelGIIaix5VQQu1y/a4KLuHGn7f6sN6r4ExoQ\r\nXyuzmXtrdpiO5U24/i7Nh0ISl9oh79Zz0So1gl+GOHrSbWlF4CMRZexutD5N\r\nOlxVZL6nP/LZGsyd8vxV+L0WVdn+z0G7iT7cKs7J9JI1uYceEiY5T3jRycAe\r\nVSkrHdYTLwRISv8bcpjo5JjV4c6B5kQp9RY=\r\n=DLH/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"e6097d614c9ac6887b359529cf27c1bd1a5de59c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.10.1","apollo-server-types":"^3.6.2"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.10.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.10.1_1660151387160_0.17505717439917645","host":"s3://npm-registry-packages"}},"2.26.0":{"name":"apollo-server-azure-functions","version":"2.26.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.26.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"18b38be16902f3d3d6ab420ddd2c27a3c8c90276","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.26.0.tgz","fileCount":20,"integrity":"sha512-VBY+mD8O5SCasO1ih5AENkJgARBNIIen8DBO+8aFEkrBIPwDzmeiAatzxBrZfswPCc8ho9bB10oyy7IKOQtdMA==","signatures":[{"sig":"MEUCIQC9yOZLd9lGJXAemTjx3hW+3YP2nUXVFVdrUleawnBZHgIgUfHNBgmyMwDTv0yy2jPyBl/X/plEmjFaS0Q2OKxGOVQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/oMBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqK1A//VK35CzGqfcsMm5T2j/S2G9iWezE3sh212nXWWnkmUTx31nhk\r\n6goJZEd9kpIv4p0/uqK87m8LLwYFk2SnpAoqr6hBYkxPUnV+3yK26aPoZsVG\r\nt4i0tabHdIzEZnTTBJj0LJJDwWSOEcULE5tDO38eozIIm4eZUjhxKNdZHeRw\r\ngFhn/E1Q91FQpjNE7R5P1b2mQahzkPnMn66aEgBIPxXAP1rPSmSPaXf+ZwLb\r\nuYLLj3B+PGPNWACLHtaskpmhiY7xK/GVs0dH4i/X73Q0X5mtUBt52SnJACo4\r\nwZTwZqS/zEoXUxegqVL1gC+PsVZFcu2WR7bey2z9vUPZ2KTTGWXW5ZsupCCU\r\nenUChr1JYiJR3YD5Ew3UCmwlYb1yyp0YFgW0qm63Qp6vPs0ld01zEFfdSimU\r\nMHobr84jCbo9fm4XKHz0+hZMrNvXQYc9c3sT3YVxTZ0da0CTfxaex5J6jG6u\r\nXnFY7oLqzQz53pqSTjiuEDpZghtbAewpUaBWvVNsuKISMlGBCxoy2yLJvyMi\r\nwGGFAH/+q54FA2x4A8qReS8zEBuZKKqXnqxgGidMs2cDtXlHTjBE06bF2+pO\r\ncq/5zOJvL/Cb1FwFtIn70BVWZB5mPp4DUOz/SiFD6dcffWpaD4M6fjISlsA1\r\nmVHXfZMa3DiTdhZssZPrNI/zagmvG5lNi2k=\r\n=yx0c\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"91de501bb389c07ccfc5e684811153267b91e9ac","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.2.0","apollo-server-core":"^2.26.0","apollo-server-types":"^0.10.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.26.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.26.0_1660846849370_0.8890025146614229","host":"s3://npm-registry-packages"}},"3.10.2":{"name":"apollo-server-azure-functions","version":"3.10.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.10.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"d63e8caff90a46af1db1b6fe56297a1bdf392fb0","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.10.2.tgz","fileCount":18,"integrity":"sha512-qIIn6G3b7UACh4B6a9CDcPSTk4tAYNfqsLL00Lc/nZl/QEGQQjPlTx6+76i4Hv5j78khJQPr4Kag9Bl41+EimQ==","signatures":[{"sig":"MEUCIQDf0DwGrM1wDSQrhXT90Tb1Lllbtt1mciWArJmNee4zjwIgeo2V+1e6SOEMAsYuXDcI6jw3cAmkBB90McRJdCEbUwg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCDLkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqnmw/+Jpri5XGWCUsYCQlQauPh4QoAvu2ap5Bw+s/kpvA+7rHBg64v\r\nNZhEv2w7x+fHIFmx7/Jk7/OYVs9g2CTqDUDwwFcY/k35KKbGEPUK5AopiAHG\r\nZ+/lxQFMuEy/drQ4333XztGeTHvWP6Ibzs74QlSSHiM3f6K0gE1f2rU10Ei4\r\nl2jtJ+jn6C+nx1IvCgUlxI+50zL0uvGetn0TGeT2ubW6N9P6AWxyyMZhsYJI\r\n53hOVu2O4iBpTdB0jH+7J/hOK7HrxnkA9QHcwJkPH/ZzoofgY4w+QGX5ELco\r\nvV/7Tx+c1qCpu7HqolEDh8R3my/LYAjiHKCWlaHlNb/VOIHqoeO1bVdDPoGF\r\ndAH0IHP7zPbqxbDgvULfUFCikb+Ni8RZ0pZISFnXSeYJvjDTFJIVA0Dh7zzC\r\nIDP/q+pCRRLJxIKyshag0nVEJSzsBWimZl9Ez/QQD8464MNvRJYNXOVvLdCg\r\n7iHTO7R7XZoUohUqKUQLqhq1LoDooTqJxm8Z1Hx9M/RMlD48jVDMboNeMO+G\r\n5lxxWeboDR1JBQlBWwnzakbCw+NLL1BlJ3AIZ+9RUJ5XL612TGHsYvTC4cD1\r\ne1NOcFKK9ca5nIULto7JeSJZLgANfuEzfARyQBLR36lhq32pVHO/HDWUtCG0\r\nHZU1XiVuWBA6eamJ0SZZm+qMwBswyUlMHJ0=\r\n=1dhg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f6c5c9fec04c222aa15272b90d203ddc3fe64857","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.10.2","apollo-server-types":"^3.6.2"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.10.2"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.10.2_1661481700203_0.5439127725639823","host":"s3://npm-registry-packages"}},"3.10.3":{"name":"apollo-server-azure-functions","version":"3.10.3","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.10.3","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"bec2e884e43993dee87a6d2aea2822e084e51286","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.10.3.tgz","fileCount":18,"integrity":"sha512-IePJ8NmppBGbQ1BhNkCGYa6Y1w6D36TDtOUQRxhbPwMKPndlbrDNkNiRETpBxVtqEGar4nge1ytouGv5oQ+Idg==","signatures":[{"sig":"MEUCIQC7ZMu2Iy7PewMUaf8U4p4O9U/hvUCEP5lsd4FM0LBeLgIgLc2a/at8DYJp7NTZPbCLpJ+XzSHVaQPpHWu7JzsydKU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQKWTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqcQg//W1fQuWivTXFvCQ8djCQ2VXTvDA1luz0BlMfyeKU+lUdM4xiy\r\nmVlzz3PGjTqIPTPLmpMI1hz0vl4cW0uX+heqc/6fnX6uLuarMmtaQJHQnzsI\r\nGzDidT6O0OiB5A7LwiCuRbRAWKFdKaPa/V1O/vlGHvT8M/74bs7SGuhmRzp/\r\noaqfB0HDGC2udwN+H++qxd2LxER5yR2RV9EWx8aBonIzCZvB/cfeXAIluvN1\r\nU+gPIhIZ6ZVLjdT6c2BzzvdEQY4GzshiF5kr8I1tKU9U73YQyZVk4JcIrDXV\r\nsIno+JDqk/yDInv7WTVxWjwpX2NOsUuAhBKHrJqVbQYwl1E4pk0JhO0/rFyc\r\nBosVJLDDQ0vTzxzLLNit0TojmT9eZPoa0XJPbR8e9TQKvrwcZYe1QSb/5L3z\r\nuH7nU5QUkymoaBHhJmCm0G6USVZY2f7mo2YT7baXWBlA3OPPDPHFEu4OO7yG\r\ntDveyxHs3chNijGLPhZPBBqlALGs05F10WxGn0pGduadFhrKz3nSjUYGzGs0\r\nlH6PSZtDBEE/tN0iFJoJkRLf/xKWbsC1yuvlDEdvcCDncVHU599VQxEVkL1j\r\n+c+hHpdF5Hd/6knF5YioHg2pxxeuBAuGH+87E2aOCZSsQC1Pi5FCk2aqdL15\r\n08vOkXJZCcMpp937SYUgWMgQutFvLHPm4W8=\r\n=f+kW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"985c0795579a1d39e7b78edce1c9e2e7c8facf82","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.10.3","apollo-server-types":"^3.6.3"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.10.3"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.10.3_1665181074779_0.2546799112138147","host":"s3://npm-registry-packages"}},"2.26.1":{"name":"apollo-server-azure-functions","version":"2.26.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.26.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"3dd2deaf5bb4103c4e44d33f68f786d477a89412","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.26.1.tgz","fileCount":20,"integrity":"sha512-fRUZWf67Zc2qE6VA8Jd6yv9R6ANv2cTAOcNqlVWDugSVbeaSS/66wE2tzELseboiq36vhiyztVibax5EF4OyQg==","signatures":[{"sig":"MEUCIGrGMrdrvSZxpougPi3AOJW5NYOyHwBKsMKPlX4i9CupAiEA+YGVSpvrxL3WMiEGCQIG8SPxlLez1kRj7urLEUTe4LI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUY0VACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGFg//WZBXVPyjL1Eb1JVlnd9hu0WHOvAO1vfb2mSE+3wqAQnr3XSy\r\nF7IqPnEUefRNfYuvC6osRvKuXGMam648nBHzMSE1YgKo9T8X57yZRujsdumW\r\nIOyt3mOUNmVQt/QpSpTgObbqzvFcu962Z1ziO6JGeyGByZlUEro/Yypbwvk9\r\n3pRmOuHXNgeqLVZB5k6icoa2mwQ6Fi/1ZuM2RE70GoF9Ay4a8BOGi53BudtO\r\nB8RZNqcnL1M2QmTLx06GviPn4X10BYiEp7EWkfKiTv9xHZ0tOlvD7SPYRI21\r\n6r+2J/KSxS7ZacANP8Yzgyhu3hfnEoEUc0eNEl50nEwqij3/HsV34rVlTKQO\r\nW+/okilvrX6lQbu5sm4s11X2KTt669jGVdNl1NtTKZc9QVW2E8q+0S2IeydF\r\nb2C/jzfhELeK14fB2TLWbRA3sZK7WarP5bAcXK+RfmJdZJNpoJm32d2STde1\r\nPiOjiLkWSxlzxgDbhxD4BGoAIk9bXg6ThT7jb2WQ4lxi9lyebLlG0Ks3OisJ\r\n1DzWjgr/BJQoijagB9L0bqxThK/XoV5NjnvNKQypvxIXi2hLbblMYV3Lo+cd\r\nHhy/E+ehsQbRaUNrmL054JayF4IwLk6X88My1gOO+nogozIj5vTgtsLmuWq5\r\nfNqIfMOpNZ/vQZYE6uPEBmNfYAQY2wmbdsU=\r\n=uYOh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"84852fcfb40bc5ea83c341dba546464d6114d7ed","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.2.0","apollo-server-core":"^2.26.1","apollo-server-types":"^0.10.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.26.1"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.26.1_1666288917647_0.49278157715607374","host":"s3://npm-registry-packages"}},"3.10.4":{"name":"apollo-server-azure-functions","version":"3.10.4","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.10.4","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7ecb47a228911f33e7bbed5ae4153d5e5db8e111","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.10.4.tgz","fileCount":18,"integrity":"sha512-cqKzsIcTOU1C5u1prs3mjqOvm5eSqGPx5Bx49N45jhg7pO+ZoBUSvFa2XlUg6nDh1GFMIp7wfGD6hw08X0p+yg==","signatures":[{"sig":"MEQCIGK8+FfK1wZp0ixZWSxCH7ZkriT+6f++NILWKZui963LAiAFVpxLCGtczxi9iXsKGsvcFjLj2h0/kEEzzC9Li+h4qw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYEORACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr7dg/9GIeF1XpOUZk5lNFSGBgsRn4v0uJI1j+UgNhs7gjLPbZweaEP\r\noiky2eUDv162q2zIBwPdrSU+CyvzOht68fYtRMxNir0w53AlgBNnFeuDyW32\r\nyTxMgSjhJFM1P3RbRlLDT2WEfhzb6EnlYjVpyQbSEV0E17LMavEfBzUxlQTG\r\nFhX2tUkDKZwEP+AJnKpTCt1V5Y+fr8G5alJjiwaDxqUEQ+gUsh1iWNL68+/3\r\nbyk3+yb2sa4WLrHf3Fr1bfEYECfQefkl0ft0nbT5+sdTzaBftQfbH+aT/tic\r\n05Ww5REdYKkutrq1HKKXJLMP26NivQBW+wf1flO8Z9v9gdztp2iBymWjpZOy\r\nngTIQWCdlbNSRrJEPnpY2wW+GU6PFbXhl6JNzgOys17JzEcCq8Y5agzEs416\r\nKHS74FQwd7wudBLmp3C75NE2llsvKEu6XNnsbAwzD+pLHXBFwtajZbieMSNY\r\nlSgrXoB9pHDgNKYbbMWnSAht4dBa+sJCus3u1lf5jjRXIvHL8V+7kK9kPdeD\r\nWa0lWuGLiRjg+xcQ5F6iknpFUZQYUvCF1Y9TM7ELCwgz/C3uAoeX8uhpf5Cb\r\nCTjr14OGyPMQvz+55sRfpQ/qUIqFC5eos7fH8fAVPMqwDB5U7X7pI5/L18W7\r\nfzMGRpGoyQ0DwPYesNQUDqQZSJZ3lTV8YMU=\r\n=nTbZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f519e1d7de8564259eb1c8c1c7523669bd9ad815","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.10.4","apollo-server-types":"^3.6.3"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.10.4"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.10.4_1667253137794_0.34111859563498337","host":"s3://npm-registry-packages"}},"3.11.0":{"name":"apollo-server-azure-functions","version":"3.11.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.11.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"2170782cc3b598f0f15307f31560f28b4e48052b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.11.0.tgz","fileCount":18,"integrity":"sha512-rOVdVgFC55foha1G7sR9IsW7uUTd965upLSyJwqTsj8m+0EcapbzEYZFXXPS5c9mgirEGJ4ugfOX1A06yq0e2g==","signatures":[{"sig":"MEUCIQCrUxh8Z2lpKKI0Y/FQlzmFTauW3RYghgvVTvwQsmQOAwIgWePjkzhqjbYeyBXKihTwuOgADniwtzo+0hrGvVf+MvU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYpMzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMQw/+LXF01gexjgWmxCLYfsyDx4V4a7WUTkwTFCMhvSUonJqNHZcV\r\n/6zSWpW+WFfpH363X6cdv1Y7YJiT95wVqZX4CFcq7tT3oTxjGsrafMpPEugh\r\n7hulO9d7wmADE/RbVRI6X5uKrP38GSs5EjfSGkHUlRRKzsNA7NPC5MlCAlPy\r\nB1HsRxN+S29BCIGconHXrRypgUXz2eAAjkauZMcBBMwNHihmIN6WHCx38iOh\r\nsonVG66730iBH5JbDo2NzA8JGbnepMJ18BWwTJZcW8eoSJdeX9UteufY3Qd7\r\nbjDg9sXIz1SjklpYafNjtuK/TCHqZUDima6b5WvOs271gsjvuGYLHdDEGtxA\r\nmNGRa7+GBuQ5a3bTSgA+uajI2rMKbxopVh7TkY71b/MBK19LDsJ9KvL6Bb5a\r\ny7Eh/9kfY0lJNqZjfhnNr0mZE08qEWy/f948N2U3LMXtCnn0YQ0bFhuF1hf5\r\nTLSbNF911Dnh0477pY9UQnpbijqawuMUY1eJwP7YPwMK4dFc8//D1QtrD49l\r\n4DuiEtZ2rJxDdhFLMtq00PypM2sUa5Nwgin6E+CGqicxBQBwvG3iUdvaC9Qf\r\n+RogsZwMRgjvmjEtyEqFVi/QFfTsDYPty0rsuaoH5uW1JfWRuYXG850RG5Bt\r\nLwgIE022OnRiIduUIoFSgJ4gE0LWYnMliyo=\r\n=2qwE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"538151b9f30dfc91036eef2f8f65fbf7922d861e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.11.0","apollo-server-types":"^3.7.0"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.11.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.11.0_1667404595313_0.42205560896527006","host":"s3://npm-registry-packages"}},"3.11.1":{"name":"apollo-server-azure-functions","version":"3.11.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.11.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"7e4e206addc188a8734f335f37c263a4fef89bcb","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.11.1.tgz","fileCount":18,"integrity":"sha512-go4EfHxzgKtQk9arCYN9XzgFtBEokzRtmr98g4l3ksxHypUA4ErUdOxPII9+SqxFyXFvuDJ9Gsmpak+rI+pOQw==","signatures":[{"sig":"MEUCICZtnB5BSH9+ppVCZQixogPA/lLlN4H/o6m30jguBv0BAiEAwhAcNvoX8JlANXpGdV/+Nv3frxsVnm+XJFZo7/5JsEc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjYxLuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+CA//QFmfilG2eJNHHyiBPwvBEbmSyvvslnLyD4aveAD1sCnfZAd6\r\neaPRDLz6xnBiQtaZaDZY0PcJ2wwXA15ywNnl7+NoGKr+tO16USGGztCpMOG9\r\nMJRdPoiPh11UB+En4NDoAC8bAmzq2ReFCv5+ab7PkgW9qw/WbxW0Fi/zqwOj\r\nZX5fObKlhcWyA3YkRDCE904MlPwydsn3Gk/oa0VhImrZDGOF0kFpqxamaeEb\r\nX5NYGOXHqN6cQ/g/2E9jLjSCUpK7XX/LfssuTIhEPBdpZsqrgwxOTw+QCBoQ\r\nryTURYu1c+2QCx1VDAwYAM8qOGyfjT4S+oy48X2psUyPabM1HSAzrKOqjS28\r\nnpm2dAbUdVwp5xrkVfUFcnrS1YOklDr5CxcZ15WJz8fphQ7bB81IOgbSkgD3\r\n5RmTUFT9DYVunp24Bn815A7zyjuxhrCDK18TEfXsuFfZCjzyEIrsyyqjuHdV\r\nB361R2IwAd6FPO3lpV+Xr+8aH839XlQYs9mrnNIpzm7Vepd8IICuicZJQBWh\r\nSZlzzphOBm2EIrrJjyuO5HD5VMWacKwwgdVIZvBfORCnNLcvdU+ykH3WNYVf\r\nriJ7xnUgL4zHzzTNHUZih5K44Ptng8TBy9xEChsEzmRiS/cj6RZOKYPrVn5m\r\nfRiotZ2h4Xj5EbphoUSr4eKQZ5QCQOkA/24=\r\n=oCwZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"6247d96ba90de6fa9b45995dcab72758c99aab78","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.11.1","apollo-server-types":"^3.7.1"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.11.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.11.1_1667437294011_0.6001803410198476","host":"s3://npm-registry-packages"}},"3.12.0":{"name":"apollo-server-azure-functions","version":"3.12.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.12.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"15d337063b203ef2b4377dd1f4e09518b5619d17","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.12.0.tgz","fileCount":18,"integrity":"sha512-fXABuNQ7EPK5bnT/Um+FlWF5Z3uxRGdzOCJ/eGrXyEYnq6uKpG7Mc6vcVLw8d8eepDaf7fduY8l8cmOSUSFZvQ==","signatures":[{"sig":"MEUCIQCiEluuL+SrEyomv3ElnWAvQR5KXdXvgaEuJazdY8btigIgAq3Lzr3dqm7t8/doh8C02eMjk0gE+6Tdd8BZVU2+yis=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAPoNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozLw//SFREKk51+DJjSzQJomeGeMfDVQuke+iSLA8irSa4kM7GrN4l\r\n+qODixJgb9JPY2yKq4+nnnx95vb5IY+JY1s/4tNv5Fu6yzjxkDZ/rNSGa+rG\r\nQCqhmqE2oP74tVhFhgXc1YCFxPYn5HtDSSWODt8PMJ0LNAkOXZ+BF7ogYJi7\r\nPXK7esrHg13bx/ted9mYrb/+3sMzdfs3LIg/s5e4MRPu/3tafLZJt5ZjmmaY\r\ni63emhoSZGqDi9ry3v9KBJU/TgNUxuZtve0iRK7eI6r2cwiOZqQOUwp8ZkC9\r\nLSJVeGig6+VGexQ8/+MzpmjDk/2zAYGPEuP/YzTjzhA+KQaLLoFkqrjFabAx\r\n5IF8bjrV550GVJd8LM8Z1jLgLfoYkfv1XqfKktsdAvkvPdaGvO+59Mg1hoNn\r\nUXuyu2CRD/tc6L5z3rr1wh0ZqX6XzB7cfAmkqGWk3zrRAUcuk4K2nkTP/0HL\r\nle3ttWszwKlAC2o9mzu/obFHCqUYqKiQzFlYVy2qk2viPMvEeeI9CnwSyClq\r\n05lVnHhpvZBmJvhJztuOPfNdUuWvFtnU4Vu0W0KizNoPDco06jHJco2pL7yc\r\nefnlPs/ipy4G4guXV+twmOQVspj4pJFG6D7RkHtrumqhvo46XnQ1w8m3PZRb\r\nx5LpYgkvtEpzWUDS9e5k6sg1cxQJ38WvVJw=\r\n=4Pe9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"fac578a32d5b6e21164fb649fc61d641d0401774","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.12.0","apollo-server-types":"^3.8.0"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.12.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.12.0_1677785613442_0.8021523178697096","host":"s3://npm-registry-packages"}},"2.26.2":{"name":"apollo-server-azure-functions","version":"2.26.2","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"opensource@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@2.26.2","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"73e12f4ba64f27daefb52bc700108a2716813a5b","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-2.26.2.tgz","fileCount":20,"integrity":"sha512-K9tSRV1w1ysMlHnA9Adi0jaJA8YfjWY2jqicc9iKv6T7tk0nqwEosE3+k2LKrrMlxRrt7MsI9uZqvIjA866N0Q==","signatures":[{"sig":"MEUCIG5DQs0TflLMb3EPCAoxrLV17NHfWJvdPJPk8PVu0jOjAiEAuYShCEa4fIhqe7EdkWvMKEAO8pDY3PumiZehiG/z7h0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36214},"main":"dist/index.js","types":"dist/index.d.ts","readme":"This is the Azure functions integration of GraphQL Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/v2). [Read the CHANGELOG](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md).\n\n```shell\nnpm install apollo-server-azure-functions graphql\n```\n\n## Writing azure function\n\nAzure functions currently support two runtime versions. This package assumes that function is running under **runtime 2.0**.\n\nAzure functions typically consist of at least 2 files - index.js (function handler definition) and function.json (function settings and bindings).\nFor more information about azure functions development model in general, refer to [official Azure functions docs](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-node).\n\nExample index.js:\n\n```js\nconst { gql, ApolloServer } = require(\"apollo-server-azure-functions\");\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// A map of functions which return data for the schema.\nconst resolvers = {\n  Query: {\n    hello: () => \"world\"\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n\nmodule.exports = server.createHandler();\n```\n\nExample function.json:\n```json\n{\n  \"disabled\": false,\n  \"bindings\": [\n    {\n      \"authLevel\": \"function\",\n      \"type\": \"httpTrigger\",\n      \"direction\": \"in\",\n      \"name\": \"req\",\n      \"methods\": [\n        \"get\",\n        \"post\"\n      ]\n    },\n    {\n      \"type\": \"http\",\n      \"direction\": \"out\",\n      \"name\": \"$return\"\n    }\n  ]\n}\n```\n\nIt is important to set output binding name to '$return' for apollo-server-azure-function to work correctly.\n\n## Modifying the Azure Function Response (Enable CORS)\n\nTo enable CORS the response HTTP headers need to be modified. To accomplish this use the `cors` option.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: '*',\n    credentials: true,\n  },\n});\n```\n\nTo enable CORS response for requests with credentials (cookies, http authentication) the allow origin header must equal the request origin and the allow credential header must be set to true.\n\n```js\nconst { ApolloServer, gql } = require('apollo-server-azure-functions');\n\n// Construct a schema, using GraphQL schema language\nconst typeDefs = gql`\n  type Query {\n    hello: String\n  }\n`;\n\n// Provide resolver functions for your schema fields\nconst resolvers = {\n  Query: {\n    hello: () => 'Hello world!',\n  },\n};\n\nconst server = new ApolloServer({\n  typeDefs,\n  resolvers,\n});\n\nmodule.exports = server.createHandler({\n  cors: {\n    origin: true,\n    credentials: true,\n  },\n});\n```\n\n### Cors Options\n\nThe options correspond to the [express cors configuration](https://github.com/expressjs/cors#configuration-options) with the following fields(all are optional):\n\n* `origin`: boolean | string | string[]\n* `methods`: string | string[]\n* `allowedHeaders`: string | string[]\n* `exposedHeaders`: string | string[]\n* `credentials`: boolean\n* `maxAge`: number\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","engines":{"node":">=6"},"gitHead":"8fbc66cded6549d5a61433c9fed26775e60e0648","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/3.22.1/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"graphql-tools":"^4.0.8","@azure/functions":"1.2.3","apollo-server-env":"^3.2.0","apollo-server-core":"^2.26.2","apollo-server-types":"^0.10.0","@apollographql/graphql-playground-html":"1.6.27"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"apollo-server-integration-testsuite":"^2.26.2"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_2.26.2_1693429372847_0.4523879747719062","host":"s3://npm-registry-packages"}},"3.12.1":{"name":"apollo-server-azure-functions","version":"3.12.1","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.12.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"1f09c568a8fad81b4e82b9425f702a4f866a9019","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.12.1.tgz","fileCount":18,"integrity":"sha512-iihGdqGh2gJ9U6zdHLU3Li9yDrQeaiRDZQ1G8jdsO5zdpT9bZc+UVR+FDnsePa2GXOli+Lb9USEui5oWuKRyEg==","signatures":[{"sig":"MEUCIFm5RIM0PPzKgzK0ktg+1qYCvg8jGazdO4rv8luYCDCFAiEA9jUYAZ6qdgIC5GRNmvQzV44loaLJcSoPzCeiX/4urpk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"ea2e2c3e071afc9144af00cae7b51720b9cc8b32","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.12.1","apollo-server-types":"^3.8.0"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.12.1"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.12.1_1693430235429_0.19351109678679723","host":"s3://npm-registry-packages"}},"3.13.0":{"name":"apollo-server-azure-functions","version":"3.13.0","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"apollo-server-azure-functions@3.13.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"468a9c335bc5f76a64eb8d5e38bed06f8e607f08","tarball":"https://registry.npmjs.org/apollo-server-azure-functions/-/apollo-server-azure-functions-3.13.0.tgz","fileCount":18,"integrity":"sha512-EK/x3SnIcacMFye0UXlq6dO757jgjjvBgmQ1cDy7YlDXj0WhXYuyYOD9eG3lSu6ybpGkYHpYx/jnJ+dTxtCvrg==","signatures":[{"sig":"MEUCIQCZxWHIls3YYc6IgkIzLmpUO2iHWElaYcjpJn2cuG9IAAIgSqGf1M5vAdIxGh1CLfETZPS2wY0u4vu1Xvm5tUayv2M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34202},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=12.0"},"gitHead":"f93284e853efd6da46d91ae40da47a2dd15b61fe","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"_npmVersion":"lerna/4.0.0/node@v12.22.7+x64 (linux)","description":"Production-ready Node.js GraphQL server for Azure Functions","directories":{},"_nodeVersion":"12.22.7","dependencies":{"apollo-server-env":"^4.2.1","apollo-server-core":"^3.13.0","apollo-server-types":"^3.8.0"},"_hasShrinkwrap":false,"devDependencies":{"@azure/functions":"3.2.0","apollo-server-integration-testsuite":"^3.13.0"},"peerDependencies":{"graphql":"^15.3.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/apollo-server-azure-functions_3.13.0_1699921026371_0.2810767425426888","host":"s3://npm-registry-packages"},"deprecated":"The `apollo-server-azure-functions` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details."}},"time":{"created":"2017-08-15T08:13:03.567Z","modified":"2024-10-25T18:42:31.485Z","1.1.1":"2017-08-15T08:13:03.567Z","1.1.2":"2017-08-24T04:27:36.155Z","1.1.3":"2017-10-05T04:46:50.225Z","1.1.5":"2017-10-09T18:34:21.432Z","1.1.6":"2017-10-09T19:12:19.661Z","1.1.7":"2017-10-16T14:59:37.856Z","1.2.0-pre.1":"2017-10-24T03:55:09.483Z","1.2.0":"2017-10-24T16:15:01.054Z","1.3.0":"2017-12-12T08:45:59.289Z","1.3.1":"2017-12-18T06:34:58.908Z","1.3.2":"2017-12-19T16:03:00.731Z","1.3.3":"2018-03-26T14:20:53.941Z","1.3.4":"2018-03-28T20:57:31.918Z","1.3.5":"2018-04-18T13:10:17.320Z","1.3.6":"2018-04-24T18:35:30.581Z","2.0.0-beta.5":"2018-06-07T22:04:50.424Z","2.0.0-beta.6":"2018-06-11T22:54:17.156Z","2.0.0-beta.7":"2018-06-12T01:45:35.860Z","2.0.0-beta.8":"2018-06-13T00:55:11.974Z","2.0.0-beta.9":"2018-06-13T18:47:44.113Z","1.4.0":"2018-07-13T18:47:09.716Z","2.2.0-alpha.4":"2018-11-07T00:38:26.737Z","2.2.0":"2018-11-07T16:18:12.329Z","2.2.1":"2018-11-12T13:26:56.102Z","2.2.2":"2018-11-13T13:59:26.326Z","2.2.3":"2018-11-26T18:59:00.538Z","2.2.4":"2018-11-28T13:51:43.988Z","2.2.5":"2018-11-29T11:46:00.258Z","2.2.6":"2018-12-04T11:35:44.070Z","2.2.7-alpha.0":"2018-12-04T11:44:38.141Z","2.3.0-alpha.0":"2018-12-04T19:13:10.018Z","2.2.7":"2018-12-13T13:02:55.392Z","2.3.0":"2018-12-13T13:30:26.410Z","2.3.1":"2018-12-13T19:07:55.472Z","2.4.0-alpha.0":"2018-12-18T15:14:35.859Z","2.4.0-alpha.1":"2019-01-16T11:11:54.960Z","2.4.0-alpha.2":"2019-01-23T13:04:40.402Z","2.4.0-alpha.3":"2019-01-23T13:59:19.351Z","2.3.2":"2019-01-25T16:48:51.557Z","2.3.3":"2019-01-29T09:51:48.627Z","2.4.0-alpha.4":"2019-02-07T11:01:47.041Z","2.4.0":"2019-02-07T12:09:07.982Z","2.4.1":"2019-02-12T21:35:07.281Z","2.4.2-rc.0":"2019-02-14T13:17:15.382Z","2.4.2":"2019-02-14T13:26:23.116Z","2.4.3":"2019-02-20T17:00:36.097Z","2.4.4":"2019-02-21T18:22:55.134Z","2.4.6":"2019-02-22T07:22:16.636Z","2.4.7":"2019-02-26T11:21:50.072Z","2.4.8":"2019-02-26T14:26:07.165Z","2.5.0-alpha.0":"2019-03-22T18:32:35.654Z","2.5.0-alpha.1":"2019-03-26T18:24:34.922Z","2.5.0-alpha.2":"2019-04-05T14:56:17.800Z","2.5.0-alpha.3":"2019-04-05T16:52:48.290Z","2.5.0-alpha.4":"2019-04-05T17:14:38.234Z","2.5.0-alpha.5":"2019-04-12T09:34:52.775Z","2.5.0-alpha.6":"2019-04-14T03:54:00.718Z","2.5.0-alpha.7":"2019-04-25T17:51:37.796Z","2.5.0-rc.0":"2019-04-30T12:04:54.942Z","2.5.0":"2019-05-07T12:44:08.144Z","2.5.1-alpha.14":"2019-05-10T02:04:19.842Z","2.5.1-alpha.15":"2019-05-10T02:35:50.401Z","2.6.0-alpha.0":"2019-05-13T19:23:15.233Z","2.6.0-alpha.1":"2019-05-22T18:34:41.644Z","2.6.0-alpha.2":"2019-05-22T20:09:04.841Z","2.6.0-alpha.3":"2019-05-22T20:13:33.382Z","2.6.0-alpha.4":"2019-05-23T17:21:34.318Z","2.6.0-alpha.5":"2019-05-23T19:39:50.574Z","2.6.0-alpha.6":"2019-05-24T21:22:27.680Z","2.6.0-alpha.7":"2019-05-27T18:27:53.588Z","2.6.0-alpha.8":"2019-05-28T15:26:20.249Z","2.5.1-alpha.0":"2019-05-30T09:02:55.270Z","2.5.1-alpha.1":"2019-05-30T10:57:23.518Z","2.5.1":"2019-05-30T13:18:31.413Z","2.6.0-alpha.9":"2019-05-30T19:55:20.389Z","2.6.0-rc.0":"2019-05-30T20:30:03.624Z","2.6.0":"2019-05-31T17:59:06.092Z","2.6.1-alpha.0":"2019-05-31T21:41:59.209Z","2.6.1":"2019-05-31T22:02:53.920Z","2.6.2-alpha.0":"2019-06-06T15:27:25.943Z","2.6.2":"2019-06-06T19:48:52.690Z","2.6.3":"2019-06-12T06:09:31.682Z","2.6.4":"2019-06-20T20:50:35.938Z","2.6.5-alpha.0":"2019-06-21T16:51:17.011Z","2.6.5":"2019-06-25T16:20:45.837Z","2.6.6":"2019-06-25T18:10:58.900Z","2.6.7-alpha.0":"2019-06-25T22:08:40.367Z","2.6.7":"2019-06-26T11:51:26.609Z","2.7.0-alpha.0":"2019-06-27T20:01:58.669Z","2.7.0-alpha.1":"2019-06-27T21:01:06.531Z","2.7.0-alpha.2":"2019-06-30T22:09:01.607Z","2.7.0-alpha.3":"2019-07-01T20:00:22.912Z","2.7.0-alpha.4":"2019-07-03T22:39:25.884Z","2.7.0-alpha.5":"2019-07-04T18:15:24.420Z","2.7.0-alpha.6":"2019-07-04T19:05:39.393Z","2.7.0-alpha.7":"2019-07-05T13:35:28.925Z","2.7.0-alpha.8":"2019-07-05T13:48:27.031Z","2.6.8":"2019-07-09T22:24:59.953Z","2.6.9":"2019-07-11T18:29:26.345Z","2.7.0-alpha.9":"2019-07-13T20:49:51.541Z","2.7.0-alpha.12":"2019-07-15T07:42:32.669Z","2.7.0-alpha.13":"2019-07-15T12:42:31.628Z","2.7.0-alpha.14":"2019-07-16T08:26:31.157Z","2.7.0":"2019-07-16T13:46:04.164Z","2.7.1":"2019-07-25T10:47:19.319Z","2.7.2":"2019-07-26T23:29:03.385Z","2.8.0":"2019-07-29T17:14:31.642Z","2.8.1":"2019-07-31T11:17:00.053Z","2.8.2":"2019-08-20T18:02:53.766Z","2.9.0":"2019-08-23T15:22:22.763Z","2.9.1":"2019-08-28T20:33:04.997Z","2.9.2":"2019-08-30T10:06:05.341Z","2.9.3":"2019-09-01T21:47:15.290Z","2.9.4":"2019-09-24T17:03:19.420Z","2.9.5":"2019-10-04T21:12:49.683Z","2.9.6":"2019-10-10T12:15:50.464Z","2.9.7":"2019-10-21T17:26:38.085Z","2.9.8":"2019-11-12T18:43:04.102Z","2.9.9":"2019-11-13T22:43:24.316Z","2.9.10":"2019-11-20T22:27:16.986Z","2.9.11":"2019-11-20T23:29:49.246Z","2.9.12":"2019-11-21T18:01:27.355Z","2.9.13":"2019-12-05T20:01:35.555Z","2.9.14":"2019-12-17T12:24:09.888Z","2.9.15":"2019-12-27T12:10:52.602Z","2.9.16":"2020-01-09T22:17:00.828Z","2.10.0":"2020-02-06T12:34:45.726Z","2.10.1":"2020-02-14T14:00:03.820Z","2.11.0-alpha.1":"2020-02-24T15:28:49.693Z","2.11.0-alpha.2":"2020-02-25T16:02:38.191Z","2.11.0-alpha.3":"2020-02-25T16:29:05.434Z","2.11.0":"2020-03-03T17:42:45.697Z","2.12.0-alpha.0":"2020-03-16T19:48:15.394Z","2.12.0-alpha.1":"2020-03-18T18:08:52.091Z","2.12.0-alpha.2":"2020-03-23T14:40:47.870Z","2.12.0-alpha.3":"2020-03-26T13:14:01.857Z","2.12.0-alpha.4":"2020-03-26T13:54:23.314Z","2.12.0-alpha.5":"2020-04-02T23:10:12.001Z","2.12.0":"2020-04-07T18:36:36.270Z","2.13.0-alpha.0":"2020-04-10T12:14:55.772Z","2.13.0-alpha.1":"2020-04-23T16:39:39.386Z","2.13.0":"2020-05-04T14:49:26.640Z","2.13.1-alpha.0":"2020-05-08T19:49:35.047Z","2.13.1-alpha.1":"2020-05-11T18:35:09.257Z","2.13.1":"2020-05-11T19:15:00.128Z","2.14.0-alpha.0":"2020-05-13T10:06:23.175Z","2.14.0-alpha.1":"2020-05-19T09:55:00.319Z","2.14.0-alpha.2":"2020-05-20T14:38:14.041Z","2.14.0":"2020-05-27T14:32:24.202Z","2.14.1":"2020-05-28T17:20:46.769Z","2.14.2":"2020-06-04T17:24:24.906Z","2.14.3":"2020-06-08T21:44:24.875Z","2.14.4":"2020-06-12T14:41:41.217Z","2.15.0-alpha.0":"2020-06-16T18:38:01.252Z","2.14.5":"2020-06-16T21:44:18.078Z","2.15.0-alpha.1":"2020-06-17T17:18:13.321Z","2.15.0":"2020-06-17T17:25:26.339Z","2.15.1":"2020-06-30T11:25:10.055Z","2.16.0":"2020-07-17T12:13:53.391Z","2.16.1":"2020-07-27T20:49:59.919Z","3.0.0-alpha.2":"2020-08-06T20:01:22.851Z","3.0.0-alpha.3":"2020-08-12T16:58:41.538Z","2.17.0":"2020-08-27T18:42:09.332Z","2.17.1-alpha.0":"2020-09-03T18:23:10.753Z","2.18.0-rc.0":"2020-09-18T22:17:12.993Z","2.18.0-rc.1":"2020-09-21T17:46:45.195Z","2.18.0":"2020-09-22T04:24:22.085Z","2.18.1":"2020-09-24T18:09:51.197Z","2.19.0-alpha.0":"2020-10-05T14:23:20.005Z","2.18.2":"2020-10-05T19:14:01.056Z","2.19.0-alpha.1":"2020-10-19T18:33:49.361Z","2.19.0":"2020-10-30T20:02:40.560Z","2.19.1":"2020-12-22T23:07:20.099Z","2.19.2":"2021-01-14T16:51:17.209Z","2.20.0-alpha.0":"2021-02-09T01:11:26.595Z","2.20.0":"2021-02-09T23:06:39.943Z","2.21.0-alpha.0":"2021-02-11T19:16:20.392Z","2.21.0-alpha.1":"2021-02-11T19:53:28.782Z","2.21.0-alpha.2":"2021-02-11T21:48:21.517Z","2.21.0":"2021-02-12T01:57:22.381Z","2.21.1-alpha.0":"2021-03-06T00:33:01.904Z","2.21.1":"2021-03-08T18:27:07.209Z","2.21.2-alpha.0":"2021-03-16T21:35:29.525Z","2.21.2":"2021-03-18T19:52:16.657Z","2.22.0-alpha.0":"2021-03-22T21:59:12.364Z","2.22.0":"2021-03-26T00:28:26.151Z","2.22.1":"2021-03-26T05:00:57.737Z","2.22.2-alpha.0":"2021-03-29T19:26:02.572Z","2.22.2":"2021-03-29T19:37:06.851Z","2.23.0-alpha.0":"2021-04-09T00:09:18.516Z","2.23.0-alpha.1":"2021-04-09T20:07:11.405Z","2.23.0":"2021-04-14T23:23:32.394Z","2.23.1-unified.0":"2021-04-22T22:22:37.776Z","2.23.1-unified.2":"2021-04-22T23:05:47.676Z","2.23.1-unified2.0":"2021-04-22T23:14:42.055Z","2.23.1-unified2.1":"2021-04-23T05:46:08.925Z","2.23.1-unified2.2":"2021-04-27T22:17:08.043Z","2.23.1-unified2.3":"2021-04-27T22:54:13.529Z","2.24.0-alpha.0":"2021-04-28T21:01:52.680Z","2.24.0-alpha.1":"2021-04-29T22:33:19.784Z","2.24.0-alpha.2":"2021-04-30T14:06:27.976Z","2.24.0":"2021-04-30T18:10:08.792Z","3.0.0-alpha.4":"2021-05-06T20:23:03.545Z","3.0.0-lambda.0":"2021-05-13T19:44:49.423Z","2.24.1":"2021-05-18T22:49:28.461Z","3.0.0-html.0":"2021-05-25T04:35:25.163Z","3.0.0-html.2":"2021-05-25T05:19:54.124Z","2.25.0-alpha.0":"2021-05-26T22:31:30.667Z","2.25.0-alpha.1":"2021-05-27T14:10:53.178Z","2.25.0":"2021-05-27T14:40:30.356Z","3.0.0-preview.0":"2021-06-01T05:55:55.076Z","2.25.1":"2021-06-08T21:06:15.150Z","3.0.0-preview.1":"2021-06-16T05:59:14.162Z","3.0.0-preview.2":"2021-06-16T06:15:38.125Z","2.25.2":"2021-06-22T19:54:00.545Z","3.0.0-preview.3":"2021-06-26T05:43:20.108Z","3.0.0-preview.4":"2021-06-30T21:06:04.210Z","3.0.0-rc.0":"2021-07-01T23:42:15.470Z","3.0.0-rc.1":"2021-07-02T21:48:37.622Z","3.0.0":"2021-07-07T18:17:53.299Z","3.0.1":"2021-07-16T22:45:05.165Z","3.0.2":"2021-07-20T17:28:06.124Z","3.1.0-alpha.0":"2021-07-22T20:23:15.356Z","3.1.0-alpha.1":"2021-07-23T06:14:32.531Z","3.1.0":"2021-07-26T19:11:04.079Z","3.1.1":"2021-07-26T19:51:29.612Z","3.1.2":"2021-08-03T00:34:04.871Z","3.2.0-alpha.0":"2021-08-20T23:55:54.203Z","3.2.0":"2021-08-23T23:50:40.868Z","3.3.0":"2021-08-25T23:14:44.140Z","3.4.0-alpha.0":"2021-10-09T00:38:21.883Z","3.4.0":"2021-10-11T20:58:36.122Z","2.25.3":"2021-11-04T18:04:27.667Z","3.4.1":"2021-11-04T18:06:38.275Z","3.5.0":"2021-11-05T17:54:39.555Z","3.6.0-alpha.0":"2021-12-17T21:57:58.761Z","3.6.0-alpha.1":"2021-12-28T03:11:12.900Z","3.6.0":"2021-12-30T18:25:54.083Z","3.6.1":"2021-12-31T15:57:47.506Z","3.6.2":"2022-01-18T21:10:12.000Z","3.6.3":"2022-02-08T19:15:28.813Z","3.6.4":"2022-03-10T18:51:02.231Z","3.6.5":"2022-03-21T19:14:25.753Z","3.6.6":"2022-03-24T20:20:38.340Z","3.6.7":"2022-03-29T23:54:24.145Z","3.6.8":"2022-05-05T15:52:45.217Z","3.7.0":"2022-05-05T16:51:41.056Z","3.8.0":"2022-05-23T23:58:49.133Z","3.8.1":"2022-05-24T04:11:59.898Z","2.25.4":"2022-05-25T17:28:41.185Z","3.8.2":"2022-06-04T00:56:11.774Z","3.9.0":"2022-06-15T16:55:04.661Z","3.10.0":"2022-07-11T19:23:02.547Z","3.10.1":"2022-08-10T17:09:47.331Z","2.26.0":"2022-08-18T18:20:49.532Z","3.10.2":"2022-08-26T02:41:40.406Z","3.10.3":"2022-10-07T22:17:55.009Z","2.26.1":"2022-10-20T18:01:57.808Z","3.10.4":"2022-10-31T21:52:17.939Z","3.11.0":"2022-11-02T15:56:35.482Z","3.11.1":"2022-11-03T01:01:34.182Z","3.12.0":"2023-03-02T19:33:33.658Z","2.26.2":"2023-08-30T21:02:52.995Z","3.12.1":"2023-08-30T21:17:15.663Z","3.13.0":"2023-11-14T00:17:06.721Z"},"bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","homepage":"https://github.com/apollographql/apollo-server#readme","keywords":["GraphQL","Apollo","Server","Azure","Javascript"],"repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/apollo-server-azure-functions"},"description":"Production-ready Node.js GraphQL server for Azure Functions","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"readme":"[![npm version](https://badge.fury.io/js/apollo-server-azure-functions.svg)](https://badge.fury.io/js/apollo-server-azure-functions)\n[![Build Status](https://circleci.com/gh/apollographql/apollo-server/tree/main.svg?style=svg)](https://circleci.com/gh/apollographql/apollo-server)\n[![Join the community forum](https://img.shields.io/badge/join%20the%20community-forum-blueviolet)](https://community.apollographql.com)\n[![Read CHANGELOG](https://img.shields.io/badge/read-changelog-blue)](https://github.com/apollographql/apollo-server/blob/HEAD/CHANGELOG.md)\n\n\nThis is the Azure Functions integration of Apollo Server. Apollo Server is a community-maintained open-source GraphQL server that works with many Node.js HTTP server frameworks. [Read the docs](https://www.apollographql.com/docs/apollo-server/). [Read the CHANGELOG.](https://github.com/apollographql/apollo-server/blob/main/CHANGELOG.md)\n\n\nA full example of how to use `apollo-server-azure-functions` can be found in [the docs](https://www.apollographql.com/docs/apollo-server/integrations/middleware/#apollo-server-azure-functions), including a [full tutorial](https://www.apollographql.com/docs/apollo-server/deployment/azure-functions/).\n\n## Principles\n\nGraphQL Server is built with the following principles in mind:\n\n* **By the community, for the community**: GraphQL Server's development is driven by the needs of developers\n* **Simplicity**: by keeping things simple, GraphQL Server is easier to use, easier to contribute to, and more secure\n* **Performance**: GraphQL Server is well-tested and production-ready - no modifications needed\n\nAnyone is welcome to contribute to GraphQL Server, just read [CONTRIBUTING.md](https://github.com/apollographql/apollo-server/blob/main/CONTRIBUTING.md), take a look at the [roadmap](https://github.com/apollographql/apollo-server/blob/main/ROADMAP.md) and make your first PR!\n","readmeFilename":"README.md"}