MCPcopy Index your code
hub / github.com/dwp/govuk-casa

github.com/dwp/govuk-casa @9.4.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release 9.4.4 ↗ · + Follow
320 symbols 1,072 edges 156 files 132 documented · 41% updated 4mo ago★ 382 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CASA

A framework for building forms based on the GOV.UK Design System.

Features

  • Adopts the GOVUK Design System which provides well-researched, accessible markup out of the box
  • Handles complex journey routing so you can easily tailor users' journeys to provide the best experience
  • Multi-language support
  • A small core, but highly extensible through hook and plugin mechanisms
  • Built on ExpressJS so offers a shallow learning curve
  • Distributable supports both ES6 and CommonJS codebases

Getting started

npm -E @dwp/govuk-casa

Migrating between versions

A series of migration guides are provided in docs/migration-guides/ that should help you upgrade between major versions of CASA.

Also see our list of upcoming deprecations and breaking changes that are planned for delivery in the next major version.

Support

CASA is maintained by the DWP Engineering Practice.

Contributing

If you'd like to contribute any changes, enhancements or report issues, please take a look at our contribution notes and in-depth guidance.

Core symbols most depended-on inside this repo

make
called by 164
src/lib/ValidationError.js
get
called by 154
src/lib/MutableRouter.js
use
called by 77
src/lib/MutableRouter.js
field
called by 64
src/lib/field.js
waypointUrl
called by 64
src/lib/waypoint-url.js
validators
called by 42
src/lib/field.js
fromObject
called by 29
src/lib/JourneyContext.js
validatePages
called by 20
src/lib/configuration-ingestor.js

Shape

Method 147
Function 137
Class 36

Languages

TypeScript100%

Modules by API surface

src/lib/JourneyContext.js48 symbols
src/lib/configuration-ingestor.js31 symbols
src/lib/Plan.js30 symbols
src/lib/MutableRouter.js27 symbols
src/lib/field.js23 symbols
src/lib/utils.js13 symbols
src/lib/nunjucks-filters.js7 symbols
src/lib/ValidatorFactory.js6 symbols
src/lib/CasaTemplateLoader.js6 symbols
src/routes/journey.js5 symbols
src/middleware/session.js5 symbols
src/middleware/i18n.js5 symbols

For agents

$ claude mcp add govuk-casa \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page