# visionmedia/express-resource

Resourceful routing for Express

Repository: https://github.com/visionmedia/express-resource
Canonical: https://ross.abutalabs.com/products/express-resource
Language: JavaScript
License Family: other
Last push: 2019-05-10T13:58:22+00:00

## 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": 5668, "days_push": 2672, "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 1410, forks 138 (observed 2026-08-28T04:04:38.855686+00:00)

## What it is
Express Resource is a Node.js library that adds resourceful, REST-style routing to the Express web framework via an app.resource() method. It maps conventional CRUD actions (index, new, create, show, edit, update, destroy) to HTTP routes and supports nested resources and auto-loading of associated data.

## Use cases
- define RESTful CRUD routes for a resource in Express
- map controller actions to standard HTTP verbs automatically
- nest resources like forums with nested threads in Express
- auto-load a record by id before a route handler runs
- build a Rails-style resourceful API in Node.js

## When to choose
- you are maintaining a legacy Express 2.x or 3.x application that already uses it
- you want Rails-style resource routing conventions in an old Express codebase

## When to avoid
- you are starting a new Express project - use express.Router or a modern REST framework instead
- you use Express 4.x or later, which this library does not support
- you need an actively maintained library with a license and recent releases

## Facets
- artifact type: library
- maturity: abandoned
- function: routing, web-framework, middleware
- domain: web-development, backend, apis
- platform: -
- tags: express, restful-routing, resource-routing, monkey-patch, legacy, nodejs

## Member repositories
- visionmedia/express-resource (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:38.855686+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-30T04:38:30.234823+00:00, confidence not recorded.
  - readme: https://github.com/visionmedia/express-resource (fetched 2026-08-28T04:04:38.855686+00:00, sha 09c1cc5dd805)
- Data as of 2026-08-30T08:39:29.467469+00:00.
