Envelop is a lightweight library that allows developers to create plugins that enriches the GraphQL execution layer with new features. It’s the plugin system for your GraphQL layer.
Hi everyone! I'm Dotan, a member of The Guild.
Today we announce the most significant open-source project The Guild has ever launched:
Envelop - The GraphQL Plugin system.
The GraphQL Server ecosystem has been stuck and fragmented - it’s time we change that - with a better foundation!
Envelop makes "hard” GraphQL capabilities easy using a powerful plugins system.
Add Caching, Tracing, Logging, Persisted Operations and Security, Auth functionalities with a single line of code.
Check out Envelop's Plugin Hub for everything the ecosystem already offers: https://www.envelop.dev/plugins
Today you can't share solutions across the different servers within the ecosystem.
Envelop's plugins works with any server or deployment (Expressjs/Fastify/Netlify/vercel/AWS Lambda/Azure Functions/Cloudflare Workers/Google Cloud Functions) and any schema builder (Apollo / Nexus / TypeGraphQL)
Framework for Frameworks - Envelop will become the new basis for GraphQL Frameworks like Redwoodjs, Nest framework, Loopback, Apollo-Server, Parse & others... a better base for everyone!
Babel for GraphQL - Envelop also aims to be the "enrichment layer" for #raphQL.
Use any modern GraphQL Features (@defer/@stream, @live queries, OneOf and any open RFC spec) already today, even if graphql-js has not yet implemented or released it!
All of us in #GrphQL deserves a server that is performant, modern, secure and flexible.
Like everything The Guild is known for - https://www.envelop.dev will be well maintained for the long term, always up to date, with continuous performance benchmarks and great support.
I've been following the development of Envelop for a couple of months now and I'm super excited about this.
There are a lot of positive things to say about it, but here are the main ones for me:
- Envelop is decoupled from the HTTP layer: this makes it easier to integrate with any deployment platform and framework.
- The plugin system allows you to configure, customise, and extend GraphQL execution easily. There are already many plugins available to do things like instrumentation, monitoring, logging, graphql-jit, and auth.
- Support for new GraphQL features, e.g. @stream.
👏🏼