Skip to content

text-clipper v3.0.0

Latest
Compare
Choose a tag to compare
@arendjr arendjr released this 10 Jul 21:02

With version 3, text-clipper has become a Deno-first library and is now available on Jsr.io. Instructions for installation on Node.js/Bun are still included.

Other changes

  • Fix #18: Don't include spaces before the indicator.
  • Fix #19: Introduce a new option insertIndicatorAtLinebreak (default: true). If you want to
    keep the behavior of text-clipper v2, you should set this back to false.
  • Tweak in behavior: The indicator is never inserted if only whitespace remains after the
    clipping point.