formatstring
Simple C# style format function.
Install
npm install --save formatstring
Examples
var format = ;var params = first: "John" info: age: 29 ;var pattern = "Hello, this is {first}, I'm {info.age}.";var output = ;console; // Hello, this is John, I'm 29.
If you don't use nested values, you can use formatstring
v1 for faster parsing.
npm install formatstring@1