preload

0.1.0 • Public • Published

preload experimental

Load images, scripts and CSS with XHR progress events where supported.

This has been written more for large, script/asset-heavy pages such as games or WebGL demos where the page is already going to take 5+ seconds to load. As such, it's not as small as it could be - I'd recommend LazyLoad if you're looking for a lightweight solution.

Usage

preload

Work in progress.

License

MIT. See LICENSE.md for details.

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i preload

    Weekly Downloads

    12

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • franciscop