get-clean-string
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "get-clean-string", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Module to clean a string removing special characters and replacing accents for asccii equivalents.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -14,3 +14,3 @@ # get-clean-string | ||
``` | ||
## Usage | ||
## Import | ||
@@ -25,6 +25,15 @@ The module needs to be initialized when importing: | ||
Then it requires only the string to be cleaned as an argument: | ||
NOTE: Don't forget to call it '()' when importing. Otherwise the clean function will always return: | ||
```js | ||
[Function] | ||
``` | ||
## Usage | ||
The module requires only the string to be cleaned as a parameter: | ||
```js | ||
clean(' remove these: !@#$%^&^*&() ') | ||
@@ -31,0 +40,0 @@ |
13083
89