Skip to content

PayU/zxcvbn-custom-matchers

Repository files navigation

@payu/zxcvbn-custom-matchers

Installation

npm install @payu/zxcvbn-custom-matchers

Usage

import { zxcvbnOptions } from '@zxcvbn-ts/core';
import { firstMatcher, secondMatcher } from '@payu/my-package';

// Add the matchers
zxcvbnOptions.addMatcher('first', firstMatcher);
zxcvbnOptions.addMatcher('second', secondMatcher);

// Use zxcvbn as usual
import { zxcvbn } from '@zxcvbn-ts/core';
const result = zxcvbn('password123');
console.log(result);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published