Closed binarykitchen closed 8 years ago
I would like to use this module, but i need isCrowler too.Are the function planned to enter in future versions?
Thanks
This would be helpful for me, too. I think, for now you could use family: 'Spider'
, right?
e.g.
> useragent.parse('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)').device.family === 'Spider'
true
> useragent.parse('Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)').device.family === 'Spider'
true
yeah, something like that would be cool
There is isbot, but I think this library would be more accurate.
thx, yes it is
For reasons similar as https://gist.github.com/Stanback/6998085 I would love to see an
isCrawler()
function in this package, so that I can code some special exceptions in my single page app.Thanks!