{"id":32266903,"url":"https://github.com/barisaydinoglu/detectizr","last_synced_at":"2025-10-22T21:52:47.788Z","repository":{"id":3214231,"uuid":"4248810","full_name":"barisaydinoglu/Detectizr","owner":"barisaydinoglu","description":"A Modernizr extension to detect device, device model, screen size, operating system, and browser details","archived":false,"fork":false,"pushed_at":"2023-06-01T08:26:33.000Z","size":746,"stargazers_count":413,"open_issues_count":16,"forks_count":77,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-10-03T09:59:52.263Z","etag":null,"topics":["browser-detection","device-detection","modernizr"],"latest_commit_sha":null,"homepage":"http://barisaydinoglu.github.io/Detectizr","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barisaydinoglu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-05-07T11:20:59.000Z","updated_at":"2025-06-12T14:11:11.000Z","dependencies_parsed_at":"2022-07-29T00:48:33.940Z","dependency_job_id":null,"html_url":"https://github.com/barisaydinoglu/Detectizr","commit_stats":{"total_commits":90,"total_committers":14,"mean_commits":6.428571428571429,"dds":"0.30000000000000004","last_synced_commit":"39667a7cf3234a70f28c13754e042b37da371ae2"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/barisaydinoglu/Detectizr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barisaydinoglu%2FDetectizr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barisaydinoglu%2FDetectizr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barisaydinoglu%2FDetectizr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barisaydinoglu%2FDetectizr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barisaydinoglu","download_url":"https://codeload.github.com/barisaydinoglu/Detectizr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barisaydinoglu%2FDetectizr/sbom","scorecard":{"id":225864,"data":{"date":"2025-08-11","repo":{"name":"github.com/barisaydinoglu/Detectizr","commit":"39667a7cf3234a70f28c13754e042b37da371ae2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":4,"reason":"Found 8/20 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: MIT-LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: MIT-LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T03:47:58.384Z","repository_id":3214231,"created_at":"2025-08-17T03:47:58.384Z","updated_at":"2025-08-17T03:47:58.384Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280520817,"owners_count":26344438,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["browser-detection","device-detection","modernizr"],"created_at":"2025-10-22T21:52:47.010Z","updated_at":"2025-10-22T21:52:47.782Z","avatar_url":"https://github.com/barisaydinoglu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Detectizr\n[![Build Status](https://secure.travis-ci.org/barisaydinoglu/Detectizr.png?branch=master)](https://travis-ci.org/barisaydinoglu/Detectizr)\n[![Stories in Ready](https://badge.waffle.io/barisaydinoglu/detectizr.png?label=ready)](https://waffle.io/barisaydinoglu/detectizr)\n[![devDependency Status](https://david-dm.org/barisaydinoglu/detectizr/dev-status.png?theme=shields.io)](https://david-dm.org/barisaydinoglu/detectizr#info=devDependencies)\n[![jsDelivr Hits](https://data.jsdelivr.com/v1/package/npm/detectizr/badge?style=rounded)](https://www.jsdelivr.com/package/npm/detectizr)\n\n\nDetectizr is a Modernizr extension to detect\n* device\n* device model\n* device orientation\n* screen size\n* operating system\n* operating system version\n* operating system version full\n* browser\n* browser version\n* browser engine\n* browser plugins\n\nDetection of these sets are optional and can be disabled.\n\nDetectable device types are: tv (includes smart tv and game console), mobile, tablet, and desktop.\nDevice models of tv, mobile and tablet are being detected.\n\nCode quality of Detectizr is validated via [JSLint](http://www.jslint.com \"JSLint\") \u0026 [JSHint](http://www.jshint.com \"JSHint\").\n\n## Sample Usage\n\nThis is a library that uses your trusty little Modernizr to give you the possibility of specifying required features for a certain stylesheet.\nUsing it is a simple matter, illustrated in the following excerpt:\n\n```html\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript src=\"modernizr.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"detectizr.js\"\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cscript\u003e\n      Detectizr.detect({detectScreen:false});\n    \u003c/script\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\nJust remember to include Modernizr before Detectizr, and you're good to go!\n\nLicensed under MIT license.\n\n## Note for Modernizr 3.x\n\nYou will need to have a build of Modernizr with the addTest (Modernizr.addTest()) option.\nIf done from the website, you can find it \n\n## Other interesting projects\n\n* [Modernizr](https://github.com/Modernizr/Modernizr \"Modernizr\") is required for Detectizer. Remember to put Modernizr before Detectizr.\n* [Categorizr](https://github.com/bjankord/Categorizr \"Categorizr\") is a server side device and OS detection script wirtten in PHP. Detectizr inspired by its device detection.\n* [CSS Browser Selector] (http://rafael.adm.br/css_browser_selector/ \"CSS Browser Selector\") is a client side browser detection script. Detectizr inspired by its browser detection.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarisaydinoglu%2Fdetectizr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarisaydinoglu%2Fdetectizr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarisaydinoglu%2Fdetectizr/lists"}