Function
| Static Public Summary | ||
| public |
fillString(str: String, length: Number, symbol: String): String Fill string with symbols |
|
| public |
findFilesByPattern(dir: String, include: RegExp, exclude: RegExp): Array Find files by RegExp pattern except dirs |
|
| public |
patterntransformer(value: *): Promise |
|
| public |
Remove all prefixes or suffixes from the given string |
|
| public |
versionCompare(v1: String, v2: String): Number Compare two software version v1 == v2 => 0 v1 < v2 => -1 v1 > v2 => 1 |
|
Static Public
public fillString(str: String, length: Number, symbol: String): String source
import {fillString} from 'recink/src/helper/util.js'Fill string with symbols
public findFilesByPattern(dir: String, include: RegExp, exclude: RegExp): Array source
import {findFilesByPattern} from 'recink/src/helper/util.js'Find files by RegExp pattern except dirs
public patterntransformer(value: *): Promise source
import patterntransformer from 'recink/src/component/helper/pattern-transformer.js'Params:
| Name | Type | Attribute | Description |
| value | * |
public trimBoth(string: String, symbol: String): String source
import {trimBoth} from 'recink/src/helper/util.js'Remove all prefixes or suffixes from the given string