# requirejs/almond

A minimal AMD API implementation for use after optimized builds

Repository: https://github.com/requirejs/almond
Canonical: https://ross.abutalabs.com/products/almond
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2020-06-30T01:28:39+00:00

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

## Adoption (not part of the score)
Stars 2410, forks 160 (observed 2026-08-28T04:06:44.382559+00:00)

## What it is
Almond is a minimal AMD module loader API implementation intended as a tiny replacement for RequireJS in optimized/bundled builds. It is roughly 1KB minified and gzipped, supports loader plugins, and does not perform dynamic module loading.

## Use cases
- replace RequireJS in optimized single-file builds to reduce bundle size
- ship a library using AMD modules without forcing users to include a full AMD loader
- reduce JavaScript payload size for size-sensitive apps like mobile web
- bundle AMD modules with loader plugins like text templates into one file
- wrap optimized AMD builds so the AMD API does not leak to consumers

## When to choose
- your project uses AMD modules and the RequireJS optimizer to produce a single bundled file
- you need a tiny loader footprint and do not need dynamic code loading
- you are building a distributable library and want to hide the AMD API behind a closure

## When to avoid
- you need dynamic or lazy module loading at runtime
- you use RequireJS multiversion support, contexts, packages config, or require.toUrl()
- you are starting a new project - modern bundlers and ES modules are the standard today

## Facets
- artifact type: library
- maturity: maintenance
- function: build-tool, developer-tools
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: amd, module-loader, requirejs, javascript, bundling

## Member repositories
- requirejs/almond (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:44.382559+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:34:00.206751+00:00, confidence not recorded.
  - readme: https://github.com/requirejs/almond (fetched 2026-08-28T04:06:44.382559+00:00, sha 218009882d9e)
  - registry_npm: https://registry.npmjs.org/almond (fetched 2026-08-29T10:14:23.960451+00:00, sha 7a09e99c0494)
- Data as of 2026-08-30T08:39:29.467469+00:00.
