Valdie
A TypeScript and JavaScript Validation Library that works
-
🎉 It doesn't have any dependancy -
💪 Simple api -
📦 It works with TypeScript
You probably never knew you needed it but here you go.
Getting started
npm i valdie
or
yarn add valdie
using deno
import valdie from 'https://cdn.skypack.dev/valdie'
Documentation
They are two ways of consuming our api
import { isEmail } from "valdie"
console.log(isEmail("test@test.com")) // true
let { message,success } = isEmail("test@gmail.com")
isInteger
console.log(isInteger(34)) // true
Maintainers
Licence
The project is under MIT Licence 2021