DEV Community

Gold Dick
Gold Dick

Posted on

Stop Debugging UUIDs - I Built DropID

The Problem

Error: User 550e8400-e29b-41d4-a916-446655440000 not found
Enter fullscreen mode Exit fullscreen mode

Which user? 🤷‍♂️

The Solution

Error: User user_a3f2b9c1d4e5 not found
Enter fullscreen mode Exit fullscreen mode

Instantly readable. ✅

DropID

I built dropid - a tiny library (2KB) for human-readable database IDs.

import { dropid } from 'dropid';

dropid('user')              // → user_a3f2b9c1d4e5
dropid('order', 'acme')     // → acme_order_x7k9m2n4p1q8
Enter fullscreen mode Exit fullscreen mode

Why?

✅ Debug faster - Know what type of ID instantly

✅ Multi-tenant ready - Perfect for SaaS

✅ Secure - Uses nanoid (crypto-secure)

✅ Fast - 2-3M IDs/second

Use It

npm install dropid
Enter fullscreen mode Exit fullscreen mode

Works with Drizzle, Prisma, TypeORM, or plain JS.

Part of DropAphi - Unified communication platform 🌍

Thoughts? 👇

Top comments (0)