0.12.2 • Published 2 years ago

nice-comment v0.12.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

nice-comment

test

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. to joinWithDeep(""))
  • toParagraph (equiv. to joinWithDeep(" ", ""))
  • toComment (equiv. to joinWithDeep("\n\n", " ", ""))

License

MIT

0.10.0

2 years ago

0.11.0

2 years ago

0.12.0

2 years ago

0.12.1

2 years ago

0.12.2

2 years ago

0.9.0

2 years ago

0.7.2

2 years ago

0.8.0

2 years ago

0.7.1

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago