I just finished building the custom module extension for nanoid
A tiny, secure, URL-friendly, unique string ID generator for JavaScript.
Think of UUID but faster.
You can grab it from the public repository (PRs accepted) and store the two files in extensions/server_connect/modules/
Feel free to fork and port to other server models. I work exclusively with nodejs so I donβt have time to build and test it for the rest.
Make sure to install the package before npm i nanoid
It implements all methods from the API except for Custom Random Bytes Generator. If there is enough interest I will think about adding it although I would be surprised if anyone needs it.
It has two versions: a synchronous and an asynchronous. Just choose the one you need.
Some screenshots.
Last updated: