Closed paleite closed 4 years ago
You should pass a following options param: { decamelize: false }
.
https://runkit.com/tiagodanin/5cf6b2894117be001aa4a297 No problem here...
Thanks, but that’s not the same dependency.
This issue is about @sindresorhus/slugify
: https://runkit.com/paleite/5cffe6e38b563f001ac2d5ea
Same issue with "3D" it returns 3-d lol
As mentioned by @kainiedziela, use {decamelize: false}
.
slugify('XBOX360');
returns "xbo-x360". But I expected the value to be "xbox360"