-
Working on adding `cuid2` to the Rust `cuid` port, and trying to figure out how to do the fingerprint.
The JS version is a hash of:
- random number from 2063-~4126
- stringified object keys from …
-
To support offline clients I'm contemplating converting my table's integer PK's (PostgreSQL 12) to CUID's. I still don't very much enjoy the idea of switching out those short and sweet integers for a …
-
I was looking over the readme and I understand that the zeros represent the same process generating multiple keys within the same second.
1. Is this the correct understanding?
2. What is a `proces…
-
I made this actually long time ago, yet as the friendly @schickling just gave me access to his [`cuid-cli`](https://www.npmjs.com/package/cuid-cli) package and I could merge my scoped CLI, I thought i…
-
Suggestion: Create a function that calculates a hash(or something that isn't long) of the cuid and concat it to the end of cuid. So function isCuid can check that the cuid has not been tampered with.
-
Don't use expect/unwrap in your code please. I want to react on errors, not just crash.
-
On line [42](https://github.com/paralleldrive/cuid/blob/master/index.js#L42) the timestamp generated by creating a new `Date` instance and calling the `getTime` method on it.
However, as shown by …
-
All major browsers support ES modules, I think having option to import `cuid` directly in a browser will come handy. Possibly [esm](https://www.npmjs.com/package/esm) could provide an easy way to expo…
-
I've already check isCuid method, but this fn only check that it is a string starting by "c"
Do you know a simple and effective way to check that given string look like a real CUID?
Thanks for y…
-
**Version 0.5.0**
Given only 168140 rows, we're seeing 4 UUID generation collisions across the entire set even when when `copycat.uuid` is fed with unique-to-that-table data. Different inputs are g…