{"id":17300400,"url":"https://github.com/atomantic/is-ua-bot","last_synced_at":"2025-04-14T12:30:33.658Z","repository":{"id":57277667,"uuid":"93266150","full_name":"atomantic/is-ua-bot","owner":"atomantic","description":"🤖 tiny javascript module for checking user agents against a bot regex match (returns boolean)","archived":false,"fork":false,"pushed_at":"2019-06-27T22:39:52.000Z","size":42,"stargazers_count":5,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T01:48:06.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atomantic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-03T18:17:30.000Z","updated_at":"2023-01-19T01:53:39.000Z","dependencies_parsed_at":"2022-09-11T03:32:52.668Z","dependency_job_id":null,"html_url":"https://github.com/atomantic/is-ua-bot","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomantic%2Fis-ua-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomantic%2Fis-ua-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomantic%2Fis-ua-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atomantic%2Fis-ua-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atomantic","download_url":"https://codeload.github.com/atomantic/is-ua-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248602302,"owners_count":21131615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T11:28:11.715Z","updated_at":"2025-04-14T12:30:33.629Z","avatar_url":"https://github.com/atomantic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-ua-bot\n\n  An improved user-agent parser to detect bots\n\n  [![Build Status](https://travis-ci.org/atomantic/is-ua-bot.png)](https://travis-ci.org/atomantic/is-ua-bot)\n  [![](https://img.shields.io/npm/dm/is-ua-bot.svg?style=flat)](https://www.npmjs.org/package/is-ua-bot)\n  [![](https://img.shields.io/npm/v/is-ua-bot.svg?style=flat)](https://www.npmjs.org/package/is-ua-bot)\n  [![](https://img.shields.io/david/atomantic/is-ua-bot.svg?style=flat)](https://www.npmjs.org/package/is-ua-bot)\n\n## Installation\n\n    $ npm install is-ua-bot\n\n## Usage\n\n```js\nconst isBot = require('is-ua-bot')\n\n// just for testing:\nconst assert = require('assert')\n\n// identifies googlebot as bot (returns true)\nassert(isBot('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'))\n\n// Android Pixel is not a bot (returns false)\nassert(!isBot('Android 7.1; Pixel Build/NDE63P)'))\n```\n\n## Tests\n\nWe have a set of Bot agents in `./test/data/bots.js` and a set of known non-bots in `./text/data/not-bots.js`. Please contribute!\n\nRun tests\n```bash\nnpm test\n```\n\n## Author\n\n[![follow](https://img.shields.io/twitter/follow/antic.svg?style=social\u0026label=Follow)](https://twitter.com/antic)\n\nworthy of a tip? \n⚡ Lightning Bitcoin Tips Accepted https://tippin.me/@antic","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomantic%2Fis-ua-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatomantic%2Fis-ua-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatomantic%2Fis-ua-bot/lists"}