Skip to content

Commit

Permalink
Merge pull request #93 from joekrill/update-README-helmet-peerDependency
Browse files Browse the repository at this point in the history
Update README to reflect helmet as a peerDependency
  • Loading branch information
venables authored Nov 27, 2024
2 parents 0820332 + ff90bb1 commit e7542b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ koa-helmet is a wrapper for [helmet](https://github.com/helmetjs/helmet) to work
## Installation

```sh
npm i koa-helmet
npm i koa-helmet helmet

# or:

yarn add koa-helmet
yarn add koa-helmet helmet
```

## Usage
Expand All @@ -39,7 +39,7 @@ app.use(helmet.referrerPolicy());
app.use(helmet.xssFilter());
```

You can see more in [the documentation](https://helmetjs.github.io/docs/).
You can see more in [the documentation](https://helmetjs.github.io).

## Example

Expand Down

0 comments on commit e7542b5

Please sign in to comment.