strings.d.mts 436 B

123456789101112131415161718
  1. /**
  2. * Convert string to camelCase
  3. */
  4. declare function camelize(str: string): string;
  5. /**
  6. * Convert string to PascaleCase
  7. */
  8. declare function pascalize(str: string): string;
  9. /**
  10. * Convert camelCase string to kebab-case
  11. */
  12. declare function camelToKebab(key: string): string;
  13. /**
  14. * Convert camelCase string to snake-case
  15. */
  16. declare function snakelize(str: string): string;
  17. export { camelToKebab, camelize, pascalize, snakelize };