Skip to content

humans/validate.js

Repository files navigation

validate.js

WIP: This is still in early development, some APIs are still subject to change.

validate.js is a lightweight and extensible validation library for javascript.

The interface is heavily based off of Laravel's validation library.

Read the full documentation here

Here's a snippet!

import { Validator } from '@artisanstudio/validate.js'

const validator = new Validator({
    email: 'required|email'
})

validator.passes({
    email: 'not-an-email',
})

About

Light-weight, localizable, and extensible validation library.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published