sprintf.js icon indicating copy to clipboard operation
sprintf.js copied to clipboard

Add tag function for template literals

Open zazula opened this issue 1 year ago • 0 comments

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'

zazula avatar Dec 21 '23 21:12 zazula