@zxcvbn-ts/matcher-pwned
Version:
HaveIBeenPwned Matcher for zxcvbn-ts
9 lines (8 loc) • 357 B
TypeScript
import { MatchExtended, MatchOptions } from '@zxcvbn-ts/core';
import { FetchApi, MatcherPwnedFactoryConfig } from './types';
declare const _default: (universalFetch: FetchApi, { url, networkErrorHandler }: MatcherPwnedFactoryConfig) => {
new (): {
match({ password }: MatchOptions): Promise<MatchExtended[]>;
};
};
export default _default;