A TypeScript and JavaScript Validation Library that works 🔨 - It doesn't use any libraries 🎉 - It's easy to use 💪 - It's easy to extend 📦
You probably never knew you needed it but here you go.
npm i valdie
or
yarn add valdie
using deno
import valdie from 'https://cdn.skypack.dev/valdie'
import { isEmail } from "valdie"
console.log(isEmail("test@test.com")) // true
let { message,success } = isEmail("test@gmail.com")
```javascript
console.log(isInteger(34)) // true
import validator from "valdie"
let { message,success } = validator("mystring").isString().isEmail()
Using builder method
```javascript
import validator from "valdie"
let {message,success} = valdie(20).isURL().isTel().validate()
Doors are open for any kind of contribution PRs and Issues, before submittin your PR or Issue to take a look in our CONTRIBUTOR_COVENANT and CONTRIBUTING_PRACTICES
To easy the review, describe your PR. You can find the PR description templete in our CONTRIBUTOR_COVENANT
The project is under MIT Licence 2021