@clocklimited/validity-ukpostcode
v1.1.1
Published
Validity style validator to ensure a UK postcode
Downloads
37
Keywords
Readme
validity-ukpostcode
Validity style validator to ensure a UK postcode
Installation
npm install @clocklimited/validity-ukpostcode --save
Usage
Below is a simple example for usage with schemata and save:
var postcode = require('@clocklimited/validity-ukpostcode')
, schemata = require('schemata')
var schema = schemata(
{ width:
{ type: String
, validators: { [ postcode ] }
}
})