# Feature catalog — elysiajs/elysia

> Canonical page: https://codevetter.com/unpack/elysia/feature-catalog

# Feature catalog — elysiajs/elysia

Scanned commit e037eca710e7ad193be09cc6615ab0dbe54af914 (2026-08-26). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

The developer-facing surface centers on typed routing, validation and lifecycle control. Applications can share context and state, manage cookies, compose plugins and mount other fetch handlers. Response facilities cover ordinary values, files, streams and SSE, with Bun-specific WebSockets. These are framework APIs demonstrated by tests and examples, rather than product screens or application-specific endpoints.
- get and post register method-specific routes; route uppercases arbitrary method names, and add applies prefixes and distinguishes literal paths from parameter/wildcard paths. — [src/index.ts#L5798-5805](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/index.ts#L5798-L5805) [src/index.ts#L5908-5914](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/index.ts#L5908-L5914) [src/index.ts#L6772-6779](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/index.ts#L6772-L6779) [src/index.ts#L1011-1053](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/index.ts#L1011-L1053)
- Route schemas cover body, headers, params, query, cookie and status-dependent responses; Standard Schema tests demonstrate Zod validation and numeric query coercion. — [src/index.ts#L550-559](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/index.ts#L550-L559) [test/standard-schema/validate.test.ts#L7-46](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/test/standard-schema/validate.test.ts#L7-L46) [test/standard-schema/validate.test.ts#L131-181](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/test/standard-schema/validate.test.ts#L131-L181)
- Built-in body parsing supports JSON, text, URL encoding, ArrayBuffer and multipart forms; multipart parsing groups repeated values and reconstructs dotted/indexed nested fields. — [src/adapter/web-standard/index.ts#L27-62](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/adapter/web-standard/index.ts#L27-L62) [src/adapter/web-standard/index.ts#L90-125](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/adapter/web-standard/index.ts#L90-L125)
- Lifecycle hooks can transform context before validation, derive or resolve request properties, and intercept handling; tracing exposes request through error stages with timing and completion listeners. — [src/dynamic-handle.ts#L549-565](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/dynamic-handle.ts#L549-L565) [src/dynamic-handle.ts#L692-733](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/dynamic-handle.ts#L692-L733) [src/trace.ts#L6-38](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/trace.ts#L6-L38) [src/trace.ts#L50-77](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/trace.ts#L50-L77)
- state supports named values, object merges and store-mapping functions; decorate adds reusable context members, and the counter example mutates shared state on GET /. — [src/index.ts#L7102-7140](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/index.ts#L7102-L7140) [src/index.ts#L7270-7277](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/index.ts#L7270-L7277) [example/counter.ts#L1-6](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/example/counter.ts#L1-L6)
- Cookie objects expose values and attributes plus update, set and remove operations; parsing supports selected or all signed cookies and verification against rotated signing keys. — [src/cookies.ts#L308-345](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/cookies.ts#L308-L345) [src/cookies.ts#L373-432](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/cookies.ts#L373-L432) [test/cookie/signature.test.ts#L120-135](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/test/cookie/signature.test.ts#L120-L135)
- Bun WebSocket routes support connection callbacks, parsed/validated messages and response validation; ElysiaWS exposes send, subscription and publish facilities. — [src/adapter/bun/index.ts#L451-477](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/adapter/bun/index.ts#L451-L477) [src/adapter/bun/index.ts#L589-627](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/adapter/bun/index.ts#L589-L627) [src/ws/index.ts#L61-118](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/ws/index.ts#L61-L118)
- Response mapping handles JSON objects, strings, custom statuses, Response, files and streams; shared helpers implement byte ranges and SSE formatting, while use/group/guard/mount compose application behavior. — [src/adapter/web-standard/handler.ts#L52-155](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/adapter/web-standard/handler.ts#L52-L155) [src/adapter/utils.ts#L19-80](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/adapter/utils.ts#L19-L80) [src/adapter/utils.ts#L271-305](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/adapter/utils.ts#L271-L305) [src/index.ts#L5585-5638](https://github.com/elysiajs/elysia/blob/e037eca710e7ad193be09cc6615ab0dbe54af914/src/index.ts#L5585-L5638)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
