body-parser-graphql

  • Version 1.1.0
  • Published
  • 161 kB
  • 1 dependency
  • MIT license

Install

npm i body-parser-graphql
yarn add body-parser-graphql
pnpm add body-parser-graphql

Overview

GraphQL server middleware to support application/graphql requests

Index

Functions

function bodyParserGraphQL

bodyParserGraphQL: (options?: BodyParserJSONOptions) => RequestHandler;

    function graphql

    graphql: (options?: BodyParserJSONOptions | undefined) => RequestHandler;

      Interfaces

      interface BodyParserJSONOptions

      interface BodyParserJSONOptions {}

        property inflate

        inflate?: boolean;

          property limit

          limit?: number | string;

            property reviver

            reviver?: any;

              property strict

              strict?: boolean;

                property type

                type?: string;

                  property verify

                  verify?: any;

                    Package Files (1)

                    Dependencies (1)

                    Dev Dependencies (15)

                    Peer Dependencies (0)

                    No peer dependencies.

                    Badge

                    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/body-parser-graphql.

                    • Markdown
                      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/body-parser-graphql)
                    • HTML
                      <a href="https://www.jsdocs.io/package/body-parser-graphql"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>