Files
bun.sh/src
Claude Bot d7cf65eb0e feat: implement case-changing utility methods (fixes #15087)
Add the following case conversion methods to the Bun global object:
- Bun.camelCase() - Convert to camelCase
- Bun.pascalCase() - Convert to PascalCase
- Bun.snakeCase() - Convert to snake_case
- Bun.kebabCase() - Convert to kebab-case
- Bun.constantCase() - Convert to CONSTANT_CASE
- Bun.dotCase() - Convert to dot.case
- Bun.capitalCase() - Convert to Capital Case
- Bun.trainCase() - Convert to Train-Case

These utility functions are implemented in Zig for performance and handle:
- Multiple word delimiters (spaces, hyphens, underscores, etc.)
- Case transitions (camelCase, PascalCase detection)
- Numbers adjacent to letters
- UTF-8 string encoding

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-13 01:06:33 +00:00
..
2025-09-09 20:41:10 -07:00
2025-09-11 17:53:06 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 23:31:07 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 23:31:07 -07:00
2025-07-21 13:26:47 -07:00
2025-07-29 19:35:46 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-08-27 06:39:11 -07:00
2025-09-09 20:41:10 -07:00
2025-09-04 18:06:47 -07:00
2025-09-09 20:41:10 -07:00
2025-09-11 23:29:53 -07:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 20:41:10 -07:00
2025-09-03 15:40:44 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-02-01 01:11:02 -08:00
2025-09-09 20:41:10 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00