{"_id":"isbot-fast","_rev":"4-2e09659030e9e8ec04dcfe68f0b25f45","name":"isbot-fast","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"isbot-fast","version":"1.0.0","description":"JavaScript module detecting bots/crawlers/spiders via user-agent","main":"index.js","homepage":"https://github.com/mahovich/isbot-fast","repository":{"type":"git","url":"git+ssh://git@github.com/mahovich/isbot-fast.git"},"bugs":{"url":"https://github.com/mahovich/isbot-fast/issues"},"keywords":["bot","spider","robot","crawler","useragent","user-agent","detector","detect","detection","is-bot","isbot","bot-detection","botdetection","detect-bot","detectbot","bot-detect","botdetect","is-spider","isspider","spider-detection","spiderdetection","detect-spider","detectspider","spider-detect","spiderdetect","is-robot","isrobot","robot-detection","robotdetection","detect-robot","detectrobot","robot-detect","robotdetect","is-crawler","iscrawler","crawler-detection","crawlerdetection","detect-crawler","detectcrawler","crawler-detect","crawlerdetect"],"author":{"name":"mahovich"},"license":"MIT","engines":{"node":">=6.0.0"},"gitHead":"a74e037baf8e3e2e91a7bdd08905794637ac87b6","_id":"isbot-fast@1.0.0","_nodeVersion":"11.13.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-kM5K0jnY13UO2EVCE5QTzn2j00vU3d2uVVcMnX8cASG6ZT3+x3EIxpfJb6DiEgXkEhueLDVqevE2is9knbcI/g==","shasum":"46ac1f917b5b10940e184b31bfbd850826ab06e8","tarball":"https://registry.npmjs.org/isbot-fast/-/isbot-fast-1.0.0.tgz","fileCount":5,"unpackedSize":5202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqrEOCRA9TVsSAnZWagAAqmUP/Rqe2wN5uiJwjEWrczYb\nFIlc1RQGNl8c7DVplMuL6Ma3gUPw6ICZFkXIZuettlftNkzRIzf2t8OvF7Ef\nz9oH3l3JCwa5vLzwot0CODSkUQ+y8ZTT/eh0diTMlj4MgyRQ/MZVCAwUdtJd\nJaVbcKMieA+feGgiPO+m5VlRZVSZKqVlOUqAegpxb2gIvNHJxzTtBY5IFhrH\nYQotFw51qPrFcuf7HE/U9kEEO3fkBTqzDcffydqvkuIg6YIZ19n4nQQoope7\n5yFJ5J5FR4LZL68c8JeHbewqIg1wLbPTAi0Rk1MjrzAOYskEB3NOLOPMk4K+\nRWJZpovHTzN5V8wSLoRugK1c3R4uhKlV+3XphtzavnmzDqqFYX6FUyVEMUyf\nPtrU2+NPXx8r/uJW8Omm59xDqM6WS8Q2WWKHMsF2Zh+cIRMvK31CgzzDXksw\ng/BEjuoQuZmUf1dz8oCQisDcz7UuwDCcJf84zf8pR76Z6MiZvCDnOJ+otgB6\nqv2jS8D/ITd/GYxT5jc299I9Jl1iLc0bS4jByf5hQYqXQen3jehCEVPELnOR\nnews8KRHpcxU3VKFEu75+i3vXziGYZMSOP6TGhDeekaj7lnb/aQ0I7pb9s12\nGqp07wcMNJGAZ/kDtIwSJPCyixDJYr8hxD5NE1LBpsXQNgXbcNnw9HijMF+w\nu1GP\r\n=Svyb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEAgzqiOWvCa2P4ZsmZWVhD97rU5KKxIOfkt0epukezwIgM/fWBUtRIFts2H/ZSDmczD6wWlJ/ssOeYTXY4YCxdYc="}]},"maintainers":[{"name":"mahovich","email":"devlog@tutanota.com"}],"_npmUser":{"name":"mahovich","email":"devlog@tutanota.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbot-fast_1.0.0_1554690317381_0.09558690135790227"},"_hasShrinkwrap":false},"1.0.1":{"name":"isbot-fast","version":"1.0.1","description":"JavaScript module detecting bots/crawlers/spiders via user-agent","main":"index.js","homepage":"https://github.com/mahovich/isbot-fast","repository":{"type":"git","url":"git+ssh://git@github.com/mahovich/isbot-fast.git"},"bugs":{"url":"https://github.com/mahovich/isbot-fast/issues"},"keywords":["bot","spider","robot","crawler","useragent","user-agent","detector","detect","detection","is-bot","isbot","bot-detection","botdetection","detect-bot","detectbot","bot-detect","botdetect","is-spider","isspider","spider-detection","spiderdetection","detect-spider","detectspider","spider-detect","spiderdetect","is-robot","isrobot","robot-detection","robotdetection","detect-robot","detectrobot","robot-detect","robotdetect","is-crawler","iscrawler","crawler-detection","crawlerdetection","detect-crawler","detectcrawler","crawler-detect","crawlerdetect"],"author":{"name":"mahovich"},"license":"MIT","engines":{"node":">=6.0.0"},"gitHead":"60a7b52d4f9a2a7463f69931b33f4940a915783b","_id":"isbot-fast@1.0.1","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-JJ0RkXvJSKv4oeqQcaRoPrByDy4st594tp9BTvRiF69odAxNj6JqJA5wLHy+9sLHoprgGrn1a7bWQXB6k6IGMg==","shasum":"0b9b3ace7a6d50299d8d14cc032041f54d5222c7","tarball":"https://registry.npmjs.org/isbot-fast/-/isbot-fast-1.0.1.tgz","fileCount":5,"unpackedSize":5201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdr2x1CRA9TVsSAnZWagAAPWQP/2P1PI0ixQdumjYsn1oP\nSbdMVrkB+stk9HSMB3oZCMMsLVMKawrmkLHIB0lVuwn4Cc/wMH+IHZAOKpQf\nr3y/isL6f11RorMZlgZQvHTAnrQYTzTwxzA5B5Qd1bnqbTh2qNGTBmJbMFnR\n8404NrvHKZVws8YMAYsIO9FCqcGbxkbANvyDtgZGCvwi8Ekyq7mUVmrej1Qy\nO/RBbm9A3eDo+YGrbrsm9IbYT+QpqIA0+4mvymh04Sd9cD5hWN2ZjyPCnsbW\nzZ0SZhJCjBT3rdJA4ygngSMJ3CAu2XRgsArXGZmcGYTzejmgIBUXkVerzSEE\ngJ80vQwngwwPhW3czoi3FMothyTZh3/jj/oPX3sgGp8T4I+GFpvFFhNQ1+uI\nDzSUNWq1FXOwhInf+GzHIMp+GshqKbOl8H3vDEymuyPd34kVM05V6Gb7EP24\nXsnsnifN9sunlpn+onnEoJ/QON+wY3wGo20ZCbOUUwFsNE6H4W/n7jbpeiLX\n+5vxeqHt0iecpdalL+RdSJBEga+VAz4T1YIHfDZvQs+DAxIoIwB27NA12aL0\nlvFPz2+zgb6SNffFJdFoKbyJTx5EmIOFZmUWuzzyahIgAu5hCsZRPAMk1/2n\n4qhB/SQ7RtatUkYSSfADQyYQiykueR/jiS35I2H8cKruonHS5O7r3XKPKrWw\nGsIj\r\n=V/C2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEUXtlagt406ihTjdHdrjtrjwllBh0BVRAc2Fw/yFH4xAiEAlDGc1JwSrAAaWSG2uUxVmnIFKjbFPHciyQNdXAJ9MDM="}]},"maintainers":[{"name":"mahovich","email":"devlog@tutanota.com"}],"_npmUser":{"name":"mahovich","email":"devlog@tutanota.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbot-fast_1.0.1_1571777652896_0.49179515481182445"},"_hasShrinkwrap":false},"1.1.0":{"name":"isbot-fast","version":"1.1.0","description":"JavaScript module detecting bots/crawlers/spiders via user-agent","main":"index.js","homepage":"https://github.com/mahovich/isbot-fast","repository":{"type":"git","url":"git+ssh://git@github.com/mahovich/isbot-fast.git"},"bugs":{"url":"https://github.com/mahovich/isbot-fast/issues"},"keywords":["bot","spider","robot","crawler","useragent","user-agent","detector","detect","detection","is-bot","isbot","bot-detection","botdetection","detect-bot","detectbot","bot-detect","botdetect","is-spider","isspider","spider-detection","spiderdetection","detect-spider","detectspider","spider-detect","spiderdetect","is-robot","isrobot","robot-detection","robotdetection","detect-robot","detectrobot","robot-detect","robotdetect","is-crawler","iscrawler","crawler-detection","crawlerdetection","detect-crawler","detectcrawler","crawler-detect","crawlerdetect"],"author":{"name":"mahovich"},"license":"MIT","engines":{"node":">=6.0.0"},"gitHead":"f0af5f319a3a48b132d5cfb6086e3e864cd397fb","_id":"isbot-fast@1.1.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-rN5KtQCk1tY25xtRz5XAyhLM4Dlj7d1nIhAD4nEkFYkdkmDhMILJ48DGAUPYMh7aI5S5SlBEadSvdxR7iOCC2A==","shasum":"86929f0b7b39c9077c426b7bfe8644a6ca3c33c4","tarball":"https://registry.npmjs.org/isbot-fast/-/isbot-fast-1.1.0.tgz","fileCount":5,"unpackedSize":5540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdueowCRA9TVsSAnZWagAAv1QP/31Vtq/nytPkKhdUOyHP\nV1+YtEevJLepd/9LGMn4D5cPWI7swrZm4M9CcCn1CW9jxj6Los601lIOmm1t\n7J2BCNg8B5oDFieL+Jk0vkUT44oR+OT2I8rtVcSkWywWgv+vQanZRFKI7k+1\n34EZ8PXl06VGoAhqHECtkNUG2L2miTz4npJf9JgPkCms6UQqAh88ZjTPHE7g\n3SArPvEIxfrNd7D42dYCHiAyumboC/3SSkXI44wTGq2aO0bAN+Z1dh+xmkhv\nk+ue51FuIv6CMpVxI6OHmtssp4ZN0K2f/BIveBVOFdqdPrSaONo26y/sz7kh\n9bS72gfCO/WYNSLrv41bAiTl1AUPik5C6zJxa0tu09z7pQDdEH7V7tDaFfzo\nECii6phAQQ0OMPNFFfyzy+wiY7ds8lvcUCom/6UAfFVDKNI+9bjVsOEYCiYv\nceoTsNmnqKcMkPYZeEI1q9PeGmhwtezOVifB9+4/HM75vYNIHbD1wLhsHDPo\nSGXOuXeR5SmJ7maaHVbkcSsN2fQDIw+EoL7ZgkkzkGlIDcYh6TcjcUl/hw7d\n/nmgh0XjOc1QgwfZKukSdoilZsXZqMeZpucedVS3Q5tI/U4UEbPnLwxqIs//\nB3+9UsxJ7BJRmpcgAg7ZDSMO+DB1uHte4H0IlYUhb8uDA6Tt618ksW0glbvC\nnTTV\r\n=kuyw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6uOiSq+cB50SKrpfkib39HENDX0DfTOnH/XFd0uPSJgIgZz+g6JOnxIWhyCxl2xzpOZKM06LUMiziDOi9GuuBlEY="}]},"maintainers":[{"name":"mahovich","email":"devlog@tutanota.com"}],"_npmUser":{"name":"mahovich","email":"devlog@tutanota.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbot-fast_1.1.0_1572465199996_0.9244230095889059"},"_hasShrinkwrap":false},"1.2.0":{"name":"isbot-fast","version":"1.2.0","description":"JavaScript module detecting bots/crawlers/spiders via user-agent","main":"index.js","homepage":"https://github.com/mahovich/isbot-fast","repository":{"type":"git","url":"git+ssh://git@github.com/mahovich/isbot-fast.git"},"bugs":{"url":"https://github.com/mahovich/isbot-fast/issues"},"keywords":["bot","spider","robot","crawler","useragent","user-agent","detector","detect","detection","is-bot","isbot","bot-detection","botdetection","detect-bot","detectbot","bot-detect","botdetect","is-spider","isspider","spider-detection","spiderdetection","detect-spider","detectspider","spider-detect","spiderdetect","is-robot","isrobot","robot-detection","robotdetection","detect-robot","detectrobot","robot-detect","robotdetect","is-crawler","iscrawler","crawler-detection","crawlerdetection","detect-crawler","detectcrawler","crawler-detect","crawlerdetect"],"author":{"name":"mahovich"},"license":"MIT","engines":{"node":">=6.0.0"},"gitHead":"a9f9968754d369176ca01e5954c45ea65fdca278","_id":"isbot-fast@1.2.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-twjuQzy2gKMDVfKGQyQqrx6Uy4opu/fiVUTTpdqtFsd7OQijIp5oXvb27n5EemYXaijh5fomndJt/SPRLsEdSg==","shasum":"ef0ef1d5db34eb60777250ae26fceb72b94153e2","tarball":"https://registry.npmjs.org/isbot-fast/-/isbot-fast-1.2.0.tgz","fileCount":5,"unpackedSize":5403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdugCwCRA9TVsSAnZWagAAIV4QAKBBVB84MvRDmFK9JEns\nJLdREsliR2LRy0GyYnJ0VUxHqZanthMOdhGt79CjX7GCbOmv0qA/cF2OJP3r\nKvfeV8eDkUlvp81GNMaGStM79UpOShJxLL7AOtrTUwMQmgqik93QR7qF0AeW\nUmmuK3GVkslK/aH+ELoNJqx4qodnpBQAvEx5TV22RV0SPrXbdYYNGZk9dG9J\n7GvmvTgmoGHVeNCufgpnLLWA4RBhpcNRH78ziEmI/ll7sL11ZhicNSEUzd3+\n9uxpSMadSwUkE6gWslM5sj+DY4uXE/XL2eBEMbwBrvxziFa1XYyuARBGrVdv\nUGYHonQrYuc9DtOlYCiRK9XI/JXhCDF7KXPjftZsoR80gb03ELAnA5YiyUi+\nQYHnr7GeJEUZg68Jew0cXhUFeZwUlLfw5UQeALCxcOrJ+hxyEz+snWNjnVJl\nuFRoGiPyJbKgZDQEdzI9hVnvWI+L6zeoHpRfcbW34FsVpuPTEnRQehBql0E3\nbZUMCtZNzMkoEmJG7VsgA6gUzoid7mRR9BQrQKHg4CSe2ZXsAgZvSJR0MT04\nGHvZrRK9UlO/hZB5l6HSmTFjAqPuliYQwtqVDGoY2HYS44iAo1wUduv1m50i\nPefkIOp8s1UQi47H7k3GlkE94xOZdbMgCGcdoNHQA+XDVdDKX7BdaiQEbNgO\nlQyQ\r\n=mLiJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRXxML2naEHwnf+ICEbD7h8mAgjOF/RFihLlXx/aEP0AiEAmflfKK9pUYpM31VXzUNszOaVx9ymFEe6tFTGNfvh0VY="}]},"maintainers":[{"name":"mahovich","email":"devlog@tutanota.com"}],"_npmUser":{"name":"mahovich","email":"devlog@tutanota.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isbot-fast_1.2.0_1572470960377_0.5748922062228703"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-08T02:25:17.380Z","1.0.0":"2019-04-08T02:25:17.554Z","modified":"2022-05-06T05:44:59.857Z","1.0.1":"2019-10-22T20:54:13.014Z","1.1.0":"2019-10-30T19:53:20.208Z","1.2.0":"2019-10-30T21:29:20.474Z"},"maintainers":[{"name":"mahovich","email":"devlog@tutanota.com"}],"description":"JavaScript module detecting bots/crawlers/spiders via user-agent","homepage":"https://github.com/mahovich/isbot-fast","keywords":["bot","spider","robot","crawler","useragent","user-agent","detector","detect","detection","is-bot","isbot","bot-detection","botdetection","detect-bot","detectbot","bot-detect","botdetect","is-spider","isspider","spider-detection","spiderdetection","detect-spider","detectspider","spider-detect","spiderdetect","is-robot","isrobot","robot-detection","robotdetection","detect-robot","detectrobot","robot-detect","robotdetect","is-crawler","iscrawler","crawler-detection","crawlerdetection","detect-crawler","detectcrawler","crawler-detect","crawlerdetect"],"repository":{"type":"git","url":"git+ssh://git@github.com/mahovich/isbot-fast.git"},"author":{"name":"mahovich"},"bugs":{"url":"https://github.com/mahovich/isbot-fast/issues"},"license":"MIT","readme":"# isbot-fast &middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mahovich/isbot-fast/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/isbot-fast.svg?style=flat)](https://www.npmjs.com/package/isbot-fast)\n\nThe `isbot-fast` package is needed to quickly identify most bots/crawlers/spiders using a user-agent. It runs more than 10 times faster than the `isbot` package.\n\nIn addition to the search bots, `isbot-fast` identifies:\n* bots of social networks and instant messengers\n* preview bots receiving meta-information about the page\n* some scanners and monitoring\n* content downloaders\n\nNote: the purpose of the package is not to determine absolutely all bots, since this will significantly slow down the speed of work. `isbot-fast` probably determines 99.5% of all requests sent by bots at the moment. If you want to identify even more existing bots, then pay attention to the `isbot` package.\n\nThe result of the function is a boolean value.\n\n## Installation\n\n```sh\nnpm install isbot-fast --save\n```\n\n## Usage\n\n```js\nconst isBot = require('isbot-fast');\n\nisBot('Googlebot/2.1 (+http://www.google.com/bot.html)');\n// true\n\nisBot('Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14');\n// false\n```\n\n## Extending\n\nIf you want to maintain performance and exclude some bots that bother you, then add these bots to the additional exclusion list as shown in the example below.\n\n```js\nconst isBot = require('isbot-fast');\n\nisBot('W3C_Validator/1.3');\n// false\n\nisBot.extend(['validator', 'image']);\n\nisBot('W3C_Validator/1.3');\n// true\n```\n\n## Use case\n\n```js\nconst isBot = require('isbot-fast');\nconst ua = req.headers['user-agent'] || '';\n\nif (isBot(ua)) {\n  // Provide static page for spiders when you have a single page app\n} else {\n  // Making cookies\n}\n```\n\n## License\n\n`isbot-fast` is [MIT licensed](https://github.com/mahovich/isbot-fast/blob/master/LICENSE).\n","readmeFilename":"README.md"}