<commit_before>// Type definitions for mongo-sanitize 1.0
// Project: https://github.com/vkarpov15/mongo-sanitize
// Definitions by: <NAME> <https://github.com/CedricCazin>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

export function sanitize<T extends object>(v: T): T;

export as namespace mongoSanitize;<commit_msg>Adjust the export to work with esModuleInterop<commit_after>// Type definitions for mongo-sanitize 1.0
// Project: https://github.com/vkarpov15/mongo-sanitize
// Definitions by: <NAME> <https://github.com/CedricCazin>, <NAME> <https://github.com/penumbra1>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

declare function sanitize<T>(v: T): T;

export = sanitize;
{'fraction_non_alphanumeric': 0.14267352185089974, 'fraction_numerical': 0.016709511568123392, 'mean_word_length': 4.901515151515151, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 7, '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': '5606536', 'n_tokens_mistral': 263, 'n_tokens_neox': 261, 'n_words': 59}