strpl
Really simple string templates. Matches object paths wrapped with {{}} in strings to object values.
var t = ;console;
Also supports chains:
console;
Array indices are not yet supported, so you can't do:
;
Really simple string templates. Matches object paths wrapped with {{}} in strings to object values.
var t = ;console;
Also supports chains:
console;
Array indices are not yet supported, so you can't do:
;
npm i strtpl
0
0.1.0
MIT