batteryhub
v0.1.3
Published
![](https://img.shields.io/github/package-json/v/kyriejoshua/batteryHub?style=for-the-badge) ![](https://img.shields.io/npm/dm/batteryHub?style=for-the-badge) ![](https://img.shields.io/github/languages/code-size/kyriejoshua/batteryHub?style=for-the-badge
Downloads
1
Maintainers
Readme
Installation
npm install batteryHub --save
yarn add batteryHub
Usage
- Javascript
import { getBatteryInfo, requestPermission } from 'batteryHub';
requestPermission();
getBatteryInfo();
Demo
- It will create a notification every time your computer changes its battery status.
That's all
- hahaha.