added passwordStrength estimator

This commit is contained in:
xnacly committed 2021-02-03 19:39:37 +01:00
1 parent 5534592888
commit 9ee879dc04
3 files changed
+73 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { check } from "./../util/passwordStrength";
console.log(check("123456789012345"));
// -> 0.25
console.log(check("ABCDEFGHIJKLMOPQ"));
// -> 0.25
console.log(check("ABC123___...123"));
// ->
console.log(check(""));
// ->
// console.log(check(""));
// // ->