node-slug icon indicating copy to clipboard operation
node-slug copied to clipboard

Add default for lowercase, and ability to turn off lowercase if wanted

Open niftylettuce opened this issue 11 years ago • 38 comments

Having to do .toLowerCase() every time is very annoying, please fix this @dodo as similar to how you did with pretty.

niftylettuce avatar Feb 03 '15 19:02 niftylettuce

+2

a00andos avatar Feb 04 '15 14:02 a00andos

+1

gmotruk avatar Feb 04 '15 15:02 gmotruk

+1

oitozero avatar Feb 04 '15 15:02 oitozero

+1

gimenete avatar Feb 04 '15 15:02 gimenete

+1

callaars avatar Feb 04 '15 15:02 callaars

+1

pwlmc avatar Feb 04 '15 15:02 pwlmc

+1

BrunoBernardino avatar Feb 04 '15 15:02 BrunoBernardino

:+1:

jeduan avatar Feb 04 '15 15:02 jeduan

+1

anotheri avatar Feb 04 '15 15:02 anotheri

+1

tmcpro avatar Feb 04 '15 16:02 tmcpro

+1

diego-pacheco avatar Feb 04 '15 16:02 diego-pacheco

:+1:

s-silva avatar Feb 04 '15 16:02 s-silva

+1

iangthornton avatar Feb 04 '15 16:02 iangthornton

+1

oliverbenns avatar Feb 24 '15 03:02 oliverbenns

+1

Sicria avatar Mar 12 '15 06:03 Sicria

Seems like @dodo has vanished or is otherwise busy. I'll probably end up forking the project to implement my PR as well as a couple others.

Zertz avatar Apr 07 '15 02:04 Zertz

@Zertz Do you have any plan to merge other PRs and publishing this? seems that @dodo so busy to get the work done. May we force then merge the possible PRs, and publish?

dominhhai avatar Apr 13 '15 08:04 dominhhai

I merged @Zertz's PR and restricted the default to lower case only to rfc3986 mode, so the pretty mode stays case sensitive. I also changed the option name to lower instead of lowercase.

Let me know when this is not working out for you.

dodo avatar Apr 18 '15 09:04 dodo

Thanks @dodo !

Zertz avatar Apr 19 '15 17:04 Zertz

Why do we still have Pretty Mode on? The default should be the standard RFC3986. Come on.

niftylettuce avatar Nov 19 '15 17:11 niftylettuce