GQFn provides a typed way to write GraphQL queries with the help of TypeScript.
Install package:
# ✨ Auto-detect
npx nypm i @gqfn/core
# npm
npm install @gqfn/core
# yarn
yarn add @gqfn/core
# pnpm
pnpm install @gqfn/core
# bun
bun install @gqfn/core
Import:
// ESM
import { useSchema } from '@gqfn/core'
// CommonJS
const { useSchema } = require('@gqfn/core')
- Clone this repository
- Install latest LTS version of Node.js
- Enable Corepack using
corepack enable
- Install dependencies using
pnpm install
- Run interactive tests using
pnpm dev
Published under MIT License.