dxid is an easier way to identify all the things stored in your application.
Instead of using numbers like Action #13672, you'll use shorter codes like Action prpl

Convert from and to dxid
fill either the id or dxid

Key Advantages for your users

Benefits of DXID

  1. Shorter and Clearer

    • Easier to read, write, and remember
    • Less prone to copy/paste errors
    • Built-in error detection to catch typos
  2. Better Communication

    • Instead of: "There's a problem with Widget #234657" (easy to mistype)
    • You'll say: "There's a problem with Widget lkhhc" (shorter and catches typos)
    • If there is a mistake and you forget a char, it will correctly identify lkhh or lkhc as typos
  3. Human and URL-Friendly

    • you can put the uxid in a link without having to worry about encoding
    • all the easy to confuse chars (1 vs. l, 0 vs. O) aren't used
    • there aren't voyels either, so no risk that an diid looks like a word
  4. Minimal tech change

    • in your database and backend, you keep using the ids as always
    • you just convert them to dxid when displaying them
    • you just convert them to id when the users submit them
    • simple to check from the cli$npx dxid lkhhc
    • 923 bytes zipped and compressed
    • no dependency, lots of tests