0.2.1 • Published 1 year ago

@teages/gqf v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@teages/gqf

npm version npm downloads

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.