You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A dedent function is a common need when working with tagged template strings, as they enhance the legibility of strings relative to other code (without which indentations become chaotic).
Describe the solution you'd like
A dedent.ts function in the text directory. This file can export an overloaded version of dedent such that it works with both string arguments and template strings arrays + quasis.
Describe alternatives you've considered
While there are other libraries for this, I'd prefer only to use the Deno Standard Library wherever possible. This seems like a good candidate for Deno Standard.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
A
dedent
function is a common need when working with tagged template strings, as they enhance the legibility of strings relative to other code (without which indentations become chaotic).Describe the solution you'd like
A
dedent.ts
function in thetext
directory. This file can export an overloaded version ofdedent
such that it works with both string arguments and template strings arrays + quasis.Describe alternatives you've considered
While there are other libraries for this, I'd prefer only to use the Deno Standard Library wherever possible. This seems like a good candidate for Deno Standard.
The text was updated successfully, but these errors were encountered: