Skip to content

Functional validations inspired by Ruby's ActiveModel

Notifications You must be signed in to change notification settings

yoctozepto/validateur

 
 

Repository files navigation

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 requires Clojure 1.4+/ClojureScript 0.0-2138+.

Maven Artifacts

The Latest Release

With Leiningen:

[com.novemberain/validateur "2.0.0"]

With Maven:

<dependency>
  <groupId>com.novemberain</groupId>
  <artifactId>validateur</artifactId>
  <version>2.0.0</version>
</dependency>

Documentation & Examples

Please refer to the documentation guides for Validateur.

Our test suite has usage examples for each validator, built-in validation functions have docstrings.

Continuous Integration

Continuous Integration status

Development

Validateur uses Leiningen 2. Make sure you have it installed and then run tests against all supported Clojure versions using

lein2 do clean, cljx once, all test, cljsbuild 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-2014 Michael S. Klishin

Distributed under the Eclipse Public License, the same as Clojure.

Bitdeli Badge

About

Functional validations inspired by Ruby's ActiveModel

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 100.0%