dh-postcode

1.1.2 • Public • Published

DH Postcode

version MIT License Standard Standard Version Size

Usage

import Postcode from 'dh-postcode'
const postcode = Postcode('e C  1a1  Ah  ')
 
postcode.valid() // => true
postcode.format() // => 'EC1A 1AH'
 

Package Sidebar

Install

npm i dh-postcode

Weekly Downloads

3

Version

1.1.2

License

MIT

Last publish

Collaborators

  • danhayden