Skip to content

deburr

Removes diacritical marks from a string

544 bytes
since v12.8.0

Usage

Convert accented Latin letters and ligatures to their plain text equivalents.

import * as
import _
_
from 'radashi'
import _
_
.
function deburr(input: string): string

Removes accents and converts extended Latin ligatures to basic Latin text.

@seehttps://radashi.js.org/reference/string/deburr

@example

deburr('déjà vu') // => 'deja vu'
deburr('Ærøskøbing') // => 'Aeroskobing'

@version12.8.0

deburr
('Crème Brûlée') // => Creme Brulee
import _
_
.
function deburr(input: string): string

Removes accents and converts extended Latin ligatures to basic Latin text.

@seehttps://radashi.js.org/reference/string/deburr

@example

deburr('déjà vu') // => 'deja vu'
deburr('Ærøskøbing') // => 'Aeroskobing'

@version12.8.0

deburr
('Ærøskøbing') // => Aeroskobing