cuid
javascript
Our great sponsors
cuid | javascript | |
---|---|---|
8 | 3 | |
3,340 | 2,784 | |
1.1% | 1.8% | |
2.4 | 0.0 | |
3 days ago | 9 months ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | 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.
cuid
-
Extracting Timestamp From CUID (Snowflake ❄️)
Not sure if this is the same, but a cuid related project had this requested a feature https://github.com/paralleldrive/cuid/issues/63
-
The best UUID type for a database Primary Key
I like this ones https://github.com/paralleldrive/cuid
-
Using a GUID vs. AutoIncrement number for primary key in Data Warehouse?
What about something like cuid? https://github.com/ericelliott/cuid
-
UUID/GUID, CUID & NanoID: What's The Difference?
CUID aims to solve the exact problem we discussed above with UUIDs. Quoted from CUID's GitHub:
- ROUBARAM UMA AARTE MINHA PRA FAZER NFT DE MAMACO! ÓDIO E NOJO DE CRYPTO!
- PostgreSQL UUID vs. Serial vs. Identity
- Collision-resistant ids optimized for horizontal scaling and performance
-
Things You Should Do Now
How does it compare to cuid [1]? If you know the differences, can you please explain them for those like me who do not know both?
[1] https://github.com/ericelliott/cuid
javascript
-
Analyzing New Unique Identifier Formats (UUIDv6, UUIDv7, and UUIDv8) (2022)
The spec as written on that page is confusing on that point, but the incrementing-counter-within-the-same-millisecond-behavior only happens if you explicitly specify a "monotonicFactory", https://github.com/ulid/javascript#monotonic-ulids. The default behavior (just using the ulid() function) doesn't do that, it generates a completely random value regardless of the millisecond value.
- Uncrustify for AHK, or How Do Y'all Beautify Your Code
- ROUBARAM UMA AARTE MINHA PRA FAZER NFT DE MAMACO! ÓDIO E NOJO DE CRYPTO!
What are some alternatives?
UUID - :snowflake: A PHP library for generating universally unique identifiers (UUIDs).
kuuid - K-sortable UUID - roughly time-sortable unique id generator
ksuid - K-Sortable Globally Unique IDs
ezmlm-idx - ezmlm-idx Mailing List Manager
pg-ulid - ULID Functions for PostgreSQL
Dapper - Dapper - a simple object mapper for .Net
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
spec - The canonical spec for ulid
Optimus - 🤖 Id obfuscation based on Knuth's multiplicative hashing method for PHP.
timeflake - Timeflake is a 128-bit, roughly-ordered, URL-safe UUID.
type_safe - Zero overhead utilities for preventing bugs at compile time
Next.js - The React Framework