Hey, not a Prisma related question (sort of relate...
# orm-help
i
Hey, not a Prisma related question (sort of related), I have inside my database a set of strings with a template like arguments inside of them like
%s
or
${name}
and I need to change those variables to the actual values. Which library or method do you recommend? Currently I found two things, first is
util.format
and the second one is
sprintf-js
.
j
I have not used a lot of util.format, but after looking up sprintf-js, it looks to have more features and its very clean looking too. I would go with that one, unless util.format has all of the same features implemented in the same way. Then the main benefit is having one less dependency to worry about.