Progressive Identifiers
Published ....
Last modified ....
From Boston, MA
Share this snippet on BlueskySee discussion on Bluesky
This is a quick and small snippet to generate IDs within JavaScript, and then show a user friendly variant of the ID - similar to change ids within Jujutsu!
class ProgressiveIdManager {
rawIds = new Set();
betterIds = new Map();
constructor(generateId = crypto.randomUUID.bind