Skip to content

Commit fff876e

Browse files
committed
Update README
1 parent a257de7 commit fff876e

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
# has-postalcode
22

3-
[![status](https://api.travis-ci.org/angelcustodio/has-postalcode.svg?branch=master)](https://travis-ci.org/angelcustodio/has-postalcode)
4-
[![version](https://badge.fury.io/js/discord-steam-bot.svg)](https://npmjs.org/package/has-postalcode)
5-
[![downloads](http://img.shields.io/npm/dm/has-postalcode.svg)](https://npmjs.org/package/has-postalcode)
3+
![version](https://img.shields.io/npm/v/has-postalcode?color=red&label=version)
4+
![status](https://img.shields.io/travis/angelcustodio/has-postalcode)
5+
![size](https://img.shields.io/bundlephobia/min/has-postalcode?color=orange&label=size)
6+
![downloads](https://img.shields.io/npm/dw/has-postalcode?color=yellow)
67

7-
8-
Check if a country has (or uses) postal codes or not. Simple as that.
8+
Check if a country has (or uses) postal codes or not. Zero dependencies. Simple as that.
99

1010
It's ISO 3166-1 compliant so you can use 2-3 characters/numeric country code or standarized english name. Standarization can be found in [ISO OBP](https://www.iso.org/obp/ui/#search).
1111

12-
The package basically checks a list of no-postalcode countries. When checking for a country that is **on** the list, the returned value will be `false`. In case of checking for a country that is **not** included in the list it will return `true`.
13-
14-
For non-compliant values with ISO 3166-1, it will return `undefined`.
12+
The package basically checks a list of no-postalcode countries. When checking for a country that is **on** the list, the returned value will be `false`. In case of checking for a country that is **not** included in the list it will return `true`. For non-compliant values with ISO 3166-1, it will return `undefined`.
1513

1614
## Installation
1715

0 commit comments

Comments
 (0)