<commit_before>#valivore

[![Build Status](https://travis-ci.org/travishorn/valivore.svg?branch=master)](https://travis-ci.org/travishorn/valivore)
[![Code Climate](https://codeclimate.com/github/travishorn/valivore/badges/gpa.svg)](https://codeclimate.com/github/travishorn/valivore)
[![Test Coverage](https://codeclimate.com/github/travishorn/valivore/badges/coverage.svg)](https://codeclimate.com/github/travishorn/valivore/coverage)

> Isomorphic form validation. Write rules once, validate on the client and server.

##Installation

npm support will be available once the module is further along in development.
For right now, you can install by cloning the git repository.

    git clone https://github.com/travishorn/valivore.git

##Usage

###Server-side (using express)

    var valivore = require('valivore');

    var rules = {}; // Rule spec is under development

    app.post('form-submission', function(req, res) {
      valivore.validate(req.body, rules, function(err, valErrs) {
        if (err) {
          res.send('Error occurred: %s', err);<commit_msg>Add "not ready for use" message<commit_after>#valivore

[![Build Status](https://travis-ci.org/travishorn/valivore.svg?branch=master)](https://travis-ci.org/travishorn/valivore)
[![Code Climate](https://codeclimate.com/github/travishorn/valivore/badges/gpa.svg)](https://codeclimate.com/github/travishorn/valivore)
[![Test Coverage](https://codeclimate.com/github/travishorn/valivore/badges/coverage.svg)](https://codeclimate.com/github/travishorn/valivore/coverage)

> Isomorphic form validation. Write rules once, validate on the client and server.

## WARNING

Valivore is in extremely early development. It is not ready for use in any capacity.

##Installation

npm support will be available once the module is further along in development.
For right now, you can install by cloning the git repository.

    git clone https://github.com/travishorn/valivore.git

##Usage

###Server-side (using express)

    var valivore = require('valivore');

    var rules = {}; // Rule spec is under development

    app.post('form-submission', function(req, res) {
      valivore.validate(req.body, rules, function(err, valErrs) {
        if (err) {
          res.send('Error occurred: %s', err);
{'fraction_non_alphanumeric': 0.1355181576616475, 'fraction_numerical': 0.0, 'mean_word_length': 4.469733656174334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '431829', 'n_tokens_mistral': 742, 'n_tokens_neox': 725, 'n_words': 168}