Skip to content

Commit

Permalink
fixed package name issues in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
foopis23 committed Jan 15, 2024
1 parent a47dedb commit 0a68f57
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,34 @@ Auth Hono is the unofficial Hono integration for Auth.js. It providers a simple
### npm

```bash
npm install auth-hono
npm install @foopis23/auth-hono
```

### yarn

```bash
yarn add auth-hono
yarn add @foopis23/auth-hono
```

### pnpm

```bash
pnpm add auth-hono
pnpm add @foopis23/auth-hono
```

### bun

```bash
bun install auth-hono
bun install @foopis23/auth-hono
```

## Usage

```ts
// #src/index.ts
import { Hono } from "hono";
import { HonoAuth, getSession, GetSessionResult, AuthConfig } from "./auth";
import { HonoAuth, getSession, GetSessionResult, AuthConfig } from "@foopis23/auth-hono";
import { RequestContext } from "./types";
import authConfig from "./auth.config";

type RequestContext = {
Variables: {
Expand Down

0 comments on commit 0a68f57

Please sign in to comment.