Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Replace shortid with nanoid #686

Open
vrizo opened this issue Oct 15, 2017 · 0 comments
Open

Replace shortid with nanoid #686

vrizo opened this issue Oct 15, 2017 · 0 comments

Comments

@vrizo
Copy link
Contributor

vrizo commented Oct 15, 2017

Hi!

Please consider replacing shortid with nanoid. There are no significant changes for users, but there are some critical benefits:

  • shortid is not maintained anymore (and issue tracker has many important issues);
  • shortid has a problem with a random generator (issue) and ID uniformity (issue). nanoid uses hardware random generator and has special uniformity tests (docs);
  • shortid has a problem with - symbol at the end of URL on some Android apps (issue). nanoid uses safe ~ instead of -;
  • And finally, nanoid is 10x times faster than shortid.

What do you think about this, @mcollina?

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant