Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 470 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 470 Bytes

IDGen


Generates unique ID's on demand

Takes inspiration from Discord and Twitter Snowflake id format

Info

IDGen:

/docs:
  returns this documentation page
  
/:
  parameters:
    - n:
      - range [1,1000]
      - integer
  examples:
    - No n specified:
    { "id": "239578532651466752" }
    - n = 2:
    { "items": [ "239578501894635520", "239578532651466752" ] }
  returns a list of items (ids) if n is specified, otherwise a single id