UNPKG

ohmygql

Version:

[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]

60 lines (40 loc) 1.44 kB
# ohmygql [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href] > Package description ## Usage Install package: ```sh # npm npm install ohmygql # yarn yarn install ohmygql # pnpm pnpm install ohmygql ``` Import: ```js // ESM import { GqlClient } from 'ohmygql' // CommonJS const { GqlClient } = require('ohmygql') ``` ## 💻 Development - Clone this repository - Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable` (use `npm i -g corepack` for Node.js < 16.10) - Install dependencies using `pnpm install` - Run interactive tests using `pnpm dev` ## License Made with 💛 Published under [MIT License](./LICENSE). <!-- Badges --> [npm-version-src]: https://img.shields.io/npm/v/ohmygql?style=flat-square [npm-version-href]: https://npmjs.com/package/ohmygql [npm-downloads-src]: https://img.shields.io/npm/dm/ohmygql?style=flat-square [npm-downloads-href]: https://npmjs.com/package/ohmygql [github-actions-src]: https://img.shields.io/github/workflow/status/diizzayy/ohmygql/ci/main?style=flat-square [github-actions-href]: https://github.com/diizzayy/ohmygql/actions?query=workflow%3Aci [codecov-src]: https://img.shields.io/codecov/c/gh/diizzayy/ohmygql/main?style=flat-square [codecov-href]: https://codecov.io/gh/diizzayy/ohmygql