Hi. Thanks for an awesome project. I found the way how to make it a little better. By replacing unique ID generator from shortid to nanoid.
shortid is not maintained anymore (and issue tracker has many important issues). I tried to took maintenance, but found that I can’t fix shortid with keeping API.
nanoid is just 179 bytes. shortid is 2 times bigger (about 0.5 KB).
Coverage remained the same at 100.0% when pulling b64db09316dfefaa2e02b83f4096e6ab4aa6d7df on ai:nanoid into 2989572e280cc0d7c441c306ba82100c78835cac on schiehll:master.
Hi. Thanks for an awesome project. I found the way how to make it a little better. By replacing unique ID generator from
shortid
tonanoid
.shortid
is not maintained anymore (and issue tracker has many important issues). I tried to took maintenance, but found that I can’t fixshortid
with keeping API.nanoid
is just 179 bytes.shortid
is 2 times bigger (about 0.5 KB).nanoid
is 10x times faster thanshortid
.@schiehll I kept old ID size, everything will be the same for the user.