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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1
  • 0.0.0
    0

Package Sidebar

Install

npm i is-crawler

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • poying