Skip to content

Releases: blakeembrey/change-case

Upper Case: Reduce Package Size

01 Dec 20:27
Compare
Choose a tag to compare

Changed

  • Export upperCase export which is an alias to String#toUpperCase
  • Export localeUpperCase export which supports locale-specific upper case

Upper Case First: Simplify Package

01 Dec 20:33
Compare
Choose a tag to compare

Changed

  • Exports a single function called upperCaseFirst that uses standard String#toUpperCase

Title Case: Standardize Package

01 Dec 20:28
Compare
Choose a tag to compare

Changed

  • Previous package behavior is renamed to capital-case
  • Accepts a string and automatically capitalizes words based on English "Title Case" logic

Swap Case: Simplify Package

01 Dec 20:34
Compare
Choose a tag to compare

Changed

  • Exports a single swapCase function that accepts a string and returns a string

Snake Case: Reduced Bundle Size

01 Dec 20:24
Compare
Choose a tag to compare

Changed

Sentence Case: Reduced Bundle Size

01 Dec 20:23
Compare
Choose a tag to compare

Changed

Path Case: Reduce Package Size

01 Dec 20:23
Compare
Choose a tag to compare

Changed

Pascal Case: Reduce Package Size

01 Dec 20:23
Compare
Choose a tag to compare

Changed

Param Case: Reduce Package Size

01 Dec 20:22
Compare
Choose a tag to compare

Changed

No Case: Reduce Package Size

01 Dec 20:20
Compare
Choose a tag to compare

Changed

  • Function accepts two arguments: string (required) and Options (optional)
  • Default behavior of RegExp is to split on ASCII characters only (previously it used a Unicode RegExp, but this added 5 KB)
  • Function export is renamed to noCase