UNPKG

es6-crawler-detect

Version:

This is an ES6 adaptation of the original PHP library CrawlerDetect, this library will help you detect bots/crawlers/spiders vie the useragent.

5 lines 333 B
import { NextFunction, Request, Response } from 'express-serve-static-core'; import { Crawler } from './lib/crawler'; export { Crawler }; export declare const middleware: (cb?: (req: Request, res: Response, next: NextFunction) => void) => (req: Request, res: Response, next: NextFunction) => void; //# sourceMappingURL=index.d.ts.map