valdie
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Valdie

CI npm NPM Downloads

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

  1. isEmail
  2. isInteger
  3. isString
  4. isURL

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

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i valdie

    Weekly Downloads

    2

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    27.2 kB

    Total Files

    41

    Last publish

    Collaborators

    • veritem