Skip to content

UID

Generates a unique id string.

View in BitBucket

Parameters

None

Return Value

A string containing the uid generated.

Example Usage

import uid from '@mvps-genesis/uid';

const myUid = uid();
const anotherUid = uid();

console.log( myUid === anotherUid ); // false