Skip to content

dash has several disadvantages to lodash/kebabCase #408

@mctrafik

Description

@mctrafik

Hi. I'm trying to migrate to radashi, and seeing the follow cases fail for the dash function:

'--yellow plus10' which returns --yellow-plus10`

However lodash returns yellow-plus-10

Note that the leading -s are removed and numbers are treated as words.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions