Skip to content

Remove all accents and diacritics in a string and replace them with the same letter without the diacritic

License

Notifications You must be signed in to change notification settings

fedeguzman/remove-accents-diacritics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remove-accents-diacritics

Remove all accents and diacritics in a string and replace them with the same letter without the diacritic

Install

$ npm install remove-accents-diacritics 
$ yarn add remove-accents-diacritics 

Usage

const removeAccents = require('remove-accents-diacritics');
// import removeAccents from 'remove-accents-diacritics';

const string = "cafetière";

const wordWithNoDiacritics = removeAccents.remove(string);

About this module

You can find more information about the code of this module here: http://stackoverflow.com/questions/990904/remove-accents-diacritics-in-a-string-in-javascript

License

Apache 2.0 © Fede Guzmán

About

Remove all accents and diacritics in a string and replace them with the same letter without the diacritic

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published