Skip to content
CAI
Software that uses CAICheck a score

caolan/async

62.1

Adequate · 13 November 2026

7.3k

lines of production code

JavaScript

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is the Async library, a JavaScript utility for managing asynchronous control flow and data processing. It provides a suite of functions for parallel execution, waterfall sequencing, and queue management, supporting both callback-based and modern Promise/async-await patterns. The codebase is structured as a modular ES library that compiles into UMD and ES module bundles for broad environment compatibility.

How it got here

2010 — Build tooling modernization and distribution

4 changes.

The project modernized its development environment by replacing legacy tools with ESLint, Babel, and Mocha, while removing the nodeunit dependency. This period also established a standardized build process via a Makefile and produced the initial distribution bundles for browser and Node.js integration.

2015 — Async library v3 rewrite

4 changes.

The codebase underwent a comprehensive rewrite for version 3, migrating to ES modules and introducing awaitable methods that return Promises. This modernization included internal refactoring with modern data structures and the addition of new control flow utilities. A new performance benchmarking suite and automated build verification infrastructure were also implemented to support the updated architecture.

2016–2018 — Build modernization and documentation overhaul

8 changes.

The project refactored its build system to support ES modules and UMD bundles using Rollup and Babel, enabling flexible module consumption. Simultaneously, the documentation was redesigned with the Minami theme, Bootstrap 3, and client-side search to improve usability and navigation. Test coverage was expanded to include core utilities and ES2017 async features, ensuring robustness for modern JavaScript environments.

Features

Add OpenSans webfont files to JSDoc theme

The JSDoc documentation theme now includes the OpenSans-Bold and OpenSans-BoldItalic SVG webfont files in its static assets directory, ensuring consistent typography for generated documentation pages.

support/jsdoc/theme/static · high confidence

Added Minami JSDoc theme support

The project now includes the Minami theme for JSDoc 3 documentation generation. This change adds the theme's source files, including the main publish script, configuration, and assets, along with its Apache 2.0 license and README documentation. Users can now utilize this clean, responsive template when generating API documentation for the project.

support/jsdoc/theme · high confidence

Added logo assets in SVG, AI, and PDF formats

The \logo\ directory now includes the project logo in multiple formats: a vector SVG (\async-logo.svg\), an editable Adobe Illustrator file (\async-logo.ai\), and a PDF version. These files provide the brand asset in scalable and editable formats for use in documentation, web headers, and design workflows.

logo · high confidence

Added performance benchmarking suite

A new performance testing infrastructure has been added to the \perf\ directory, allowing users to benchmark the library's execution speed. This includes a main runner script (\benchmark.js\) that compares specific library versions (e.g., a git tag against the current working version) using the \Benchmark\ library, with support for filtering tests via grep/reject options. The suite defines specific benchmarks for core functions such as \each\, \map\, \filter\, \concat\, and \eachOf\ across various input sizes (10, 300, 10000) in \suites.js\, and includes a separate memory usage test (\memory.js\) for waterfall operations.

perf · high confidence

Initial release of the async library distribution bundle

The \dist\ directory now contains the built \async.js\ and \async.min.js\ files, providing the complete library for browser and Node.js environments. This bundle exposes the full suite of asynchronous control flow functions (such as \parallel\, \waterfall\, \queue\, and \map\), utility helpers (like \asyncify\ and \memoize\), and the default export object, enabling users to integrate the library directly via script tags or module loaders.

dist · high confidence

Architecture

Modernized build tooling and project configuration

The project has introduced a standardized development environment by adding configuration files for ESLint (.eslintrc.json), Babel (.babelrc), EditorConfig (.editorconfig), and Git (.gitignore, .gitattributes). A comprehensive Makefile has been added to manage linting, testing, and building distribution bundles (UMD and ES modules). Additionally, legacy tooling has been removed, including the old test runner (test.js) and the nodeunit git submodule, in favor of the new ESLint and Mocha-based setup.

(repo-wide) · high confidence

Behavioural changes

Async library v3 rewrite with ES modules and awaitable methods

