# sstephenson/stitch

Stitch your CommonJS modules together for the browser

Repository: https://github.com/sstephenson/stitch
Canonical: https://ross.abutalabs.com/products/sstephenson-stitch
Language: CoffeeScript
License: MIT
License Family: permissive
Archived: true
Last push: 2012-11-02T14:08:32+00:00

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

## Adoption (not part of the score)
Stars 1039, forks 80 (observed 2026-08-28T04:03:19.925297+00:00)

## What it is
Stitch is a Node.js library that bundles CommonJS modules so they can run in the browser, either served via Express or compiled to a file. It lets developers write browser JavaScript as CommonJS modules during development.

## Use cases
- bundle CommonJS modules for the browser
- serve a JavaScript package from an Express server
- compile browser JavaScript into a single file
- develop browser code using Node.js module style

## When to choose
- maintaining a legacy project already using Stitch
- you specifically want CommonJS-style modules in the browser with a tiny tool

## When to avoid
- starting a new project — use modern bundlers like esbuild, Rollup, or webpack
- you need ES modules, tree-shaking, or active maintenance

## Facets
- artifact type: library
- maturity: abandoned
- function: build-tool, developer-tools
- domain: web-development, frontend
- platform: browser
- tags: commonjs, module-bundling, coffeescript, express, javascript, nodejs

## Member repositories
- sstephenson/stitch (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:19.925297+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:03:55.596903+00:00, confidence not recorded.
  - readme: https://github.com/sstephenson/stitch (fetched 2026-08-28T04:03:19.925297+00:00, sha 96924fa25148)
  - registry_npm: https://registry.npmjs.org/stitch (fetched 2026-08-29T13:04:41.305142+00:00, sha f36faf2edfe1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
