Skip to content

Commit 9a49dfc

Browse files
authored
Update README.md
1 parent 02fae49 commit 9a49dfc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Free postal code validation for the web.
1111

1212
## Usage
1313

14+
`<script src="https://cdn.jsdelivr.net/gh/zipcodes/[email protected]/zipcodes.min.js"></script>`
15+
1416
```
1517
getZipCode('US', '90210', function (result) {
1618
console.log(result);
@@ -300,4 +302,9 @@ Country codes should follow [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/I
300302
| <img src="https://flags.zipcodes.gdn/png/256/YT.png" height="12" width="23"> | YT | Mayotte |||
301303
| <img src="https://flags.zipcodes.gdn/png/256/ZA.png" height="12" width="23"> | ZA | South Africa |||
302304
| <img src="https://flags.zipcodes.gdn/png/256/ZM.png" height="12" width="23"> | ZM | Zambia |||
303-
| <img src="https://flags.zipcodes.gdn/png/256/ZW.png" height="12" width="23"> | ZW | Zimbabwe |||
305+
| <img src="https://flags.zipcodes.gdn/png/256/ZW.png" height="12" width="23"> | ZW | Zimbabwe |||
306+
307+
# Sources
308+
309+
- Some patterns borrowed from https://github.com/sarcadass/i18n-zipcodes
310+
- Zipcode database from http://download.geonames.org

0 commit comments

Comments
 (0)