<commit_before>'use strict';

var Driver = require('./index'),
    c = console.log,

    driver = new Driver();

c('list', driver.list());
c('getAll', driver.getAll());<commit_msg>app.js: Added some more examples.<commit_after>'use strict';

var Driver = require('./index'),
    c = console.log,

    driver = new Driver();

c('list sync', driver.list());
c('getAll sync', driver.getAll());

driver.list(function (err, results) { c('list async', results); });
driver.getAll(function (err, results) { c('getAlli async', results); });
{'fraction_non_alphanumeric': 0.20864661654135339, 'fraction_numerical': 0.0, 'mean_word_length': 4.793478260869565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '541047', 'n_tokens_mistral': 169, 'n_tokens_neox': 165, 'n_words': 45}