Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelklishin/validateur
Functional validations inspired by Ruby's ActiveModel
https://github.com/michaelklishin/validateur
clojure clojurescript validation validations
Last synced: 4 days ago
JSON representation
Functional validations inspired by Ruby's ActiveModel
- Host: GitHub
- URL: https://github.com/michaelklishin/validateur
- Owner: michaelklishin
- Created: 2011-09-11T22:45:50.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2017-12-30T15:50:48.000Z (almost 7 years ago)
- Last Synced: 2024-10-19T13:20:28.465Z (17 days ago)
- Topics: clojure, clojurescript, validation, validations
- Language: Clojure
- Homepage: http://clojurevalidations.info
- Size: 219 KB
- Stars: 184
- Watchers: 10
- Forks: 24
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
Awesome Lists containing this project
README
# Validateur, a Clojure(Script) Validation Library
Validateur is a [Clojure(Script) validation library](http://clojurevalidations.info) 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 requires Clojure 1.7+/ClojureScript 0.0-2138+.
## Maven Artifacts
Validateur artifacts are [released to Clojars](https://clojars.org/com.novemberain/validateur).
If you are using Maven, add the following repository definition to your `pom.xml`:``` xml
clojars.org
http://clojars.org/repo```
### The Latest Release
With Leiningen:
[com.novemberain/validateur "2.6.0"]
With Maven:
com.novemberain
validateur
2.6.0
## Documentation & Examples
Please refer to the [documentation guides](http://clojurevalidations.info) for Validateur.
Our test suite has usage examples for each validator, built-in validation functions have docstrings.
## Continuous Integration
[![Continuous Integration status](https://secure.travis-ci.org/michaelklishin/validateur.png)](http://travis-ci.org/michaelklishin/validateur)
## Development
Validateur uses [Leiningen 2](https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md). Make
sure you have it installed and then run tests against all supported Clojure versions and a recent release of ClojureScript usinglein 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-2018 Michael S. Klishin, Alex Petrov, the ClojureWerkz team,
and [contributors](https://github.com/michaelklishin/validateur/graphs/contributors).Distributed under the Eclipse Public License, the same as Clojure.