0.base62_encode returns empty string but it should return "0"
Closed this issue · 2 comments
paz-zz commented
0.base62_encode returns empty string but it should return "0"
jtzemp commented
Hey, Paz.
Thanks for the message. I'm aware that this is an issue. I designed this library to be a component for a URL minification service. The base 62 number would be based off the index of the record. Since I don't start database indexes at 0, I was ok with this limitation.
I know it's not ideal, but until I get around to refactoring it, it'll likely have this issue. I'm very open to patches/forks/fixes if you're interested in making them. :)
Thanks,
JT
jtzemp commented
Hey, Paz.
I know it's been a long time, but I've fixed this in version 0.1.4
Thanks!