UNPKG

uid-promise

Version:

generates a cryptographically strong random uid

2 lines (1 loc) 113 B
export type RandomBytes = (size: number, callback?: (err: Error | null, buf: Uint8Array) => void) => Uint8Array;