sprintf.js
sprintf.js copied to clipboard
Add tag function for template literals
Add a tag function to allow sprintf-style formatting in template literals.
Ex:
console.log(SPFThis is ${1.2345}%.2f
)
// log 'This is 1.23'