GraphQL Armor is a dead-simple yet highly customizable security middleware for various GraphQL server engines.
# npm
npm install -S @escape.tech/graphql-armor
# yarn
yarn add @escape.tech/graphql-armor
https://escape.tech/graphql-armor/docs/getting-started
We support the following engines :
We additionally support the following engines through the Envelop plugin system :
- GraphQL-Helix
- Node.js HTTP
- GraphQL-Helix (with @defer and @stream)
- GraphQL-WS
- GraphQL-SSE
- Azure Functions
- Cloudflare Workers
- Google Cloud Functions
- Lambda AWS
- type-graphql
- nexus
- express-graphql
See here for more information about Envelop compatibility.
Ensure you have read the Contributing Guide before contributing.
To setup your project, make sure you run the install-dev.sh
script.
git clone [email protected]:Escape-Technologies/graphql-armor.git
cd graphql-armor
bash ./install-dev.sh
We are using yarn as our package manager and the workspaces monorepo setup. Please read the associated documentation and feel free to open issues if you encounter problems when developing on our project!