# CreateJS/PreloadJS

PreloadJS makes preloading assets & getting aggregate progress events easier in JavaScript. It uses XHR2 when available, and falls back to tag-based loading when not.

Repository: https://github.com/CreateJS/PreloadJS
Canonical: https://ross.abutalabs.com/products/preloadjs
Homepage: http://createjs.com/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-07-24T16:54:01+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5307, "days_push": 1136, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2869, forks 740 (observed 2026-08-28T04:07:27.025554+00:00)

## What it is
PreloadJS is a JavaScript library that simplifies preloading assets like images, sounds, JavaScript, fonts, JSON, and text in the browser. It provides a consistent loading API with aggregate progress events, using XHR2 when available and falling back to tag-based loading otherwise.

## Use cases
- preload game assets before starting a level
- show a loading bar with aggregate progress for multiple files
- load images, sounds, and fonts with a single consistent API
- load a manifest of files in the browser
- fallback asset loading when XHR is unavailable

## When to choose
- you need coordinated preloading of many mixed asset types in the browser
- you want unified progress events across multiple file loads
- you are building HTML5 games or media-heavy pages on the CreateJS stack

## When to avoid
- you only need to load one or two resources with native fetch
- you are bundling assets with a modern build tool that handles preloading
- you need server-side asset loading in Node.js

## Facets
- artifact type: library
- maturity: maintenance
- function: file-upload, http-client
- domain: web-development, frontend, media
- platform: browser
- tags: asset-preloading, progress-events, createjs, xhr, html5, javascript

## Member repositories
- CreateJS/PreloadJS (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:27.025554+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:54.729519+00:00, confidence not recorded.
  - readme: https://github.com/CreateJS/PreloadJS (fetched 2026-08-28T04:07:27.025554+00:00, sha b255a52fd4ab)
  - homepage: http://createjs.com/ (fetched 2026-08-29T09:52:00.419937+00:00, sha 266ca1ecbad8)
  - registry_npm: https://registry.npmjs.org/preloadjs (fetched 2026-08-29T09:52:00.432052+00:00, sha 82ddba7b3876)
- Data as of 2026-08-30T08:39:29.467469+00:00.
