UNPKG
which-bot
Version:
latest (1.1.3)
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
detect which bot is from user-agent and is trustable
github.com/yeliex/which-bot
yeliex/which-bot
which-bot
/
dist
/
rules.d.ts
13 lines
(12 loc)
•
231 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
export interface RuleItem { company: string; bots: { name: string;
pattern
: RegExp; }
[]
; hosts?: string[]; } declare const _default: (RuleItem & {
pattern
: RegExp; })
[]
; export default _default;