Boostify
The Boostify class is designed to manage the delayed execution of scripts in a web page, triggered by user interactions such as scrolling, mouse movement, or touch events. This approach optimizes script loading and execution, improving overall user experience.
Install
npm install Boostify
Import
import Boostify from 'path-to-boostify';
const boostify = new Boostify({});
html
Modify your scripts from
<script type="text/boostify"> </script>