Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Banidja committed Aug 31, 2024
1 parent 2093aaa commit cfe4df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { validateDomain } from "domain-tld-validator";

console.log(validateDomain("google.com")); // true
console.log(validateDomain("sub.google.com")); // true
console.log(validateDomain("my-domain.com")); // true
console.log(validateDomain("go-ogle.com")); // true

console.log(validateDomain("goo gle.com")); // false
console.log(validateDomain("google.com.")); // false
Expand Down

0 comments on commit cfe4df3

Please sign in to comment.