validity-ukpostcode

1.0.2 • Public • Published

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 ] }
      }
    })

Readme

Keywords

none

Package Sidebar

Install

npm i validity-ukpostcode

Weekly Downloads

3

Version

1.0.2

License

ISC

Unpacked Size

2.25 kB

Total Files

4

Last publish

Collaborators

  • asheboy