Lexical ID Generator
JSON →lexid is a micro library (version 2021.1006) designed to generate and increment lexically ordered numerical IDs. Its core functionality ensures that `older_id < newer_id` remains true throughout a sequence, whether dealing with integers or strings. This is achieved by special incrementing that uses the leftmost character/digit to maintain lexical order and prevent premature numerical overflow. It's useful for scenarios like build numbers or version strings that are often sorted by tools using simple lexical ordering, such as the UNIX sort command or JavaScript's string comparison. The library maintains an active status with updates as needed.
Traffic · last 30 days ↑800% vs prev 7d
total hits 18
actors 6 distinct systems
last hit 16h ago ByteDance
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany
API endpoints
full doc /v1/registry/lexid
install /v1/registry/lexid/install
compatibility /v1/registry/lexid/compatibility