test-schema-validator
v1.0.3
Published
This library validates schema attributes such as emaill addresses, phone numbers, date time fields etc.
Downloads
3
Readme
A simple mdoule to validate an email address.
Installation
Install via NPM:
npm install test-schema-validator
Usage
JavaScript
var validator = require('test-schema-validator');
validator("[email protected]"); //true
Typescript
import emailAddressValidator from 'test-schema-validator';
emailAddressValidator("[email protected]"); // true