Skip to main content

String Helpers

Utility functions for working with strings.

Functions

FunctionDescription
camelCaseConverts kebab-case to camelCase
capitalizeCapitalizes the first letter of a string
errorToReadableMessageConvert an error to a readable message.
kebabCaseConverts camelCase to kebab-case
labelizeTransform string to lowercase with capitalized first letters and with spaces between words
slugifyConverts a string into a URL-friendly slug.