UNPKG

algo-uniqueid

Version:

A lightweight and customizable TypeScript library for generating unique identifiers, secure passwords, and validating SSL certificates. Supports custom formats, batch generation, checksum validation, and built-in SSL certificate checks—perfect for order I

26 lines (22 loc) • 480 B
export interface CodeOptions { length?: number; charset?: string; separator?: string; formatter?: (parts: string[]) => string; includeYear?: boolean; includeTimestamp?: boolean; includeChecksum?: boolean; } export interface PrefixRules { minLength?: number; maxLength?: number; allowedChars?: RegExp; } export interface SSLCertificateInfo { valid: boolean; validFrom: string; validTo: string; daysRemaining: number; issuer: any; subject: any; }