Skip to content

nodexo/remove-diacritics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Remove diacritics/accents from a string.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published