Skip to content

Commit 84b263a

Browse files
committed
feat: update doc
1 parent 778c2f7 commit 84b263a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { checkPasswordComplexity } from "check-password-complexity";
3030

3131
// OR
3232

33-
const { checkPasswordComplexity } require("check-password-complexity");
33+
const { checkPasswordComplexity } = require("check-password-complexity");
3434

3535
console.log(checkPasswordComplexity("abcdefgh").value); // tooWeak
3636

0 commit comments

Comments
 (0)