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-07-22 17:51:38 -07:00
2025-09-01 02:35:55 -07:00
2025-09-09 23:29:39 -07:00
2025-08-11 20:19:34 -07:00
2025-09-11 17:53:06 -07:00
2025-07-22 17:51:38 -07:00
2025-09-13 01:06:33 +00:00
2025-09-09 23:29:39 -07:00
2025-09-10 23:02:24 -07:00
2025-09-10 00:31:54 -07:00
2025-09-09 20:41:10 -07:00
2025-08-26 12:50:25 -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-22 17:51:38 -07:00
2025-08-28 17:34:35 -07:00
2025-09-11 19:36:01 -07:00
2025-07-17 03:13:48 -07:00
2025-09-10 17:36:23 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 00:45:09 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-09-07 17:53:00 -07:00
2025-07-31 22:07:17 -07:00
2025-08-11 20:19:34 -07:00
2025-09-09 20:41:10 -07:00
2025-09-01 02:35:55 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-07-23 17:10:58 -07:00
2025-09-09 20:41:10 -07:00
2025-09-09 20:41:10 -07:00
2025-09-10 18:47:50 -07:00
2025-09-09 23:31:07 -07:00
2025-08-26 12:50:25 -07:00
2025-07-21 13:26:47 -07:00
2025-09-03 15:40:44 -07:00
2025-09-11 17:50:18 -07:00
2025-06-04 19:41:26 -07:00
2025-08-11 20:19:34 -07:00
2024-10-08 23:04:05 -07:00
2025-09-03 15:40:44 -07:00
2025-08-23 06:55:30 -07:00
2025-05-14 18:42:42 -07:00
2025-07-29 19:35:46 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-08-26 12:50:25 -07:00
2025-04-17 14:17:08 -07:00
2025-07-22 17:51:38 -07:00
2025-09-03 18:57:39 -07:00
2025-07-22 17:51:38 -07:00
2025-07-20 23:04:17 -07:00
2025-09-01 01:12:11 -07:00
2025-09-09 20:41:10 -07:00
2025-08-26 12:50:25 -07:00
2025-06-12 14:20:28 -07:00
2025-08-11 20:19:34 -07:00
2025-07-21 13:26:47 -07:00
2025-09-09 23:29:39 -07:00
2025-09-09 20:41:10 -07:00
2025-09-03 18:57:39 -07:00
2025-07-31 00:56:50 -07:00
2025-08-11 20:19:34 -07:00
2025-09-04 18:14:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-08-07 15:16:44 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-28 00:13:17 -07:00
2025-08-22 23:04:58 -07:00
2025-05-08 23:22:16 -07:00
2025-05-08 23:22:16 -07:00
2024-09-03 21:32:52 -07:00
2025-08-14 18:03:26 -07:00
2025-08-27 06:39:11 -07:00
2025-05-08 23:22:16 -07:00
2024-12-10 12:43:17 -08:00
2025-08-21 15:28:15 -07:00
2025-08-30 02:50:35 -07:00
2025-08-23 06:55:30 -07:00
2025-06-03 23:51:03 -07:00
2025-09-11 19:24:43 -07:00
2025-08-26 12:50:25 -07:00
2025-09-03 15:40:44 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-09-09 20:41:10 -07:00
2025-09-04 18:06:47 -07:00
2025-07-09 00:19:57 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-08-23 06:55:30 -07:00
2025-07-22 17:51:38 -07:00
2025-08-26 12:50:25 -07:00
2025-08-25 17:37:12 -07:00
2025-09-09 20:41:10 -07:00
2024-12-10 12:43:17 -08:00
2025-09-11 23:29:53 -07:00
2025-03-26 23:57:10 -07:00
2025-09-09 20:41:10 -07:00
2025-07-22 17:51:38 -07:00
2025-08-14 21:12:22 -07:00
2025-02-18 10:38:37 -08:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-08-26 12:50:25 -07:00
2025-07-22 17:51:38 -07:00
2025-09-03 15:40:44 -07:00
2025-09-03 15:40:44 -07:00
2025-07-22 17:51:38 -07:00
2025-07-22 17:51:38 -07:00
2025-09-09 23:29:39 -07:00
2025-09-09 21:42:01 -07:00
2025-07-22 17:51:38 -07:00
2025-08-26 12:50:25 -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-07-21 13:26:47 -07:00
2025-09-03 15:40:44 -07:00
2025-07-22 17:51:38 -07:00
2025-08-26 12:50:25 -07:00
2025-06-22 20:51:45 -07:00
2025-09-09 23:29:39 -07:00
2025-09-03 15:40:44 -07:00
2025-02-02 00:20:45 -08:00
2025-07-21 13:26:47 -07:00
2025-09-04 18:17:14 -07:00
2025-07-21 13:26:47 -07:00
2025-08-31 18:27:51 -07:00
2025-07-13 04:27:43 -07:00
2025-07-13 04:27:43 -07:00
2025-07-13 04:27:43 -07:00
2025-07-25 12:38:06 -07:00
2025-09-04 18:17:14 -07:00
2025-07-21 13:26:47 -07:00
2025-09-03 15:40:44 -07:00
2025-07-25 12:38:06 -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-05-08 23:22:16 -07:00
2025-07-21 13:26:47 -07:00
2025-08-11 20:19:34 -07:00
2025-07-21 13:26:47 -07:00
2025-08-26 12:50:25 -07:00
2025-08-26 12:50:25 -07:00
2025-07-22 17:51:38 -07:00
2025-08-11 20:19:34 -07:00
2025-07-20 23:04:17 -07:00
2025-08-23 06:55:30 -07:00
2025-07-21 13:26:47 -07:00
2025-07-22 17:51:38 -07:00
2025-07-21 13:26:47 -07:00
2025-09-03 18:57:39 -07:00