# @typespec/http-client-js

TypeSpec library for emitting Http Client libraries for JavaScript/TypeScript

## Install

```bash
npm install @typespec/http-client-js
```

## Usage

1. Via the command line

```bash
tsp compile . --emit=@typespec/http-client-js
```

2. Via the config

```yaml
emit:
  - "@typespec/http-client-js"
```

The config can be extended with options as follows:

```yaml
emit:
  - "@typespec/http-client-js"
options:
  "@typespec/http-client-js":
    option: value
```

## Emitter options

### `package-name`

**Type:** `string`

Name of the package as it will be in package.json
