1.1.4 • Published 5 years ago

validity-telephone-number v1.1.4

Weekly downloads
11
License
ISC
Repository
github
Last release
5 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

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago