Last active
August 17, 2019 11:10
-
-
Save isbasex/b1bfc6bd0e0f287f75c523e9836fa198 to your computer and use it in GitHub Desktop.
isBot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const isBot = ua => /bot|spider|crawler|robot|crawling|slurp/i.test(ua) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment