{"id":28405710,"url":"https://github.com/hwclass/react-battery","last_synced_at":"2025-07-21T13:33:00.578Z","repository":{"id":67697305,"uuid":"50875085","full_name":"hwclass/react-battery","owner":"hwclass","description":"React component for tracking the battery status of your computer or mobile device","archived":false,"fork":false,"pushed_at":"2016-02-04T07:34:00.000Z","size":7,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T06:11:27.789Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hwclass.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}},"created_at":"2016-02-01T22:10:24.000Z","updated_at":"2016-02-13T20:32:03.000Z","dependencies_parsed_at":"2023-04-26T20:13:25.887Z","dependency_job_id":null,"html_url":"https://github.com/hwclass/react-battery","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"f5817760c08db320ae2bb24ad7a1770e4732e4a5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hwclass/react-battery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Freact-battery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Freact-battery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Freact-battery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Freact-battery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hwclass","download_url":"https://codeload.github.com/hwclass/react-battery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwclass%2Freact-battery/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266311997,"owners_count":23909742,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2025-06-01T22:08:52.511Z","updated_at":"2025-07-21T13:33:00.566Z","avatar_url":"https://github.com/hwclass.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-battery\nReact component for tracking the battery status of your computer or mobile device\n\n###Note: Available only on Firefox using Battery API defaultly\n\n###Install\n``` javascript\nimport Battery from 'Battery'\n```\n\n###Embed\nUse imported src/render.js into your HTML file or write your own:\n\n``` javascript\nReactDOM.render(\u003cBattery/\u003e;, document.getElementById('your-element-id'))\n\u003c/code\u003e\n```\n\n###[JSFiddle Example](https://jsfiddle.net/hwclass/kqjepfh4/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwclass%2Freact-battery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhwclass%2Freact-battery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwclass%2Freact-battery/lists"}