show MacBook battery health information in your command line, only support Produced in 2010 and beyond MacBook
node>=18
cd savedYourPath/checkMacBookBatteryHealth
npm i && npm start
> checkmacbookbatteryhealth@1.0.0 start
> tsc && node .
used charge cycle count🔌: 135
remians charge cycle count: 865
battery health🔋: 97%