change-case-all

A combined bundle of every change-case string transformation for JavaScript and TypeScript in one package.

Library
npm
v2.1.0
22stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
22/100Needs Attention
Development Activity0
Maintenance0
Community16
Maturity60
Momentum12

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
72/100Good
Architecture68
Code Quality70
Innovation60
Learning Curve90

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.

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search