UNPKG

is-web-crawler

Version:

A light weight JS library to check if a user agent is a web crawler.

3 lines (2 loc) 178 B
export declare const isCrawlerUserAgent: (topCrawlersToCheck?: number) => boolean; export declare const isCrawler: (userAgent: string, topCrawlersToCheck?: number) => boolean;