<commit_before>##Validator usage:
####Include the script onto your page####

'''bash
<script src="validator.js"></script>
'''

####Invoke Validator as shown below:####
__The first arg are the rules and the second arg contains the data__

'''js
	var validation = new Validator({
		name: 'required|size:3'
		email: 'required'
	}, {
		email: '<EMAIL>',
		name: 'David'
	});

	if (validation.passes()) {

	} else if(validation.fails()) {
		console.log(validation.errors);
	}
'''<commit_msg>readme update<commit_after>##Validator usage:
Include the validator.js script onto your page

Invoke Validator as shown below:
__The first arg are the rules and the second arg contains the data__

'''js
	var validation = new Validator({
		name: 'required|size:3'
		email: 'required'
	}, {
		email: '<EMAIL>',
		name: 'David'
	});

	if (validation.passes()) {

	} else if(validation.fails()) {
		console.log(validation.errors);
	}
'''
{'fraction_non_alphanumeric': 0.16104461371055495, 'fraction_numerical': 0.002176278563656148, 'mean_word_length': 4.644171779141105, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '3328502', 'n_tokens_mistral': 311, 'n_tokens_neox': 298, 'n_words': 93}