UNPKG

@leismore/gen_sid

Version:

Short UID Generator (Command Line Tool). This program generates URL-friendly ( a-z A-Z 0-9 and - _ ) unique ID. DO NOT USE IT WITH CRYPTOGRAPHICAL PURPOSE!

23 lines (13 loc) 495 B
# Short UID Generator (Command Line Tool) This program generates URL-friendly ( a-z A-Z 0-9 and - _ ) unique ID. DO NOT USE IT WITH CRYPTOGRAPHICAL PURPOSE! ## Usage ``` node gen-sid [worker_id] @param {int: 0-16} worker_id When multiple servers involved, assign unique Worker ID to each server. ``` ## License GPL-3.0 ## Author [Winfred K. Qin](https://www.winfredkqin.name) @ [Leismore](https://www.leismore.co) ## Acknowledgments * shortid - <https://www.npmjs.com/package/shortid>