is-crawler
0.0.1 • Public • Published is-crawler
detect crawler
var isCrawler = require('is-crawler');
if (isCrawler('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)')) {
console.log('is crawler');
};
License
The MIT License
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.1
1
Version History
Package Sidebar
Install
Weekly Downloads