remove-diacritics

Remove diacritics/accents from a string.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
remove-diacritics
100.1.16 years ago6 years agoMinified + gzip package size for remove-diacritics in KB

Readme

remove-diacritics
Remove diacritics/accents from a string.

Installation

$ npm install remove-diacritics

Usage

const removeDiacritics = require('remove-diacritics')

let str = 'Der Bär frisst.'

console.log(removeDiacritics(str))
// Der Bar frisst.

console.log(removeDiacritics(str, 'de_DE'))
// Der Baer frisst.

License

ISC