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
 

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.7
    3
    • latest

Version History

Package Sidebar

Install

npm i clean-special-chars

Weekly Downloads

2

Version

1.0.7

License

none

Last publish

Collaborators

  • diegozoracky