# flatiron

framework components for node.js and the browser

Repository: https://github.com/flatiron/flatiron
Canonical: https://ross.abutalabs.com/products/flatiron
Homepage: http://flatironjs.org
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2016-12-13T17:16:19+00:00
Link (homepage): http://flatironjs.org

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5485, "days_push": 3550, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1321, forks 84 (observed 2026-08-28T04:04:21.846286+00:00)

## What it is
Director is a tiny, dependency-free URL router for JavaScript that works isomorphically in both the browser (hash-based client-side routing) and Node.js (HTTP and CLI routing). It is part of the Flatiron suite of modules for building apps in Node.js and the browser.

## Use cases
- add client-side hash routing to a single page app
- route HTTP requests in a Node.js server without Express
- route CLI commands and flags in a Node.js script
- share the same routing code between browser and server
- build a router without jQuery or framework dependencies

## When to choose
- you need a minimal, dependency-free router for legacy browser or Node.js projects
- you want one routing library usable on both client and server
- you maintain an older Flatiron-based codebase

## When to avoid
- you are starting a modern SPA — use framework routers like React Router or Vue Router instead
- you need active maintenance, security updates, or modern history-API routing
- you need Express-style middleware ecosystems

## Facets
- artifact type: library
- maturity: abandoned
- function: routing, http-server, cli
- domain: web-development, frontend, backend, developer-tools
- platform: browser
- tags: isomorphic, hash-routing, single-page-apps, dependency-free, flatiron, nodejs, javascript

## Member repositories
- flatiron/flatiron (main) score 32
- flatiron/director (plugin) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:21.846286+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:55:34.484252+00:00, confidence not recorded.
  - readme: https://github.com/flatiron/flatiron (fetched 2026-08-28T04:04:21.846286+00:00, sha 72c968c34a02)
  - homepage: http://flatironjs.org (fetched 2026-08-29T08:51:15.409019+00:00, sha efb9b4201a23)
  - registry_npm: https://registry.npmjs.org/director (fetched 2026-08-29T08:51:15.417933+00:00, sha fb962ba4f48b)
  - registry_npm: https://registry.npmjs.org/flatiron (fetched 2026-08-29T08:51:15.419852+00:00, sha c12389497fdf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
