Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kebaberize? #611

Closed
devdigital opened this issue Jan 13, 2017 · 5 comments
Closed

Kebaberize? #611

devdigital opened this issue Jan 13, 2017 · 5 comments

Comments

@devdigital
Copy link

Is there nothing available to convert directly to kebab-case?

It seems you need to do the following:

var result = "MyString".Underscore().Hyphenate();
Console.Write(result);  // "my-string"
@aloisdg
Copy link
Contributor

aloisdg commented Jan 13, 2017

See Snake Case for more informations.

@clairernovotny
Copy link
Member

Happy to take a PR to make this more efficient

@harpsicord86
Copy link

Has this been added to the nuget package? Tried to use this with no success!

@clairernovotny
Copy link
Member

Not yet, it will be a part of 2.2 which is going out soon. In the interim, you can always use the CI feed on MyGet as mentioned here https://github.com/Humanizr/Humanizer#install

@hazzik
Copy link
Member

hazzik commented May 2, 2017

Shouldn't this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants