Closed KieronWiltshire closed 10 months ago
Hi @KieronWiltshire, unfortunately that's not in the plans for several reasons:
However, if you have a legitimate use-case, you can always wrap the library into custom code
The use case I have here is neither, I have UUIDs that I want to use in URL, but UUIDs are large and won't be consistent with other URLs.
Was hoping to convert UUIDs to hex, hash ID them, then reverse the process for lookups.
Thanks for the feedback, makes sense. In this case, I think #2
from above would still apply. I'll keep an open mind and see if the community demand is there as the library progresses.
In the meantime, you could try to wrap your code with these: https://github.com/niieani/hashids.js/blob/master/src/hashids.ts#L150-L190
@4kimov Thanks for the suggestion, appreciate the timely response on a Sunday :)
Please support hex