Releases: blakeembrey/change-case
Releases · blakeembrey/change-case
Expand Small Words
Fixed
- Expand small words list and match within punctuation correctly (e.g.
*and*
)
Upper Case: Reduce Package Size
Changed
- Export
upperCase
export which is an alias toString#toUpperCase
- Export
localeUpperCase
export which supports locale-specific upper case
Upper Case First: Simplify Package
Changed
- Exports a single function called
upperCaseFirst
that uses standardString#toUpperCase
Title Case: Standardize Package
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
Changed
- Exports a single
swapCase
function that accepts a string and returns a string
Snake Case: Reduced Bundle Size
Changed
- Based on https://github.com/blakeembrey/change-case/releases/tag/no-case%403.0.0
- Renamed export to
snakeCase
- Second argument is an
Options
object
Sentence Case: Reduced Bundle Size
Changed
- Based on https://github.com/blakeembrey/change-case/releases/tag/no-case%403.0.0
- Renamed export to
sentenceCase
- Second argument is an
Options
object
Path Case: Reduce Package Size
Changed
- Based on https://github.com/blakeembrey/change-case/releases/tag/no-case%403.0.0
- Renamed export to
pathCase
- Second argument is an
Options
object
Pascal Case: Reduce Package Size
Changed
- Based on https://github.com/blakeembrey/change-case/releases/tag/no-case%403.0.0
- Renamed export to
pascalCase
- Second argument is an
Options
object
Param Case: Reduce Package Size
Changed
- Based on https://github.com/blakeembrey/change-case/releases/tag/no-case%403.0.0
- Renamed export to
paramCase
- Second argument is an
Options
object