0.0.8 • Published 9 months ago

validator-pro v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Validator PRO

Not just an another validator plugin, we've everything packed for you!

Join NxtOpen On Discord

Features

✅ Wide-range of Regular Expressions ✅ Validate & Escape options

Usage

Typescript

import ValidatorPro from 'validator-pro';

const validator = new ValidatorPro();

const isValidEmail: boolean = validator.validate('EMAIL', 'example@example.com');
console.log('Is the email valid?', isValidEmail);

// Output : Is the email valid? true

Javascript

const ValidatorPro = require('validator-pro').default; // Use the ".default" property for default export

const validator = new ValidatorPro();

const isValidEmail = validator.validate('EMAIL', 'example@example.com');
console.log('Is the email valid?', isValidEmail);

// Output : Is the email valid? true

APIs

Validate

Validate with a predefined option and get true or false

.validate(OPTION,INPUT)

Escape

Escape the specified option matched, from input

.escape(OPTION,INPUT)

Options Available

Contribute More

Easily contribute to our collection, by Opening an issue with RegEx to be added or update with file or data froma forked repo with a PR.

0.0.8

9 months ago

0.0.7-2

9 months ago

0.0.7-1

9 months ago

0.0.7

9 months ago

0.0.6-2

9 months ago

0.0.6-1

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago