<!-- llms.txt: https://workos.com/llms.txt -->

## Installation

```bash
npm install @workos-inc/authkit-js
```

## Usage

The AuthKit JavaScript SDK provides a client-side library for integrating AuthKit authentication into vanilla JavaScript applications.

Refer to the [AuthKit documentation](https://workos.com/docs/authkit) for detailed usage instructions and examples.


# AuthKit JavaScript Library

This library can be used to interface with AuthKit in a client-side JavaScript
application.

## Installation

```
npm install @workos-inc/authkit-js
```

## Usage

```js
import { createClient } from "@workos-inc/authkit-js";
const authkit = await createClient("your-client-id");
const user = authkit.getUser();
const accessToken = await authkit.getAccessToken();
```