<commit_before>'use strict';

var DynamoDbLocal = require('../index');

// optional config customization - default is your OS' temp directory and an Amazon server from US West
DynamoDbLocal.configureInstaller({
    installPath: './dynamodblocal-bin',
    dowloadUrl: 'https://s3.eu-central-1.amazonaws.com/dynamodb-local-frankfurt/dynamodb_local_latest.tar.gz'
});

DynamoDbLocal.launch(8000)
    .then(function (ChildProcess) {
        console.log('PID created: ', ChildProcess.pid);

        //do your tests

        DynamoDbLocal.stop(8000);
        console.log('finished');
    });
<commit_msg>Fix typo in config object in examples/simple.js<commit_after>'use strict';

var DynamoDbLocal = require('../index');

// optional config customization - default is your OS' temp directory and an Amazon server from US West
DynamoDbLocal.configureInstaller({
    installPath: './dynamodblocal-bin',
    downloadUrl: 'https://s3.eu-central-1.amazonaws.com/dynamodb-local-frankfurt/dynamodb_local_latest.tar.gz'
});

DynamoDbLocal.launch(8000)
    .then(function (ChildProcess) {
        console.log('PID created: ', ChildProcess.pid);

        //do your tests

        DynamoDbLocal.stop(8000);
        console.log('finished');
    });

{'fraction_non_alphanumeric': 0.13322502030869213, 'fraction_numerical': 0.016246953696181964, 'mean_word_length': 3.6490566037735848, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4467647', 'n_tokens_mistral': 409, 'n_tokens_neox': 383, 'n_words': 80}