<commit_before>/*
 * Nodelint [VERSION]
 * [DATE]
 * A fork of tav's nodelint (http://github.com/tav/nodelint)
 * <NAME> @ http://www.codenothing.com
 */
var Nodelint = global.Nodelint,
	Color = Nodelint.Color = function( color, bold, str ) {
		return "\x1B[" + ( bold ? 1 : 0 ) + ";" + Color.colors[ color ] + "m" + str + "\x1B[0m";
	};

// Color references
Nodelint.Color.colors = {
	red: 31,
	green: 32,
	yellow: 33,
	blue: 34
};

// Add the color references
Nodelint.each( Nodelint.Color.colors, function( value, color ) {
	// Normal color
	Nodelint.Color[ color ] = function( msg ) {
		return Color( color, false, msg );
	};

	// Bolded color
	Nodelint.Color[ 'bold' + color ] = function( msg ) {
		return Color( color, true, msg );
	};
});<commit_msg>-Updated to use Color shortcut<commit_after>/*
 * Nodelint [VERSION]
 * [DATE]
 * A fork of tav's nodelint (http://github.com/tav/nodelint)
 * <NAME> @ http://www.codenothing.com
 */
var Nodelint = global.Nodelint,
	Color = Nodelint.Color = function( color, bold, str ) {
		return "\x1B[" + ( bold ? 1 : 0 ) + ";" + Color.colors[ color ] + "m" + str + "\x1B[0m";
	};

// Color references
Color.colors = {
	red: 31,
	green: 32,
	yellow: 33,
	blue: 34
};

// Add the color references
Nodelint.each( Color.colors, function( value, color ) {
	// Normal color
	Color[ color ] = function( msg ) {
		return Color( color, false, msg );
	};

	// Bolded color
	Color[ 'bold' + color ] = function( msg ) {
		return Color( color, true, msg );
	};
});
{'fraction_non_alphanumeric': 0.17993311036789297, 'fraction_numerical': 0.017391304347826087, 'mean_word_length': 3.202247191011236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4401080', 'n_tokens_mistral': 609, 'n_tokens_neox': 558, 'n_words': 152}