Skip to main content

Finch GraphQL

Communication for modern extensions

npm install @finch-graphql/api --save
Declarative

Declarative

Imperative code can be hard to structure. Background scripts can become a confusing when imperatively connecting to events. GraphQL resolvers gives you structure on how to write your background script.

Common patterns

Common patterns

GraphQL and React are common technology for the web, and when using them in a web extension it strips away some of the nuance of building an extension. This make extension development more accessible to backend and frontend developers.

Error handling

Error handling

If a error happens in the background script it will be surfaced to the client script. Writing code into resolvers GraphQL will catch the errors that happen on the background script.