# caolan/forms

An easy way to create, parse and validate forms in node.js

Repository: https://github.com/caolan/forms
Canonical: https://ross.abutalabs.com/products/forms
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-03-16T17:06:52+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": 5917, "days_push": 900, "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 1005, forks 161 (observed 2026-09-03T02:15:09.802338+00:00)

## What it is
A Node.js library for creating, parsing, and validating HTML forms, inspired by form helpers in Django and Ruby on Rails. It lets developers define form fields and validators declaratively and render them to HTML.

## Use cases
- create and validate html forms in node.js
- render form fields to accessible html markup
- validate form input on the server
- build registration or login forms with field validation
- parse submitted form data

## When to choose
- you want Django/Rails-style declarative form helpers in a Node.js app
- you need server-side form validation with HTML rendering
- you prefer defining forms as field/validator objects

## When to avoid
- you need modern client-side form handling in a React/Vue frontend
- you want actively developed form tooling with current ecosystem support
- you need built-in CSS styling or complete UI components

## Facets
- artifact type: library
- maturity: maintenance
- function: form-handling, templating
- domain: web-development, backend
- platform: -
- tags: html-forms, form-validation, form-rendering, django-style-forms, nodejs

## Member repositories
- caolan/forms (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:09.802338+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:13:08.869559+00:00, confidence not recorded.
  - readme: https://github.com/caolan/forms (fetched 2026-09-03T02:15:09.802338+00:00, sha 8e948a63d447)
  - registry_npm: https://registry.npmjs.org/forms (fetched 2026-08-29T13:13:12.036587+00:00, sha a631454ae90d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
