sqids-dotnet
sqids-javascript
sqids-dotnet | sqids-javascript | |
---|---|---|
2 | 1 | |
681 | 548 | |
8.4% | 5.8% | |
7.5 | 7.1 | |
3 months ago | 3 months ago | |
C# | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sqids-dotnet
-
Sqids – Generate Short Unique IDs from Numbers
The approach definitely works. Some time ago I saw .NET listed but discovered it wasn't complete. I was eager to replace an existing Hashids implementation so I made some comments, shared a starter-snippet, and then someone was excited enough to complete in just a few days. It was great to see how quick the community stepped in. Maybe there was a bit of Cunningham's Law in effect with my contribution, ha.
https://github.com/sqids/sqids-dotnet/issues/2#issuecomment-...
- Sqids: Hashids, improved – encode numbers into random looking strings and back
sqids-javascript
-
Sqids – Generate Short Unique IDs from Numbers
Odd design decision in that if you provide your own blocklist, it overwrites their (extensive) default list instead of adding to it.
And in general the algorithm is surprisingly complicated for something that could be replaced with simply base64 encoding, the given example (1,2,3) base64 encodes to a string with just one more letter than this algorithm.
That said I do appreciate the semicolon-free-style. I don't typically see that in libs besides my own.
https://github.com/sqids/sqids-javascript/blob/main/src/sqid...
What are some alternatives?
nanoid-good - Obscene words filter for nanoid
nanoid-dictionary - Predefined character sets to use with nanoid
DotNetCore - .NET 8 Nuget Packages.
Fine Code Coverage - Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
base-emoji - BaseEmoji is a binary-to-emoji encoding scheme that represent binary data in a subset of the Unicode Emoji symbols, designed for triggering senior programmers effortlessly. BaseEmoji is heavily influenced by my furstration towards my tech lead that always shares data (base64 encoded) with me.
Architecture - .NET 8, Angular 17, Clean Architecture, Clean Code, SOLID Principles, KISS Principle, DRY Principle, Fail Fast Principle, Common Closure Principle, Common Reuse Principle, Acyclic Dependencies Principle, Mediator Pattern, Result Pattern, Folder-by-Feature Structure, Separation of Concerns.
gfc64 - Obscures database sequential primary keys (or any 64-bit int) using a Feistel cipher. Throw away your UUIDs!
sqids-ruby - Official Ruby port of Sqids. Generate short unique IDs from numbers.
proquint - Proquints: Identifiers that are Readable, Spellable, and Pronounceable.