• Converts an underscored, camelized, or dasherized string into a humanized one. Also removes beginning and ending whitespace

    Example

    humanize('  capitalize dash-CamelCase_underscore trim  ');
    // 'Capitalize dash camel case underscore trim'

    Parameters

    • str: string

    Returns string

Generated using TypeDoc