n-digit-token
Version:
Cryptographically secure pseudo-random token of n digits
10 lines (9 loc) • 303 B
TypeScript
import type { Options } from '../types';
/**
* Validates options.skipPadding.
* Please read the README for more information.
* @param length
* @param options
* @throws {error} if called with invalid options
*/
export declare const validateSkipPadding: (length: number, options?: Options) => void;