change-case-all
A combined bundle of every change-case string transformation for JavaScript and TypeScript in one package.
Repository Health
Technical Analysis
change-case-all bundles all of Blake Embrey’s change-case string transformation functions into a single package, so you can convert between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more without installing each helper separately. It ships both ESM and CJS builds and stays backwards compatible with change-case@4.1.0.
Beyond the individual functions, it exposes a convenient Case helper class that groups every transformation under one namespace, giving TypeScript and JavaScript projects a single import for all their case-conversion needs.
What You Get
- Every change-case transformation (camel, pascal, snake, kebab, constant, and more) from one import
- A Case helper class that namespaces all conversion methods
- Both ESM and CJS bundles for broad environment support
Common Use Cases
- Normalizing identifiers when generating code or API clients
- Converting user input or keys between naming conventions
- Consolidating multiple change-case dependencies into one
Under The Hood
Architecture - The package aggregates and re-exports the individual change-case scoped functions and adds a static Case helper class whose methods (Case.camel, Case.upper, etc.) delegate to those functions, providing a single entry point in src.
Tech Stack - Written in TypeScript and bundled with Vite into dual ESM and CJS outputs, with a tsconfig.json for type declarations. Tests run under Jasmine.
Code Quality - The repository includes a tests directory with Jasmine specs and a CI workflow badge, indicating automated testing of the exported functions; the code is thin glue over the upstream change-case implementations.
API Design - Developers get two ergonomic options: named imports identical to change-case, or the discoverable Case class that groups everything, both fully typed for editor autocompletion.