simplyhexagonal / short-unique-id

Short Unique ID (UUID) generation library. Available in NPM.

Home Page:https://www.npmjs.com/package/short-unique-id

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom Dictionary

ctsstc opened this issue · comments

Would it be possible to utilize a custom dictionary? For example if I would like to extend alpha numeric and also include symbols potentially. Maybe adding these as pre-defined options could be useful as well. It looked like you may be able to use a custom dictionary via the CLI option, but I didn't notice an API for such via code.

I didn't realize at first but it seems you can pass an array in for the constructor's dictionary property 👍