Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
omrilotan committed Jul 22, 2024
1 parent 7c59bab commit 89a88b9
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 14 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Straightforward usage
```ts
import { isbot } from "isbot";

// Request
isbot(request.headers.get("User-Agent"));

// Nodejs HTTP
isbot(request.getHeader("User-Agent"));

Expand Down
2 changes: 1 addition & 1 deletion fixtures/downloaded/downloaded
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Mon, 15 Jul 2024 12:20:22 GMT
Mon, 22 Jul 2024 22:50:32 GMT
Loading

0 comments on commit 89a88b9

Please sign in to comment.