Syntax + disposable/temp-mail detection, role & free-provider flags, Gmail normalization, and 'did you mean?' typo suggestions (gmial.com → gmail.com). Store the normalized form to de-dupe users.
Install
$ npm install @lacspace/email-validate
Quick example
@lacspace/email-validatets
validateEmail("me@gmial.com").suggestion
Returns "me@gmail.com"
Tips
Zero-dependency and isomorphic — safe to import on the server, in the browser, on the edge and in React Native. It tree-shakes, so you only ship what you import.