README
typed-email
A simple typed add-on for checking and normalizing email addresses.
Installation
npm install typed-email
Usage
import * as T from "typed";
import { email } from "typed-email";
const userType = T.object({
email, // will trim, lowercase and validate email
password: T.string,
});