@schutm/bs-cuid
v0.0.1
Published
bs-cuid =======
Downloads
1
Maintainers
Readme
bs-cuid
Synopsis
bs-cuid contains bindings to cuid to be used with Bucklescript-TEA.
The interface is the same as to the ocaml cuid packages.
Installation
yarn add bs-cuid
And don't forget to add it to your bsconfig.json:
"bs-dependencies": [
"bs-cuid",
...
],
Usage
let cuid = Cuid.generate ( )
(* cuid is "c00p6veue0000072slgr067a3", for example *)
or
let slug = Cuid.slug ( )
(* slug is "u90m0y0m", for example *)
Bug tracker
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.
Acknowledgements
Of course this library would be impossible without the excellent cuid library.
Contributing
Anyone and everyone is welcome to contribute.
License
This software is licensed under the ISC License.