Skip to main content
Deno 2 is finally here 🎉️
Learn more

@gabrielizaias/validation

This is a set of validation functions that I often find myself using on projects.

Validations

Email

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

import { email } from "@gabrielizaias/validation/email.js";

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