UNPKG

uid-promise

Version:

generates a cryptographically strong random uid

3 lines (2 loc) 153 B
import type { RandomBytes } from './types.js'; export declare const generateUidFunction: (randomBytes: RandomBytes) => (len: number) => Promise<string>;