Indexed Template
Process indexed template literals.
Example
let template = ; let text = template`Hello !`'Sandy';// Hello Sandy! let fn = template` knows , and knows .`; ;;// Elizabeth knows Francis, and Francis knows Elizabeth.// Jake knows Jim, and Jim knows Jake.
Installation
$ npm install indexed-template
API
var template = ;
template literal
(...values))
template- template literal {string.raw} A template literal where each expression evaluates to an integer
- parameter {...*} value: A value to be placed into the literal string matching the indexed value to the expressions integer.
- returns string: A string representing the template populated with the values.