{"id":19506094,"url":"https://github.com/emrocode/darkify-js","last_synced_at":"2026-02-16T15:03:49.909Z","repository":{"id":65370702,"uuid":"570567042","full_name":"emrocode/darkify-js","owner":"emrocode","description":"🌚 A simple dark mode toggle library","archived":false,"fork":false,"pushed_at":"2025-09-07T18:29:42.000Z","size":394,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-20T18:44:39.892Z","etag":null,"topics":["automatic-theme","color-scheme","dark-mode","darkify","darkify-js","light-mode","night-mode","npm-package","theme-switcher","theme-toggle","typescript"],"latest_commit_sha":null,"homepage":"https://npm.im/darkify-js","language":"TypeScript","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/emrocode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"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":"2022-11-25T13:57:23.000Z","updated_at":"2025-09-07T18:29:41.000Z","dependencies_parsed_at":"2024-04-01T16:26:36.063Z","dependency_job_id":"9626c6a2-3ba1-47fb-b049-ec12c4419d61","html_url":"https://github.com/emrocode/darkify-js","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"7c1ccaf907becdb4284618f1ffe20f7ddb56198c"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/emrocode/darkify-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrocode%2Fdarkify-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrocode%2Fdarkify-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrocode%2Fdarkify-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrocode%2Fdarkify-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emrocode","download_url":"https://codeload.github.com/emrocode/darkify-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrocode%2Fdarkify-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29510525,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automatic-theme","color-scheme","dark-mode","darkify","darkify-js","light-mode","night-mode","npm-package","theme-switcher","theme-toggle","typescript"],"created_at":"2024-11-10T22:35:37.009Z","updated_at":"2026-02-16T15:03:49.891Z","avatar_url":"https://github.com/emrocode.png","language":"TypeScript","readme":"# Darkify JS\n[![Run tests](https://github.com/emrocode/darkify-js/actions/workflows/tests.yml/badge.svg)](https://github.com/emrocode/darkify-js/actions/workflows/tests.yml)\n\n🌚 A simple dark mode toggle library that makes it easy to implement dark mode on your website without additional configuration\n\n\u003e Please make sure to read the [Wiki] for detailed documentation and examples\n\n### 📦 Installation\n\nUse npm or any other package manager:\n\n```bash\nnpm install darkify-js\n```\n\n### ⚙️ Setup\n\n```js\n// main.js\nimport Darkify from 'darkify-js';\n\nconst options = {\n  autoMatchTheme: true,\n};\n\n// autoMatchTheme: default is true\n// useLocalStorage: default is true\n// useSessionStorage: default is false\n// useColorScheme: default is ['#ffffff', '#000000']\n\nnew Darkify('#element', options);\n```\n\n[Wiki]: https://github.com/emrocode/darkify-js/wiki\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femrocode%2Fdarkify-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femrocode%2Fdarkify-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femrocode%2Fdarkify-js/lists"}