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:joinWith
ifDeepArrayThenFlattenWith
-
quote
-
tick
-
quoteTick
-
tickQuote
-
bracket
-
parens
-
array
-
bullets
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", " ", "")
)