@ende/text/unstable-to-title-case

ende add jsr:@ende/text

Version 2026.10.15 on JSR.

Exports

  • BaseTitleCaseOptions — Base options for title-case functions
  • ExcludeWordConfig — A filter function or array of stop words to exclude them from title casing, or multiple filter functions and stop word arrays to combine for filtering.
  • ExcludeWordFilter — A function that filters words in the string. If a word returns `true` from this function, it will not be title-cased.
  • TitleCaseOptions — Options for toTitleCase
  • toTitleCase — Converts a string into Title Case.
  • TrailingCase — The case for the remaining characters in the string