clean-special-chars

1.0.7 • Public • Published

cleanSpecialChars

Converts accented letters to its cleaned form like 'Ã' to 'A', 'ç' to 'c', '&!*' to '', etc. All spaces will be converted to '-' and the text is returned in Lower Case.

It can be installed and used on Node environments.

Usage / Examples

 
cleanSpecialChars('ação & reação')
// Output: acao-reacao
 
cleanSpecialChars('ação & reação', {'&': 'and'});
// Output: acao-and-reacao
 

Installation

 
npm install clean-special-chars
 

Package Sidebar

Install

npm i clean-special-chars

Weekly Downloads

3

Version

1.0.7

License

none

Last publish

Collaborators

  • diegozoracky