utils for strings
npm install @hint/utils-string@hint/utils-string)Set of helpers to process string.
This package is installed automatically when adding webhint to your project
so running the following is enough:
``bash`
npm install hint --save-dev
* cutString: Cut a given string adding … in the middle.options
variable available with the given object.mergeIgnoreIncludeArrays
* : Adds the items from includeArray intooriginalArray and removes the ones from ignoreArray.normalizeIncludes
* : Return if normalized source string includesincluded
normalized string.normalizeStringByDelimiter
* : Normalize String and then replace charactersnormalizeString
with delimiter.
* : Remove whitespace from both ends of a string andprettyPrintArray
lowercase it.
* : Returns an array pretty printed.toCamelCase
* : Convert '-' delimitered string to camel case name.toLowerCaseArray
* : Lower cases all the items of list.toLowerCaseKeys
* : Returns the same object but with all the propertiestoPascalCase`: Convert '-' delimitered string to pascal case name.
lower cased.
*