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