Skip to content

dimention/remove-diacritics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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

Packages

No packages published

Languages

  • JavaScript 100.0%