Releases: brianfunk/capstring
Releases · brianfunk/capstring
v1.0.0
Breaking Changes
- Node.js 18+ required - Dropped support for older Node.js versions
- ESM only - Package now uses ES modules (
import/export)
New Features
29 Transformation Styles
Added 14 new styles:
kebab/slug- hello-world (URL-friendly)dot- hello.worldpath- hello/worldconstant- HELLO_WORLD (SCREAMING_SNAKE_CASE)train- Hello-World (Train-Case)sponge- HeLlO (starts uppercase)mock- hElLo (starts lowercase)swap- Swap case (Hello → hELLO)alternate- aLtErNaTe (letters only)hashtag- #HelloWorldacronym- ASAP (first letters)rot13- uryyb (ROT13 cipher)flip- ollǝɥ (upside down)
New Exports
getStyles()- Returns array of all style namesisValidStyle()- Validates style namesSTYLESconstant - Frozen array of all 29 styles
Other Changes
- Complete ES2022+ rewrite
- Vitest (41 tests, 98% coverage)
- GitHub Actions CI
Minor Release v0.1.1
Includes l33t and reverse
Initial Release v0.0.1
Initial release for NPM