1.1.4 • Published 4 years ago

validity-telephone-number v1.1.4

Weekly downloads
11
License
ISC
Repository
github
Last release
4 years ago

Phone Number Validator

A validity style validator for ensuring phone numbers are entered correctly. Built on the functionality of awesome-phonenumber

Installation

npm install validity-telephone-number --save

yarn add validity-telephone-number

Usage

Below is example usage of the telephone number validator:

const phoneNumber = require('validity-telephone-number'),
schemata = require('schemata')

var schema = schemata (
  {
    telephone:
    {
      type: String
      , validators: [ phoneNumber ]
    }
  }
)
1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago