Open IndrajeetPatil opened 9 months ago
Hi @IndrajeetPatil you could use case = βsnakeβ and sep_out = β-β.
Thanks for the quick response!
From discoverability perspective, I still think it might be worth it to support case = "kebab"
, but I will leave that up to you π
I think itβs a good point you are making. Will do once I come back here.
Coming here to request the same thing. I needed to convert from lower camel to lower-kebab-case. I was surprised that this was not possible out of the box. I used to_any_case(x, sep_out = "-")
which worked just fine. But snakecase is all about being easy to use!
I was surprised that there is not feature parity with heck
rust library
I have seen this case used often in naming conventions for file names (e.g.
test-one-sample-test.R
), in addition to naming variables.Will it be possible for
{snakecase}
to support this?