# filamentgroup/loadCSS

Load CSS asynchronously

Repository: https://github.com/filamentgroup/loadCSS
Canonical: https://ross.abutalabs.com/products/loadcss
Language: JavaScript
License: MIT
License Family: permissive
Archived: true
Last push: 2022-10-20T21:01:34+00:00

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

## Adoption (not part of the score)
Stars 6636, forks 517 (observed 2026-08-28T04:09:45.859366+00:00)

## What it is
loadCSS is a small JavaScript utility and pattern for loading CSS stylesheets asynchronously so they do not block page rendering. It is now archived and no longer maintained, with the README recommending a plain HTML pattern instead.

## Use cases
- load css files without blocking page render
- dynamically inject a stylesheet from javascript
- defer non-critical css for faster first paint
- load css asynchronously with subresource integrity attributes
- insert a stylesheet before a specific element in the head

## When to choose
- you maintain a legacy codebase that already uses loadCSS
- you need a tiny dependency-free function to inject stylesheets programmatically in old browsers

## When to avoid
- starting a new project - the HTML media/print onload pattern needs no library
- you want actively maintained software with ongoing support

## Facets
- artifact type: library
- maturity: abandoned
- function: css-framework, developer-tools
- domain: web-development, frontend, performance
- platform: browser
- tags: css-loading, async-css, non-blocking, page-performance, archived, javascript

## Member repositories
- filamentgroup/loadCSS (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:45.859366+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-29T17:43:12.660848+00:00, confidence not recorded.
  - readme: https://github.com/filamentgroup/loadCSS (fetched 2026-08-28T04:09:45.859366+00:00, sha 1eba0641fbdb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
