<commit_before>import { Stream } from "stream";

// Type definitions for ansi 0.3
// Project: https://www.npmjs.com/package/ansi
// Definitions by: Gustavo6046 <https://github.com/Gustavo6046>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * References:
 *
 *   - http://en.wikipedia.org/wiki/ANSI_escape_code
 *   - http://www.termsys.demon.co.uk/vtansi.htm
 *
 */

/// <reference types="node" />
declare function ansi(stream: Stream, options?: any): ansi.Cursor;

declare namespace ansi {
    class Cursor {
        constructor(stream: Stream, options?: any);

        /**
         * Helper function that calls `write()` on the underlying Stream.
         * Returns `this` instead of the write() return value to keep
         * the chaining going.
         */
        write(data: string): Cursor;

        /**
         * Buffer `write()` calls into memory.
         *
         * @api public
         */
        buffer(): Cursor;
<commit_msg>Realigned lines, to fix the header.<commit_after>// Type definitions for ansi 0.3
// Project: https://www.npmjs.com/package/ansi
// Definitions by: Gustavo6046 <https://github.com/Gustavo6046>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * References:
 *
 *   - http://en.wikipedia.org/wiki/ANSI_escape_code
 *   - http://www.termsys.demon.co.uk/vtansi.htm
 *
 */

/// <reference types="node" />
import { Stream } from "stream";

declare function ansi(stream: Stream, options?: any): ansi.Cursor;

declare namespace ansi {
    class Cursor {
        constructor(stream: Stream, options?: any);

        /**
         * Helper function that calls `write()` on the underlying Stream.
         * Returns `this` instead of the write() return value to keep
         * the chaining going.
         */
        write(data: string): Cursor;

        /**
         * Buffer `write()` calls into memory.
         *
         * @api public
         */
        buffer(): Cursor;

{'fraction_non_alphanumeric': 0.14081632653061224, 'fraction_numerical': 0.01020408163265306, 'mean_word_length': 2.3752151462994835, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, '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': '6235984', 'n_tokens_mistral': 610, 'n_tokens_neox': 581, 'n_words': 150}