<commit_before># ctdataindex
A simple node.js repository for retrieving and searching the CT Open Data index file.

Usage:
- var myidx = require('./lib/index.js');
- var y = myidx.getSocrataList(); // returns an Object containing a Promise
- var dsListPromise = y.dsPromise; // get the Promise from the Object
- dsListPromise.then(theList) {
-     // Do something with the Promise
-     console.log(theList);
- }

If you aren't familiar with Promises please check out these links:
- https://www.npmjs.com/package/promise
- http://stackoverflow.com/questions/4296505/understanding-promises-in-node-js?rq=1
- http://www.2ality.com/2014/10/es6-promises-api.html<commit_msg>fix readme formatting #2<commit_after># ctdataindex
A simple node.js repository for retrieving and searching the CT Open Data index file.

Usage:

var myidx = require('./lib/index.js');

var y = myidx.getSocrataList(); // returns an Object containing a Promise

var dsListPromise = y.dsPromise; // get the Promise from the Object

dsListPromise.then(theList) {

// Do something with the Promise

    console.log(theList);

}

If you aren't familiar with Promises please check out these links:
- https://www.npmjs.com/package/promise
- http://stackoverflow.com/questions/4296505/understanding-promises-in-node-js?rq=1
- http://www.2ality.com/2014/10/es6-promises-api.html
{'fraction_non_alphanumeric': 0.11940298507462686, 'fraction_numerical': 0.024626865671641792, 'mean_word_length': 3.9851301115241635, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '3883785', 'n_tokens_mistral': 448, 'n_tokens_neox': 419, 'n_words': 120}