{"id":15048270,"url":"https://github.com/github/browser-detection","last_synced_at":"2025-10-04T08:31:12.868Z","repository":{"id":65974827,"uuid":"101988779","full_name":"github/browser-detection","owner":"github","description":"A utility for detecting browsers in Braintree libs.","archived":true,"fork":true,"pushed_at":"2017-08-31T13:54:01.000Z","size":32,"stargazers_count":17,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-25T21:09:52.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"braintree/browser-detection","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-31T10:20:01.000Z","updated_at":"2024-07-31T03:19:41.000Z","dependencies_parsed_at":"2023-02-19T18:01:03.182Z","dependency_job_id":null,"html_url":"https://github.com/github/browser-detection","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fbrowser-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fbrowser-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fbrowser-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fbrowser-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/browser-detection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219876581,"owners_count":16554769,"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-09-24T21:10:01.751Z","updated_at":"2025-10-04T08:31:12.259Z","avatar_url":"https://github.com/github.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Browser Detection\n=================\n\nA utility for detecting browser support for Braintree libs.\n\n## Example\n\n```js\nvar browserDetection = require('browser-detection');\n\nbrowserDetection.isAndroid();\nbrowserDetection.isChrome();\nbrowserDetection.isEdge();\nbrowserDetection.isIe();\nbrowserDetection.isIe9();\nbrowserDetection.isIe10();\nbrowserDetection.isIe11();\nbrowserDetection.isIos();\nbrowserDetection.isIosFirefox();\nbrowserDetection.isIosSafari();\nbrowserDetection.isIosWebview();\nbrowserDetection.isIosUIWebView();\nbrowserDetection.isIosWKWebView();\nbrowserDetection.isMobileFirefox();\nbrowserDetection.isSamsungBrowser();\nbrowserDetection.supportsPopups();\n```\n\nTo reduce build sizes, you can require just the modules you need:\n\n```js\nvar isAndroid = require('browser-detection/is-android');\nvar isChrome = require('browser-detection/is-chrome');\nvar isEdge = require('browser-detection/is-edge');\nvar isIe = require('browser-detection/is-ie');\nvar isIe9 = require('browser-detection/is-ie9');\nvar isIe10 = require('browser-detection/is-ie10');\nvar isIe11 = require('browser-detection/is-ie11');\nvar isIos = require('browser-detection/is-ios');\nvar isIosFirefox = require('browser-detection/is-ios-firefox');\nvar isIosSafari = require('browser-detection/is-ios-safari');\nvar isIosWebview = require('browser-detection/is-ios-webview');\nvar isIosUIWebview = require('browser-detection/is-ios-uiwebview');\nvar isIosWKWebview = require('browser-detection/is-ios-wkwebview');\nvar isMobileFirefox = require('browser-detection/is-mobile-firefox');\nvar isSamsungBrowser = require('browser-detection/is-samsung');\nvar supportsPopups = require('browser-detection/supports-popups');\n```\n\n## Testing\n\n```sh\nnpm test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fbrowser-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Fbrowser-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fbrowser-detection/lists"}