3rd-Eden / useragent

Useragent parser for Node.js, ported from browserscope.org
MIT License
897 stars 137 forks source link

Feature Request: a way to check if UA is a bot/crawler #115

Open finppp opened 7 years ago

finppp commented 7 years ago

It would be great if you could check if the request is from a bot eg

var agent = useragent.parse(req.headers['user-agent']); agent.isBot // true||false

this has been mentioned before, however is not active/kept up to date: https://www.npmjs.com/package/isbot

Thanks

knoxcard commented 5 years ago

isbot is awesome, highly recommended!