Strings.deburr()

Replace special alphabetical characters such as umlauts and accents with their basic, boring equivalents.

Technically, this converts "latin-1 supplementary characters" to basic letters and removes combining diacritical marks.

Usage

Hover over inputs/exits for more info.

var Strings = require('machinepack-strings');


// Replace special alphabetical characters such as umlauts and accents with their basic, boring equivalents.

Strings.deburr({

string: 'déjà vu, Günther. Just more of your saß.',

}).execSync();

Inputs

string required

The string to clean up.

'déjà vu, Günther. Just more of your saß.'

Exits

error

An unexpected error occurred.

success

OK.

'deja vu, Gunther. Just more of your sass.'