is-in-browser-viewport (npm): A package that checks if an element is in the browser viewport and provides a callback function when the element is in the viewport and when the element leaves the viewport
Keywords: check if an element is in the browser viewport|Viewport|Browser Viewport|on scroll check if element is in viewport|Intersection Observer API