is-crawler

0.0.1 • Public • Published

is-crawler

Build Status

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

Dependents (1)

Package Sidebar

Install

npm i is-crawler

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • poying