# amorey/loadjs

A tiny async loader / dependency manager for modern browsers (961 bytes)

Repository: https://github.com/amorey/loadjs
Canonical: https://ross.abutalabs.com/products/loadjs
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, async, loadjs, parallel, modern-browsers, css-files
Last push: 2024-09-26T06:27:15+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4073, "days_push": 706, "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 2574, forks 148 (observed 2026-08-28T04:07:01.566568+00:00)

## What it is
LoadJS is a tiny (961 bytes) async loader and dependency manager for modern browsers that fetches JavaScript, CSS, and image files in parallel. It lets you define dependency bundles and execute callbacks once all dependencies have loaded, with success/error handling and optional Promise support.

## Use cases
- load javascript and css files in parallel in the browser
- manage script dependencies and run code when they're ready
- lazy-load scripts after page load
- retry failed script loads with a configurable retry count
- load dependency bundles with success and error callbacks

## When to choose
- you need a tiny, dependency-free script loader for modern browsers
- you want simple dependency bundle management without a full module bundler
- you need to load JS and CSS assets in parallel with callbacks

## When to avoid
- you use a bundler like webpack or Vite that handles dependency loading at build time
- you need AMD/CommonJS module loading rather than plain script injection
- you need to support browsers older than IE9

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: async-loader, dependency-management, script-loading, css-loading, micro-library, javascript

## Member repositories
- amorey/loadjs (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:01.566568+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-30T02:22:45.371450+00:00, confidence not recorded.
  - readme: https://github.com/amorey/loadjs (fetched 2026-08-28T04:07:01.566568+00:00, sha 97e31b593436)
- Data as of 2026-08-30T08:39:29.467469+00:00.
