<commit_before># Configuration


When using Bootprint from the command line, you can provide a file with configuration options.
The configuration file is a JavaScript file of the following form:

```js
module.exports = {
    "partials": "/path/to/a/partial-directory",
    "template": "/path/To/a/template"
    "helpers": {
        "handlebarsHelper": function(value) { ... }
    },
    "less": {
        "main": [
            "path/to/a/less/file.less",
            "path/to/another/less/file.less"
        ],
        "paths": [
            "a/less/include/path"
        ]
    },
    "preprocessor": function(html) { ... }
}
```

When using Bootprint's JavaScript-API, the same format can be passed to
the [BootprintBuilder.merge()](api.md#BootprintBuilder#merge) function.

## Providing themes with custom {less}-files.

Consider the following configuration file
<commit_msg>Minor doc correction<commit_after># Configuration


When using Bootprint from the command line, you can provide a file with configuration options.
The configuration file is a JavaScript file of the following form:

```js
module.exports = {
    "partials": "/path/to/a/partial-directory",
    "template": "/path/To/a/template",
    "helpers": {
        "handlebarsHelper": function(value) { ... }
    },
    "less": {
        "main": [
            "path/to/a/less/file.less",
            "path/to/another/less/file.less"
        ],
        "paths": [
            "a/less/include/path"
        ]
    },
    "preprocessor": function(html) { ... }
}
```

When using Bootprint's JavaScript-API, the same format can be passed to
the [BootprintBuilder.merge()](api.md#BootprintBuilder#merge) function.

## Providing themes with custom {less}-files.

Consider the following configuration file

{'fraction_non_alphanumeric': 0.13677639046538026, 'fraction_numerical': 0.0, 'mean_word_length': 2.743099787685775, 'pattern_counts': {'":': 16, '<': 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': '4459835', 'n_tokens_mistral': 522, 'n_tokens_neox': 511, 'n_words': 140}