{"id":4166,"url":"https://github.com/ovr/react-native-status-bar-height","last_synced_at":"2025-05-15T20:05:34.306Z","repository":{"id":25695946,"uuid":"104630060","full_name":"ovr/react-native-status-bar-height","owner":"ovr","description":"Small library that helps you to get status bar height, P.S 📱X supported ❤️","archived":false,"fork":false,"pushed_at":"2023-02-27T19:28:51.000Z","size":840,"stargazers_count":468,"open_issues_count":32,"forks_count":63,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-30T21:03:02.393Z","etag":null,"topics":[],"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/ovr.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}},"created_at":"2017-09-24T08:34:23.000Z","updated_at":"2025-03-21T20:47:35.000Z","dependencies_parsed_at":"2024-06-18T12:29:55.359Z","dependency_job_id":"66ebf5e3-a52f-45ae-83f8-4f35fbdaeec0","html_url":"https://github.com/ovr/react-native-status-bar-height","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovr%2Freact-native-status-bar-height","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovr%2Freact-native-status-bar-height/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovr%2Freact-native-status-bar-height/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ovr%2Freact-native-status-bar-height/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ovr","download_url":"https://codeload.github.com/ovr/react-native-status-bar-height/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252305184,"owners_count":21726616,"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-01-05T20:17:03.122Z","updated_at":"2025-05-15T20:05:28.985Z","avatar_url":"https://github.com/ovr.png","language":"TypeScript","funding_links":[],"categories":["Components","TypeScript"],"sub_categories":["UI"],"readme":"# react-native-status-bar-height\n\n\u003e Small library that helps you to get status bar height\n\nP.S. iPhone X supported :heart:\n\n## Install\n\n```bash\n$ npm install --save react-native-status-bar-height\n# OR\n$ yarn add react-native-status-bar-height\n```\n\n## Usage `getStatusBarHeight(skipAndroid: boolean = false)`\n\n```js\nimport { getStatusBarHeight } from 'react-native-status-bar-height';\n\n// 44 - on iPhone X\n// 20 - on iOS device\n// X - on Android platfrom (runtime value)\n// 0 - on all other platforms (default)\nconsole.log(getStatusBarHeight());\n\n// Will be 0 on Android, because you pass true to skipAndroid\nconsole.log(getStatusBarHeight(true));\n```\n\n## License\n\nThis project is open-sourced software licensed under the MIT License.\n\nSee the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovr%2Freact-native-status-bar-height","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fovr%2Freact-native-status-bar-height","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fovr%2Freact-native-status-bar-height/lists"}