open-index/open-npm huggingface dataset:
npm package: @jampot/cli
Description: Fetch page queries type-safely with TypeScript SDK
Latest version: 0.10.1

# @jampot/cli

Fetch page queries type-safely with TypeScript SDK

## Install

```bash
$ yarn add @jampot/cli
```

## Usage

```bash
$ yarn jampot generate -e "https://jampot.com" -o ./myGeneratedSdk.ts
```

```typescript
import { jampot } from './myGeneratedSdk.ts

jampot.fetch(
  // Type-safe page query endpoint
  "...",
  // Type-safe page query variables
  {})
  // Type-safe page query response
  .then((response) => {
    // ...
  })
```