{"id":41064083,"url":"https://github.com/reeq-dev/react-native-device-brightness","last_synced_at":"2026-01-22T12:29:57.114Z","repository":{"id":62888033,"uuid":"563070695","full_name":"reeq-dev/react-native-device-brightness","owner":"reeq-dev","description":"React-Native library which allows you to change devices brightness level","archived":false,"fork":false,"pushed_at":"2025-11-10T11:43:13.000Z","size":1827,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-10T13:15:23.429Z","etag":null,"topics":["android","ios","react-native"],"latest_commit_sha":null,"homepage":"","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/reeq-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-07T21:02:13.000Z","updated_at":"2025-11-10T11:43:17.000Z","dependencies_parsed_at":"2022-11-08T14:00:56.643Z","dependency_job_id":null,"html_url":"https://github.com/reeq-dev/react-native-device-brightness","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/reeq-dev/react-native-device-brightness","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reeq-dev%2Freact-native-device-brightness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reeq-dev%2Freact-native-device-brightness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reeq-dev%2Freact-native-device-brightness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reeq-dev%2Freact-native-device-brightness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reeq-dev","download_url":"https://codeload.github.com/reeq-dev/react-native-device-brightness/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reeq-dev%2Freact-native-device-brightness/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28662962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["android","ios","react-native"],"created_at":"2026-01-22T12:29:55.478Z","updated_at":"2026-01-22T12:29:57.107Z","avatar_url":"https://github.com/reeq-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-device-brightness\n\nReact-Native library which allows you to control device brightness\n\n## Compatibility\n\n- **v1.0.6** — compatible with both the old and the new React Native architectures\n- **v2.0.0 and above** — compatible **only with the new architecture**\n\n## Installation\n\n```sh\nnpm install @reeq/react-native-device-brightness\n```\n\nor\n\n```sh\nyarn add @reeq/react-native-device-brightness\n```\n\nand\n\n```sh\ncd ios/\npod install\n```\n\n## Usage\n\n```js\nimport {\n    setBrightnessLevel,\n    getBrightnessLevel,\n    useDeviceBrightness,\n    resetBrightness,\n} from '@reeq/react-native-device-brightness';\n\n/**\n * setting brightness a required level\n * @param level: required\n */\nsetBrightnessLevel(level: number);\n\n// getting brightness\nconst brightness = getBrightnessLevel();\n\n// reseting brightness\nresetBrightness();\n\n/**\n * Hook sets a brightness level, will trigger each time when level is changed.\n * It also releases controlling brightness when app goes into inactive/background state\n * and restore when it comes back to foreground state.\n * This is just a javascript implementation. You may write you own using static methods.\n * @param level: required\n * @param resetOnUnmount: optional. Default is false.\n */\n \nuseDeviceBrightness(level: number, resetOnUnmount?: boolean);\n```\n\n## Contributing\n\n- [Development workflow](CONTRIBUTING.md#development-workflow)\n- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)\n- [Code of conduct](CODE_OF_CONDUCT.md)\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freeq-dev%2Freact-native-device-brightness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freeq-dev%2Freact-native-device-brightness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freeq-dev%2Freact-native-device-brightness/lists"}