silly-password-generator
Version:
🔑 Generate silly passwords that are secure and easy to use. Inspired by xkcd.
14 lines (13 loc) • 467 B
TypeScript
import zxcvbn from 'zxcvbn';
export interface SillyPasswordOptions {
wordCount?: number;
capitalize?: boolean;
salt?: string;
}
export declare const DEFAULT_PASSWORD_OPTIONS: {
wordCount: number;
capitalize: boolean;
salt: string;
};
export declare const generateSillyPassword: (options?: SillyPasswordOptions) => string;
export declare const analyzePassword: (sillyPassword: string, userInputs?: string[] | undefined) => zxcvbn.ZXCVBNResult;