@types/normalize-for-search
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

Installation

npm install --save @types/normalize-for-search

Summary

This package contains type definitions for normalize-for-search (https://github.com/ikr/normalize-for-search).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/normalize-for-search.

index.d.ts

export as namespace normalizeForSearch;

export = normalizeForSearch;

/**
 * Un-accents and un-umlauts characters in a string. Also preliminary converts the string to lower
 * case.
 *
 * @example
 * import normalizeForSearch = require('normalize-for-search');
 *
 * normalizeForSearch('Dät ist naïve und ÜBERCOOL, ё-маё!');
 * // => 'daet ist naive und uebercool, е-мае!'
 */
declare function normalizeForSearch(searchString: string): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/normalize-for-search

Weekly Downloads

11

Version

2.1.2

License

MIT

Unpacked Size

3.56 kB

Total Files

5

Last publish

Collaborators

  • types