open-index/open-npm huggingface dataset:
npm package: @basehub/joyblog
Description: SDK client for basehub.ai GraphQL API
Latest version: 0.0.1



TypeScript SDK for [https://basehub.ai](https://basehub.ai).

<b>Features</b>

- No codegen needed
- Type completion & Type validation
- No dependency on `graphql`
- Works in browser, Node, Deno, Cloudflare workers, Bun and more

## Usage

```ts
import { createClient } from '@basehub/joyblog'

const client = createClient({ token: process.env.BASEHUB_TOKEN })

client
  .query({
    _sys: {
      hash: true,
      id: true,
      slug: true,
    },
  })
  .then((data) => console.log(JSON.stringify(data, null, 2)))

// query variables
let filter
let first = 3

client
  .query({
    homepage: {
      _sys: {
        createdAt: true,
        hash: true,
        id: true,
      },
      blogPosts: {
        __args: {
          filter: filter,
          first: first,
        },
        author: true,
      },
    },
  })
  .then((data) => console.log(JSON.stringify(data, null, 2)))


```

This client has been generated with [Genql](https://genql.dev/), you can read more about usage and features [here](https://genql.dev/docs).

## Support

Contact [support@basehub.ai](mailto:support@basehub.ai) for any feedback or questions.
npm package: @basehub/julianbenegas.wope
Description: SDK client for basehub.ai GraphQL API
Latest version: 0.0.2



TypeScript SDK for [https://basehub.ai](https://basehub.ai).

<b>Features</b>

- No codegen needed
- Type completion & Type validation
- No dependency on `graphql`
- Works in browser, Node, Deno, Cloudflare workers, Bun and more

## Usage

```ts
import { createClient } from '@basehub/julianbenegas.wope'

const client = createClient({ token: process.env.BASEHUB_TOKEN })

client
  .query({
    _sys: {
      hash: true,
      id: true,
      slug: true,
    },
  })
  .then((data) => console.log(JSON.stringify(data, null, 2)))

client
  .query({
    homepage: {
      _sys: {
        createdAt: true,
        hash: true,
        id: true,
      },
      heroImage: {
        alt: true,
        aspectRatio: true,
        fileName: true,
      },
      section1: {
        subtitle: true,
      },
    },
  })
  .then((data) => console.log(JSON.stringify(data, null, 2)))


```

This client has been generated with [Genql](https://genql.dev/), you can read more about usage and features [here](https://genql.dev/docs).

## Support

Contact [support@basehub.ai](mailto:support@basehub.ai) for any feedback or questions.