jonschlinkert/dashify

Does not recognize spaces and numbers

PetrosyanTigran opened this issue · 0 comments

LODASH:
_.kebabCase("46546hello56565World656") => "46546-hello-56565-world-656"
_.kebabCase("hello world") => "hello-world"

Dashify:
dashify("46546hello56565World656") => "46546hello56565world656"
dashify("hello world") => "hello------------world"


Github reduces the spaces between hello and world automatically, but you can check the image.

1111