1.0.7 • Published 10 years ago

clean-special-chars v1.0.7

Weekly downloads
4
License
-
Repository
github
Last release
10 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

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago