metosin/malli
High-performance data-driven data specification library for Clojure/Script. observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 98
- Release rhythm 61
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 75.5
- age_days: 2665
- days_rel: 180
- days_push: 12
- n_releases_24m: 7
Adoption not part of the score
1760 stars · 241 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Malli is a high-performance, data-driven data specification library for Clojure and ClojureScript. It provides schema definitions as plain data with validation, transformation, coercion, value generation, schema inference, and conversion to JSON Schema and Swagger2.
Use cases
- validate clojure data against a schema
- coerce incoming api payloads to expected types
- generate schema from clojure maps
- infer schemas from sample data
- generate test data from schemas
- add function schemas with clj-kondo or typed clojure checking
- transform and strip data before persistence
- visualize data schemas as dot or plantuml diagrams
When to choose
- you need fast, data-driven validation and coercion in Clojure or ClojureScript
- you want schemas as plain data that can be transformed to JSON Schema or Swagger2
- you need schema inference, value generation, or rich error messages
- you want function schemas integrated with clj-kondo or Typed Clojure
When to avoid
- you are not working in Clojure/ClojureScript or babashka
- you need compile-time static type checking as the primary mechanism rather than runtime schemas
- you need a schema library for a non-JVM language
Facets
library · maturity active
serialization developer-tools developer-tools apis data-science jvm jvm-scripting clojure clojurescript data-validation schema -schema coercion data-transformation test-data-generation
1 source
- readme: https://github.com/metosin/malli · fetched 2026-08-28 · 3e24e1829048
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| metosin/malli | main | 85 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem