skaleb-string-utils
Advanced tools
Comparing version 0.2.1 to 0.3.0
{ | ||
"name": "skaleb-string-utils", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Simple string utilities provided in an easy to consume interface", | ||
@@ -23,10 +23,10 @@ "main": "index.ts", | ||
"@types/mocha": "^5.2.7", | ||
"nyc": "^14.1.1", | ||
"chai": "^4.2.0", | ||
"mocha": "^6.2.2", | ||
"nyc": "^14.1.1", | ||
"ts-node": "^8.5.2", | ||
"tslint": "^5.20.1", | ||
"tslint-config-standard": "^9.0.0", | ||
"typescript": "^3.7.2" | ||
"typescript": "^3.7.2", | ||
"tslint-config-standard": "^9.0.0" | ||
} | ||
} |
/** | ||
* Convert a string to camelCaseFormat where each word is joined together and the start of each word bar the initial word is capitalized | ||
* @param {string} str The string/sentence to be converted to camelCaseFormat | ||
*/ | ||
@@ -4,0 +5,0 @@ export function camelCase(str: string): string { |
/** | ||
* Converts the given sentence or string to capitalized case | ||
* @param {string} str The string/sentence to be converted to Capital Case Format | ||
*/ | ||
@@ -4,0 +5,0 @@ export function capitalCase(str: string): string { |
/** | ||
* Reverses the given string or sentence and returns it | ||
* @param {string} str The string/sentence to be reversed | ||
*/ | ||
@@ -4,0 +5,0 @@ export function reverse(str: string): string { |
9715
19
134