@wise-community/angular-password-strength-meter
Version:
[](https://github.com/antoantonyk/password-strength-meter/actions/workflows/ci-workflow.yml) [ • 494 B
TypeScript
export interface FeedbackResult {
score: number | null;
feedback: Feedback | null;
}
export interface Feedback {
warning: string | null;
suggestions: string[];
}
export declare abstract class IPasswordStrengthMeterService {
abstract score(password: string): number;
abstract scoreWithFeedback(password: string): FeedbackResult;
abstract scoreAsync(password: string): Promise<number>;
abstract scoreWithFeedbackAsync(password: string): Promise<FeedbackResult>;
}