Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilan Kushnir committed Nov 25, 2024
1 parent 8be39f1 commit 087c862
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import {
} from 'zxcvbn-custom-matchers';

// Add the matchers
zxcvbnOptions.addMatcher('oneLowercase', lowercaseMatcher);
zxcvbnOptions.addMatcher('lowercaseRequired', lowercaseMatcher);
zxcvbnOptions.addMatcher('minLength', numberMatcher);
zxcvbnOptions.addMatcher('oneNumber', specialMatcher);
zxcvbnOptions.addMatcher('oneSpecial', uppercaseMatcher);
zxcvbnOptions.addMatcher('oneUppercase', minLengthMatcher(10));
zxcvbnOptions.addMatcher('numberRequired', specialMatcher);
zxcvbnOptions.addMatcher('specialRequired', uppercaseMatcher);
zxcvbnOptions.addMatcher('uppercaseRequired', minLengthMatcher(10));

// Use zxcvbn as usual
import { zxcvbn } from '@zxcvbn-ts/core';
Expand Down

0 comments on commit 087c862

Please sign in to comment.