@exodus/passphrase-strength
v1.0.2
Published
The passphrase-strength library
Downloads
3,020
Readme
@exodus/passphrase-strength
Usage
import { usePassphraseStrength } from '@exodus/passphrase-strength'
Check if your password ("correct horse battery staple") is strong enough.
const result = usePassphraseStrength({
minimumPassphraseLength = 8,
passphrase,
minimumValidScore,
})
const { passphraseIsStrong, passphraseScore } = result