formatted-string
Formatting a string based upon the object passed.
Features
- uses typescript
usage
var str = formatted("{a} is {b}; {b} is {a}", {a:'red', b: 'blue'});
console.log(str);
// output
"red is blue; blue is red"
License
MIT © Anubhav Saini 2016-2022