Validateur
Functional validations inspired by Ruby's ActiveModel
Install / Use
/learn @michaelklishin/ValidateurREADME
Validateur, a Clojure(Script) Validation Library
Validateur is a Clojure(Script) validation library inspired by Ruby's ActiveModel. Validateur is functional: validators are functions, validation sets are higher-order functions, validation results are returned as values.
Supported Clojure versions
Validateur is tested on Clojure 1.10 or later, ClojureScript 1.11 or later.
Maven Artifacts
Validateur artifacts are released to Clojars.
If you are using Maven, add the following repository definition to your pom.xml:
<repository>
<id>clojars.org</id>
<url>http://clojars.org/repo</url>
</repository>
The Latest Release
With Leiningen:
[com.novemberain/validateur "2.6.0"]
With Maven:
<dependency>
<groupId>com.novemberain</groupId>
<artifactId>validateur</artifactId>
<version>2.6.0</version>
</dependency>
Documentation & Examples
Please refer to the Getting Started guide for Validateur.
Our test suite has usage examples for each validator, built-in validation functions have docstrings.
Development
Validateur uses Leiningen 2. Make sure you have it installed and then run tests against all supported Clojure versions and a recent release of ClojureScript using
lein all do clean, test
Then create a branch and make your changes on it. Once you are done with your changes and all tests pass, submit a pull request on Github.
License
Copyright (C) 2011-2025 Michael S. Klishin, Alex Petrov, the ClojureWerkz team, and contributors.
Distributed under the Eclipse Public License, the same as Clojure.
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
