This library uses the https://github.com/ai/nanoid package to generate long ids (21 length) and short (16 length) ids based on https://github.com/ai/nanoid with the default character set.
NodeJs version 18+
The following options can be set.
- Utility.setIdGeneratorAlphabet - sets a custom alphabet for nanoid use, be sure to read https://zelark.github.io/nano-id-cc.
- Utility.setIdGeneratorLengthLong - sets the length of the long id generation, be sure to read https://zelark.github.io/nano-id-cc.
- Utility.setIdGeneratorLengthShort - sets the length of the short id generation, be sure to read https://zelark.github.io/nano-id-cc.