1.0.7 • Published 9 years ago

clean-special-chars v1.0.7

Weekly downloads
4
License
-
Repository
github
Last release
9 years ago

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
1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago