electron-graphql
Lightweight GraphQL server & client for Electron apps.
This project is WORK IN PROGRESS, do NOT try to use it :trollface:
Installation
npm i electron-graphql
Usage
main progress
// `executor` only works in main progressconst createGraphQLExecutor = // create GraphQL executorconst gqlExecutor = // init GraphQL executorgqlExecutor // dispose GraphQL executorgqlExecutor
renderer process
// `fetcher` only works in renderer process // create GraphQL fetcherconst gqlFetcher = // init GraphQL fetchergqlFetcher // use GraphQL fetchgqlFetcher // dispose GraphQL fetchergqlFetcher
API
(TODO).
MIT © Firede, built with :coffee: & :sparkling_heart: