New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

is-valid-zipcode

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-valid-zipcode

Check if a zip/postal code is valid.

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

is-valid-zipcode

Build Latest Version Downloads per Month License

Check if a zip/postal code is valid

Install

$ npm install --save is-valid-zipcode

Usage

var isValidZipcode = require('is-valid-zipcode');

isValidZipcode('2000-000', 'PT');
// => true

isValidZipcode('7521785-952-520', 'PT');
//=> false

By default, the country is United States.

License

MIT © Henrique Dias

Keywords

zipcode

FAQs

Package last updated on 27 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts