Launching today

prefID
Stripe-style, prefixed IDs for TypeScript & JavaScript
2 followers
Stripe-style, prefixed IDs for TypeScript & JavaScript
2 followers
prefID generates type-safe, prefixed IDs like user_a1b2c3 with zero dependencies. Secure, tiny, and universal with distributed ID support. With more control than UUID.


Love the zero-dependency approach and the prefixed format makes debugging so much easier than raw UUIDs. One thing I'd love to see is a built-in parser that can take a prefixed ID and return both the prefix and raw ID separately, so I don't have to write that regex every time.