<commit_before>'use strict';

/**
 * Dependencies.
 */

var fs,
    iso6393;

fs = require('fs');
iso6393 = require('../');

/**
 * Write.
 */

fs.writeFileSync('Support.md',
    'Supported Codes\n' +
    '=================\n' +
    '\n' +

    iso6393.keys().map(function (code) {
        return '- ' + code + ': ' + iso6393.get(code).name;<commit_msg>Refactor `script/build-support.js`<commit_after>'use strict';

/**
 * Dependencies.
 */

var fs,
    iso6393;

fs = require('fs');
iso6393 = require('../');

/**
 * Write.
 */

fs.writeFileSync('Support.md',
    'Supported Codes\n' +
    '=================\n' +
    '\n' +

    /**
     * A nice table is too long: GitHub won't be able
     * to render it, so we create a boring list.
     */

    iso6393.keys().map(function (code) {
        return '- ' + code + ': ' + iso6393.get(code).name;
{'fraction_non_alphanumeric': 0.2408500590318772, 'fraction_numerical': 0.03778040141676505, 'mean_word_length': 2.4897119341563787, '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': '1842656', 'n_tokens_mistral': 337, 'n_tokens_neox': 304, 'n_words': 61}