Skip to content

Conversation

zazula
Copy link

@zazula zazula commented Dec 21, 2023

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant