manishsaraan / email-validator

email syntax validator npm module. fast and pretty robust
The Unlicense
436 stars 80 forks source link

Empty field not return error #61

Closed FAngelo94 closed 1 year ago

FAngelo94 commented 3 years ago

If I enter with an empty field as email ("") it doesn't return error

TandyN commented 2 years ago

Does it need to return an error? I tested this myself in node and it returns false as intended?

const validator = require('email-validator')

console.log(validator.validate(''))

// false
houd1ni commented 1 year ago

@TandyN is right and it been some time to reply. Closing.