UNPKG

@promptbook/remote-server

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

14 lines (13 loc) 404 B
import type { string_token } from '../../types/typeAliases'; /** * Generates random token * * Note: This function is cryptographically secure (it uses crypto.randomBytes internally) * * @private internal helper function * @returns secure random token */ export declare function $randomToken(randomness: number): string_token; /** * TODO: Maybe use nanoid instead https://github.com/ai/nanoid */