{"id":22733397,"url":"https://github.com/gillstrom/is-charging","last_synced_at":"2025-04-14T01:54:15.911Z","repository":{"id":57277009,"uuid":"64169140","full_name":"gillstrom/is-charging","owner":"gillstrom","description":"Find out if a computer is charging","archived":false,"fork":false,"pushed_at":"2018-05-16T06:29:33.000Z","size":7,"stargazers_count":75,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T01:54:11.017Z","etag":null,"topics":["charging","cli","javascript","node"],"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/gillstrom.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-07-25T21:28:10.000Z","updated_at":"2023-03-21T07:09:20.000Z","dependencies_parsed_at":"2022-09-17T02:22:20.473Z","dependency_job_id":null,"html_url":"https://github.com/gillstrom/is-charging","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillstrom%2Fis-charging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillstrom%2Fis-charging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillstrom%2Fis-charging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillstrom%2Fis-charging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gillstrom","download_url":"https://codeload.github.com/gillstrom/is-charging/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809032,"owners_count":21164895,"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":["charging","cli","javascript","node"],"created_at":"2024-12-10T20:14:21.471Z","updated_at":"2025-04-14T01:54:15.893Z","avatar_url":"https://github.com/gillstrom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-charging\n\n\u003e Find out if a computer is charging\n\n\n## Install\n\n```\n$ npm install is-charging\n```\n\n\n## Usage\n\n```js\nconst isCharging = require('is-charging');\n\nisCharging().then(result =\u003e {\n\tconsole.log(result);\n\t//=\u003e true\n});\n```\n\n\n## API\n\n### isCharging()\n\nReturns a promise that resolves in to a `Boolean`.\n\n\n## Related\n\n* [is-charging-cli](https://github.com/gillstrom/is-charging-cli) - CLI for this module\n* [battery-level](https://github.com/gillstrom/battery-level) - Get current battery level\n* [browser-battery](https://github.com/gillstrom/browser-battery) - Get and watch battery information in a browser\n\n\n## License\n\nMIT © [Andreas Strandman](https://github.com/gillstrom)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgillstrom%2Fis-charging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgillstrom%2Fis-charging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgillstrom%2Fis-charging/lists"}