Skip to content

Instantly share code, notes, and snippets.

View ShreyKumar's full-sized avatar
🎯
Focus

Shreyansh Kumar ShreyKumar

🎯
Focus
  • Corra
  • Toronto, ON, Canada
View GitHub Profile
@ShreyKumar
ShreyKumar / countriesAddressPostal.js
Last active June 6, 2024 14:19
List of countries and their respective postal codes with ranges (August 2020)
// Country list source: https://www.dhl.com/en/country_profile.html#.XwODEJNKjOQ
// Country abbreviation source: https://planetarynames.wr.usgs.gov/Abbreviations
// Postal code: https://gist.githubusercontent.com/jamesbar2/1c677c22df8f21e869cca7e439fc3f5b/raw/21662445653ac861f8ab81caa8cfaee3185aed15/postal-codes.json
// Postal code: https://en.wikipedia.org/wiki/List_of_postal_codes
// Country/territory items with no postal code regexes or ranges either do not require postal codes
// or there may not be enough information for that country/territory
export const COUNTRY_ADDRESS_POSTALS = [{
abbrev: 'AF',
$(document).ready(function(){
var data = {
medium: "balance",
payee_id: "56241a13de4bf40b17112926",
transaction_date: "31/10/15",
status: "pending",
description: "fdsfdsfds",
amount: 1
}