nice-comment
v0.12.2
Published
[](https://github.com/kiprasmel/nice-comment/actions/workflows/test.yml)
Downloads
4
Readme
nice-comment
create a nice comment.
whenever you feel like using interpolation in template literals (foo ${bar + 1} baz),
you could use ./nice-comment.ts instead.
or just use ts-dedent, idc
utils
joinWithDeep, combines the following:joinWithifDeepArrayThenFlattenWith
quotetickquoteTicktickQuotebracketparensarraybullets
a few pre-combined utils that now you'd create with joinWithDeep (kept for backwards compatibility):
toSentence(equiv. tojoinWithDeep(""))toParagraph(equiv. tojoinWithDeep(" ", ""))toComment(equiv. tojoinWithDeep("\n\n", " ", ""))
