0.3.0 • Published 9 months ago

@gqfn/core v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@gqfn/core

npm version npm downloads

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/core

Import:

// 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.