0.6.0 • Published 10 months ago
@gqfn/core v0.6.0
@gqfn/core
GQFn provides a typed way to write GraphQL queries with the help of TypeScript.
Usage
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/coreImport:
// ESM
import { useSchema } from '@gqfn/core'// CommonJS
const { useSchema } = require('@gqfn/core')Development
- 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
License
Published under MIT License.