The \lib\ directory has been completely rewritten for version 3, migrating the codebase to ES modules (\.js\ files with \export default\) and introducing awaitable methods that return Promises when no callback is provided. This change adds new control flow utilities such as \cargoQueue\, \autoInject\, and \doUntil\, while updating existing functions like \asyncify\ to support ES2017 async functions and \auto\ to use Kahn's algorithm for cycle detection. The library now standardizes on \awaitify\ wrappers for promise support and includes internal helpers like \wrapAsync\ and \initialParams\ to handle modern function signatures.

lib · high confidence

Build system refactored to support ES modules and UMD bundles

The build process has been restructured to decouple module compilation from bundling, introducing separate scripts for compiling individual modules and aggregating them into final bundles. This change enables the generation of both ES module (\.mjs\) and UMD (\async.js\) formats from the same source, replacing the previous single-output approach. The new build pipeline uses Rollup for bundling and Babel for transpilation, allowing consumers to choose the module format that best fits their environment.

support/build · high confidence

Documentation theme updated to Minami with Bootstrap 3 and CDN assets

The JSDoc documentation theme has been replaced with the Minami theme, introducing a Bootstrap 3-based layout with a fixed navbar, scroll-spy navigation, and an autofocus search input. The visual presentation now uses the Tomorrow Night syntax highlighting style for code blocks and Montserrat fonts. Assets such as Bootstrap, jQuery, Ionicons, and Prettify are loaded via jsDelivr CDN, and the navigation includes a version dropdown for v3.0.x, v2.6.2, and v1.5.x, along with links to the changelog and GitHub.

support/jsdoc/theme/tmpl · high confidence

Internal refactoring to ES modules and modern data structures

The internal implementation has been rewritten using ES modules and modern JavaScript features. Queues now use a custom DoublyLinkedList for improved performance, and priority queues use a binary heap. The codebase now supports ES2015 iterators and async generators, and many internal functions are now awaitable (returning promises when no callback is provided).

lib/internal · high confidence

The documentation generation pipeline has been restructured to produce a modern, single-page-style documentation experience. A new JSDoc plugin automatically injects ES6 import examples into method comments, while post-processing scripts consolidate individual module pages into a single 'docs.html' view with a unified table of contents and Bootstrap scroll-spy for navigation. The site now features a client-side search bar powered by Bloodhound that indexes methods, source files, and GitHub issues, along with a fixed header and improved styling for better readability.

support/jsdoc · high confidence

Test coverage

Added test coverage for ES2017 async features; Automated index generation and build verification infrastructure; Expanded test coverage for async library functions.

Dependencies

Removal of nodeunit dependency

The nodeunit submodule has been removed from the project dependencies. This change eliminates the nodeunit testing framework from the codebase, likely as part of a migration to a different testing solution or to reduce external dependencies.

deps · high confidence

Update development dependencies and lockfile for Async 3.2.6

The project's development tooling has been updated to support the 3.2.6 release, including a new package-lock.json and refreshed package.json. Key upgrades include Babel core to 7.29.0, ESLint parser to 7.28.6, Rollup to 4.2.0, and Yargs to 18.0.0. Additionally, security overrides have been added for elliptic and browserify-sign to address known vulnerabilities.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 62 → 62 (-0.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 70 → 69 (-0.8)
  • Architecture 94 → 94 (+0.0)
  • Maturity 56 → 53 (-3.4)
  • Readiness 67 → 66 (-0.3)
  • Security 63 → 75 (+12.5)
  • Performance 86 → 75 (-10.7)

Resolved (4)

  • High CVE: [GHSA redacted] (package-lock.json)
  • Off-boarding risk: anonymized user #1
  • eachOfLimit.default (cognitive 18) (lib/internal/eachOfLimit.js)
  • eachOfLimit.default (cyclomatic 16) (lib/internal/eachOfLimit.js)

New (4)

  • High CVE: [GHSA redacted] (package-lock.json)
  • Off-boarding risk: anonymized user #1
  • eachOfLimit.default.<returned closure> (cognitive 18) (lib/internal/eachOfLimit.js)
  • eachOfLimit.default.<returned closure> (cyclomatic 16) (lib/internal/eachOfLimit.js)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

caolan/async was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 3921e54bd0704157dbea238fdfcc0c3619abde1a — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.63+preprod-4a8cc97a9484.