summary refs log tree commit diff
path: root/api/src/test/password_test.ts
blob: 983b18ae2c316ece23284b7833bfc8d2581266e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { checkPassword } from "@fosscord/api";

console.log(checkPassword("123456789012345"));
// -> 0.25
console.log(checkPassword("ABCDEFGHIJKLMOPQ"));
// -> 0.25
console.log(checkPassword("ABC123___...123"));
// ->
console.log(checkPassword(""));
// ->
// console.log(checkPassword(""));
// // ->