Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

validation

Validation functions for Deno πŸ¦•

Validations

Email

Validates an email according to RFC5322 (or as close as possible).

import { email } from "https://deno.land/x/validation/email.ts";

if (email('test@example.com')) {
    console.log('valid')
}