1.3.2 • Published 11 months ago

@types/aero__sanitizer v1.3.2

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Installation

npm install --save @types/aero__sanitizer

Summary

This package contains type definitions for aero__sanitizer (https://git.farfrom.earth/aero/forks/sanitizer).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aero__sanitizer.

index.d.ts

// Type definitions for aero__sanitizer 1.2
// Project: https://git.farfrom.earth/aero/forks/sanitizer
// Definitions by: Rodry <https://github.com/ImRodry>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Sanitizes a given input string by transforming all characters into latin characters and removing accents.
 * @param str The string to sanitize.
 * @example
 * clean("aéà)àçé"); // 'aea)ace'
 * @example
 * clean("に間違いがないか、再度確認してください。再読み込みしてください。"); // niJian Wei iganaika, Zai Du Que Ren sitekudasai. Zai Du miIp misitekudasai.
 */
declare function clean(str: string): string;

export = clean;

Additional Details

  • Last updated: Fri, 17 Sep 2021 23:31:24 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Rodry.