word-wrap is a small CLI and text utility for wrapping words to a specified line width. It can also indent wrapped lines, customize the newline string, escape each line, trim trailing whitespace, and optionally cut long words to fit.
Project status
- The upstream appears at least intermittently maintained, with the last recorded upstream push on 2024-04-22, but the most recent published update shown is 1.2.5 from 2023-07-22.
- Update cadence looks low, with releases in 2015 (1.1.0), then a cluster in 2023 (1.2.4 and 1.2.5), and no later version listed after 1.2.5.
AI summary generated Today
Recent updates
1.2.5
7/22/2023Release 1.2.5 changes the default behavior of word wrapping by reverting the default `options.indent` value to two spaces. This directly affects the formatted output when `indent` is not provided, including how default line breaks are constructed.
Breaking1.2.4
7/18/2023Release 1.2.4 documents three changes: removing the default indentation behavior, and applying security fixes for CVE-2023-26115. It also mentions a chore to publish via workflow. However, the actual code diff in this release includes additional API and behavior changes not mentioned in the provided release notes.
BreakingSecurityFeatures1.1.0
7/17/2015Release 1.1.0 introduces a new `cut` option. No additional behavior, compatibility impact, or other changes are described in the provided release notes.
Features