{"id":20755514,"url":"https://github.com/slimcandy/isit-hdr-ready","last_synced_at":"2026-05-23T03:35:27.010Z","repository":{"id":65703075,"uuid":"594495505","full_name":"slimcandy/isit-hdr-ready","owner":"slimcandy","description":"Pure js NPM package to check hdr support in css (browser and hardware)","archived":false,"fork":false,"pushed_at":"2025-04-30T18:19:31.000Z","size":141,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T12:22:34.138Z","etag":null,"topics":["css4","hdr","npm-package"],"latest_commit_sha":null,"homepage":"https://hdr.js.garden","language":"HTML","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/slimcandy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-28T18:18:40.000Z","updated_at":"2023-06-08T13:06:03.000Z","dependencies_parsed_at":"2023-02-18T23:46:01.938Z","dependency_job_id":null,"html_url":"https://github.com/slimcandy/isit-hdr-ready","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slimcandy/isit-hdr-ready","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimcandy%2Fisit-hdr-ready","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimcandy%2Fisit-hdr-ready/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimcandy%2Fisit-hdr-ready/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimcandy%2Fisit-hdr-ready/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slimcandy","download_url":"https://codeload.github.com/slimcandy/isit-hdr-ready/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slimcandy%2Fisit-hdr-ready/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33381989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T01:21:08.577Z","status":"online","status_checked_at":"2026-05-23T02:00:05.530Z","response_time":53,"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":["css4","hdr","npm-package"],"created_at":"2024-11-17T09:25:52.882Z","updated_at":"2026-05-23T03:35:22.002Z","avatar_url":"https://github.com/slimcandy.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HDR check\n\nPure js NPM package to check hdr support in css (browser and hardware)\n\n[homepage](https://hdr.js.garden) | [github](https://github.com/slimcandy/isit-hdr-ready)\n\n## Installation\n\nInstall it in a project\n\n```bash\nnpm install isit-hdr-ready\n```\n\n## Basic usage\n\nYou can use it in your markup like this:\n\n```html\n\u003cp class=\"hdr-not-ready-message\"\u003e✅ Browser support sRGB\u003c/p\u003e\n\u003cp class=\"hdr-ready-message hidden\"\u003e✅ Browser and Hardware is HDR ready\u003c/p\u003e\n```\n\nThen check hdr support and change block, picture or js logic:\n\n```js\nimport isitHDRReady from \"isit-hdr-ready\";\n\nconst hdrReadyMessage = document.querySelector(\".hdr-ready-message\");\nif (isitHDRReady()) {\n  hdrReadyMessage.classList.remove(\"hidden\");\n}\n```\n\n## ⚠️ It checks only display-p3 support\n\n## Contributors\n\n\u003ca href=\"https://github.com/slimcandy/isit-hdr-ready/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=slimcandy/isit-hdr-ready\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimcandy%2Fisit-hdr-ready","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslimcandy%2Fisit-hdr-ready","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslimcandy%2Fisit-hdr-ready/lists"}