An open API service indexing awesome lists of open source software.

https://github.com/realzzz1874/koa-browser-bot

A middleware used to determine whether it is a browser bot.
https://github.com/realzzz1874/koa-browser-bot

bot middleware

Last synced: 5 months ago
JSON representation

A middleware used to determine whether it is a browser bot.

Awesome Lists containing this project

README

          

# koa-browser-bot

A middleware used to determine the req whether it is a browser bot.

## usage

```bash
yarn add koa-browser-bot
```

Then, you can use `ctx.bot` (String) to get the browser bot. If it is a empty string, it`s a normal request.