CountUp.js is a dependency-free, lightweight JavaScript class that animates a numerical value by counting to it.
Install via npm/yarn using the package name countup.js.
Current stars:
Use the autoAnimate option to animate when the target element appears.