The interface is the same as to the ocaml cuid packages.
yarn add bs-cuid
And don't forget to add it to your bsconfig.json:
"bs-dependencies": [ "bs-cuid", ... ],
let cuid = Cuid.generate ( ) (* cuid is "c00p6veue0000072slgr067a3", for example *)
let slug = Cuid.slug ( ) (* slug is "u90m0y0m", for example *)
Open a new issue for bugs or feature requests. Please search for existing issues first.
Bugs or feature request will be fixed in the following order, if time permits:
- It has a pull-request with a working and tested fix.
- It is easy to fix and has benefit to myself or a broader audience.
- It puzzles me and triggers my curiosity to find a way to fix.
Of course this library would be impossible without the excellent cuid library.
Anyone and everyone is welcome to contribute.
This software is licensed under the ISC License.