<commit_before>demo-catalog
=================
Contains a sample node.js catalog module written for either server or client side usage.

This module provides a way to access categories and metrics via an ID or formatted string lookup.

An example server side use can be found in main.js.

	node main.js

An example client side use utilizing an export from browserify can be found in testPage.html. The client side implementation utilizes dist/export-min.js, which is just a minified version of dist/export.js created by using browserify:

	browserify lib/CatalogExport.js > dist/export.js
	<commit_msg>Updating readme<commit_after>demo-catalog
=================
Contains a sample node.js catalog module written for either server or client side usage.

This module provides a way to access categories and metrics via an ID or formatted string lookup.

An example server side use can be found in main.js.

	node main.js

An example client side use can be found in testPage.html. The client side implementation utilizes dist/export-min.js, which is just a minified version of dist/export.js created by using browserify:

	browserify lib/CatalogExport.js > dist/export.js

{'fraction_non_alphanumeric': 0.0702656383890317, 'fraction_numerical': 0.0, 'mean_word_length': 4.509433962264151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7599356', 'n_tokens_mistral': 295, 'n_tokens_neox': 286, 'n_words': 156}