<commit_before># backbone-validator

[![Build Status](https://secure.travis-ci.org/lupomontero/backbone-validator.png)](http://travis-ci.org/lupomontero/backbone-validator)

This is a super simple validator module for Backbone. It works both on the
browser and nodejs.<commit_msg>Tweaking readme file...<commit_after># backbone-validator

This is a super simple validator module for Backbone. It works both on the
browser and nodejs.

[![Build Status](https://secure.travis-ci.org/lupomontero/backbone-validator.png)](http://travis-ci.org/lupomontero/backbone-validator)

## Installing

In node:

    npm install backbone-validator --save

In the browser make sure that you add the
[backbone-validator-min.js](https://raw.github.com/lupomontero/backbone-validator/master/backbone-validator-min.js)
script after you have loaded both underscore and Backbone. The minimised file is
2k.
{'fraction_non_alphanumeric': 0.11224489795918367, 'fraction_numerical': 0.0011337868480725624, 'mean_word_length': 4.966216216216216, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '3560664', 'n_tokens_mistral': 282, 'n_tokens_neox': 288, 'n_words': 74}