Helper functions for creating template literal tags.
npm install --save taghelperMerges template strings and values arrays into one.
Arguments:
strings : TemplateStringsArray— template strings.rest : any[]— template values.options : IMergeOptions = {}— options.
Returns: any[] — two arrays merged into one.
Joins both template strings and values into one string.
Arguments:
strings : TemplateStringsArray— template strings.rest : any[]— template values.options : IMergeOptions = {}— options formergefunction. NB:stringifyoption is useless here.
Returns: string — resulting string.
Returns true, if it looks like supplied parameters
are template strings and values arrays.
Arguments:
strings : TemplateStringsArray— template strings.rest : any[]— template values.
Returns: boolean.
stringify : boolean = false— iftrue, template values will be converted to strings.raw : boolean = false— iftrue, raw values of strings will be used.
MIT