Skip to content

Asheboy/validity-ukpostcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

validity-ukpostcode

Validity style validator to ensure a UK postcode

Installation

npm install validity-ukpostcode --save

Usage

Below is a simple example for usage with schemata and save:

var postcode = require('validity-ukpostcode')
  , schemata = require('schemata')

var schema = schemata(
    { width:
      { type: String
      , validators: { [ postcode ] }
      }
    })

About

Validity style validator to ensure a UK postcode

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors