Back to Explore

jonschlinkert/word-wrap

GitHub
2 watchersOpen source

Last release:

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

  • This GitHub source (jonschlinkert/word-wrap) does not appear actively maintained as of 2026-06-09, with the last upstream push on 2024-04-22 and the most recent published updates listed in the provided data from 2023-07-22.
  • Update cadence is sparse, with major version/tag updates occurring infrequently (notably 1.2.x in 2023, then a long gap from earlier versions like 1.1.0 in 2015 and 1.2.3 in 2017).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 1.2.5

    Release 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.

    Breaking
  • 1.2.4

    Release 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.

    BreakingSecurityFeatures
  • 1.2.3

    Release 1.2.3 was published on 2017-06-03, but the publisher did not provide any release notes (none provided). Without documented changes, there is no actionable information about new features, fixes, or breaking changes for developers.

  • 1.1.0

    Release 1.1.0 introduces a new `cut` option. No additional behavior, compatibility impact, or other changes are described in the provided release notes.

    Features