@teages/gqf
v0.2.1
Published
Writing GraphQL queries with type safety and type hints, power by TypeScript.
Downloads
2
Readme
@teages/gqf
Writing GraphQL queries with type safety and type hints, power by TypeScript.
Usage
Install package:
# npm
npm install @teages/gqf
# yarn
yarn add @teages/gqf
# pnpm
pnpm install @teages/gqf
# bun
bun install @teages/gqf
Import:
// ESM
import { useSchema } from '@teages/gqf'
// CommonJS
const { useSchema } = require('@teages/gqf')
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.