shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
uniqid
Type:Function
Status:stable
Since:1.0.0
Platform:node
@blackbyte.sugar.node.string
Generate a unique identifier string using UUID v4. Works using the uuid npm package under the hood.
Return
- -String
A UUID v4 string (36 characters with dashes)
Example
import { uniqid } from '@blackbyte/sugar/string';
console.log(uniqid()); // => "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed"Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space