postal-codes

1.0.906 • Public • Published

postal-codes

NPM version Downloads

Maps postal codes to polygons.

Usage

Install the library with npm install postal-codes

var PostalCodes = require('postal-codes');
 
var postalCodes = new PostalCodes();
 
// Get supported countries
postalCodes.supportedCountries().then(function(value) {
  value.countryCodes; //->  Array of ISO 3166-1 alpha-2 country codes
});
 
// Get some postal code
postalCodes.area({
  countryCode: "US",
  postalCode: "90210"
}).then(function(value) {
  value.countryCode; //-> "US"
  value.id;          //-> "90210"
  value.polygons;    //-> Array of polygons that represent this postal code
});

Reporting Issues

Please use the issue tracker to report issues related to this library.

License

This library uses the Apache License, version 2.0.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.90619latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.90619
1.0.9051
1.0.9041
1.0.9032
1.0.9021
1.0.9011
1.0.9001
1.0.8991
1.0.8984
1.0.8971
1.0.8961
1.0.8951
1.0.8941
1.0.8931
1.0.8921
1.0.8911
1.0.8901
1.0.8891
1.0.8880
1.0.8871
1.0.8861
1.0.8851
1.0.8841
1.0.8831
1.0.8821
1.0.8813
1.0.8801
1.0.8792
1.0.8781
1.0.8772
1.0.8761
1.0.8751
1.0.8741
1.0.8731
1.0.8722
1.0.8714
1.0.8701
1.0.8691
1.0.8681
1.0.8671
1.0.8661
1.0.8651
1.0.8641
1.0.8631
1.0.8621
1.0.8611
1.0.8601
1.0.8591
1.0.8581
1.0.8571
1.0.8561
1.0.8551
1.0.8541
1.0.8531
1.0.8521
1.0.8511
1.0.8501
1.0.8491
1.0.8481
1.0.8471
1.0.8461
1.0.8451
1.0.8441
1.0.8431
1.0.8421
1.0.8411
1.0.8401
1.0.8391
1.0.8381
1.0.8370
1.0.8361
1.0.8351
1.0.8341
1.0.8331
1.0.8321
1.0.8311
1.0.8301
1.0.8291
1.0.8281
1.0.8271
1.0.8261
1.0.8251
1.0.8241
1.0.8231
1.0.8221
1.0.8211
1.0.8201
1.0.8191
1.0.8181
1.0.8171
1.0.8161
1.0.8151
1.0.8141
1.0.8131
1.0.8121
1.0.8111
1.0.8101
1.0.8091
1.0.8081
1.0.8071
1.0.8061
1.0.8051
1.0.8041
1.0.8031
1.0.8021
1.0.8011
1.0.8001
1.0.7991
1.0.7981
1.0.7971
1.0.7961
1.0.7951
1.0.7941
1.0.7931
1.0.7921
1.0.7911
1.0.7901
1.0.7891
1.0.7881
1.0.7871
1.0.7861
1.0.7851
1.0.7841
1.0.7831
1.0.7821
1.0.7811
1.0.7801
1.0.7791
1.0.7781
1.0.7770
1.0.7761
1.0.7751
1.0.7741
1.0.7731
1.0.7721
1.0.7711
1.0.7701
1.0.7691
1.0.7681
1.0.7671
1.0.7661
1.0.7651
1.0.7641
1.0.7631
1.0.7621
1.0.7611
1.0.7601
1.0.7591
1.0.7581
1.0.7571
1.0.7561
1.0.7551
1.0.7541
1.0.7531
1.0.7521
1.0.7511
1.0.7501
1.0.7491
1.0.7481
1.0.7471
1.0.7461
1.0.7451
1.0.7441
1.0.7431
1.0.7421
1.0.7401
1.0.7391
1.0.7381
1.0.7371
1.0.7361
1.0.7351
1.0.7341
1.0.7331
1.0.7321
1.0.7311
1.0.7301
1.0.7291
1.0.7281
1.0.7271
1.0.7261
1.0.7251
1.0.7241
1.0.7231
1.0.7221
1.0.7211
1.0.7201
1.0.7191
1.0.7171
1.0.7161
1.0.7151
1.0.7141
1.0.7131
1.0.7121
1.0.7111
1.0.7101
1.0.7091
1.0.7081
1.0.7071
1.0.7061
1.0.7051
1.0.7041
1.0.7031
1.0.7021
1.0.7011
1.0.7001
1.0.6991
1.0.6981
1.0.69727
1.0.6961
1.0.6951
1.0.6941
1.0.6931
1.0.6921
1.0.6911
1.0.6901
1.0.6891
1.0.6881
1.0.6871
1.0.6861
1.0.6852
1.0.6841
1.0.6831
1.0.6821
1.0.6811
1.0.6801
1.0.6791
1.0.6781
1.0.6771
1.0.6761
1.0.6751
1.0.6741
1.0.6731
1.0.6721
1.0.6711
1.0.6700
1.0.6691
1.0.6681
1.0.6671
1.0.6660
1.0.6651
1.0.6641
1.0.6631
1.0.6621
1.0.6611
1.0.6601
1.0.6591
1.0.6581
1.0.6571
1.0.6561
1.0.6551
1.0.6541
1.0.6531
1.0.6521
1.0.6511
1.0.6501
1.0.6491
1.0.6481
1.0.6471
1.0.6461
1.0.6451
1.0.6441
1.0.6431
1.0.6421
1.0.6411
1.0.6401
1.0.6391
1.0.6381
1.0.6371
1.0.6361
1.0.6351
1.0.6341
1.0.6331
1.0.6321
1.0.6311
1.0.6301
1.0.6291
1.0.6281
1.0.6271
1.0.6261
1.0.6251
1.0.6241
1.0.6231
1.0.6221
1.0.6211
1.0.6201
1.0.6191
1.0.6181
1.0.6171
1.0.6161
1.0.6151
1.0.6141
1.0.6131
1.0.6121
1.0.6111
1.0.6101
1.0.6091
1.0.6081
1.0.6071
1.0.6061
1.0.6051
1.0.6040
1.0.6031
1.0.6021
1.0.6011
1.0.6001
1.0.5991
1.0.5981
1.0.5971
1.0.5961
1.0.5951
1.0.5941
1.0.5931
1.0.5921
1.0.5911
1.0.5901
1.0.5891
1.0.5881
1.0.5871
1.0.5861
1.0.5851
1.0.5841
1.0.5831
1.0.5821
1.0.5811
1.0.5801
1.0.5791
1.0.5781
1.0.5771
1.0.5761
1.0.5751
1.0.5741
1.0.5731
1.0.5721
1.0.5711
1.0.5701
1.0.5691
1.0.5681
1.0.5671
1.0.5661
1.0.5651
1.0.5641
1.0.5631
1.0.5621
1.0.5611
1.0.5601
1.0.5591
1.0.5581
1.0.5571
1.0.5561
1.0.5550
1.0.5541
1.0.5531
1.0.5521
1.0.5511
1.0.5501
1.0.5491
1.0.5481
1.0.5471
1.0.5461
1.0.5451
1.0.5441
1.0.5431
1.0.5421
1.0.5411
1.0.5401
1.0.5391
1.0.5381
1.0.5371
1.0.5361
1.0.5351
1.0.5341
1.0.5331
1.0.5321
1.0.5311
1.0.5301
1.0.5291
1.0.5281
1.0.5271
1.0.5261
1.0.5251
1.0.5241
1.0.5231
1.0.5221
1.0.5211
1.0.5201
1.0.5191
1.0.5181
1.0.5171
1.0.5161
1.0.5151
1.0.5141
1.0.5131
1.0.5121
1.0.5111
1.0.5101
1.0.5091
1.0.5081
1.0.5071
1.0.5061
1.0.5051
1.0.5041
1.0.5031
1.0.5021
1.0.5011
1.0.5001
1.0.4991
1.0.4981
1.0.4971
1.0.4961
1.0.4951
1.0.4941
1.0.4931
1.0.4921
1.0.4911
1.0.4901
1.0.4891
1.0.4881
1.0.4871
1.0.4861
1.0.4851
1.0.4841
1.0.4831
1.0.4821
1.0.4811
1.0.4801
1.0.4791
1.0.4781
1.0.4771
1.0.4761
1.0.4751
1.0.4741
1.0.4731
1.0.4721
1.0.4711
1.0.4701
1.0.4691
1.0.4681
1.0.4671
1.0.4661
1.0.4651
1.0.4641
1.0.4631
1.0.4621
1.0.4611
1.0.4601
1.0.4591
1.0.4581
1.0.4571
1.0.4561
1.0.4551
1.0.4541
1.0.4531
1.0.4521
1.0.4511
1.0.4501
1.0.4490
1.0.4481
1.0.4470
1.0.4461
1.0.4451
1.0.4440
1.0.4431
1.0.4421
1.0.4411
1.0.4401
1.0.4391
1.0.4381
1.0.4371
1.0.4361
1.0.4351
1.0.4341
1.0.4331
1.0.4321
1.0.4311
1.0.4301
1.0.4291
1.0.4281
1.0.4271
1.0.4261
1.0.4251
1.0.4241
1.0.4231
1.0.4221
1.0.4211
1.0.4201
1.0.4191
1.0.4181
1.0.4171
1.0.4161
1.0.4151
1.0.4141
1.0.4131
1.0.4121
1.0.4111
1.0.4101
1.0.4091
1.0.4081
1.0.4071
1.0.4061
1.0.4051
1.0.4041
1.0.4031
1.0.4021
1.0.4011
1.0.4001
1.0.3991
1.0.3981
1.0.3971
1.0.3961
1.0.3951
1.0.3941
1.0.3931
1.0.3921
1.0.3911
1.0.3901
1.0.3891
1.0.3881
1.0.3871
1.0.3861
1.0.3851
1.0.3841
1.0.3831
1.0.3821
1.0.3811
1.0.3801
1.0.3791
1.0.3781
1.0.3771
1.0.3761
1.0.3751
1.0.3740
1.0.3731
1.0.3721
1.0.3711
1.0.3701
1.0.3691
1.0.3681
1.0.3671
1.0.3661
1.0.3651
1.0.3641
1.0.3631
1.0.3621
1.0.3611
1.0.3601
1.0.3591
1.0.3581
1.0.3571
1.0.3561
1.0.3551
1.0.3541
1.0.3531
1.0.3521
1.0.3511
1.0.3501
1.0.3491
1.0.3481
1.0.3471
1.0.3461
1.0.3451
1.0.3441
1.0.3431
1.0.3421
1.0.3411
1.0.3401
1.0.3391
1.0.3381
1.0.3371
1.0.3361
1.0.3351
1.0.3341
1.0.3330
1.0.3321
1.0.3311
1.0.3301
1.0.3291
1.0.3281
1.0.3271
1.0.3261
1.0.3251
1.0.3241
1.0.3231
1.0.3221
1.0.3211
1.0.3201
1.0.3191
1.0.3181
1.0.3171
1.0.3161
1.0.3151
1.0.3140
1.0.3131
1.0.3121
1.0.3111
1.0.3101
1.0.3091
1.0.3081
1.0.3071
1.0.3061
1.0.3051
1.0.3041
1.0.3031
1.0.3021
1.0.3011
1.0.3001
1.0.2991
1.0.2981
1.0.2971
1.0.2961
1.0.2951
1.0.2941
1.0.2931
1.0.2921
1.0.2911
1.0.2901
1.0.2891
1.0.2881
1.0.2871
1.0.2861
1.0.2851
1.0.2841
1.0.2831
1.0.2821
1.0.2811
1.0.2801
1.0.2791
1.0.2781
1.0.2771
1.0.2761
1.0.2751
1.0.2741
1.0.2731
1.0.2721
1.0.2711
1.0.2701
1.0.2691
1.0.2681
1.0.2671
1.0.2661
1.0.2651
1.0.2641
1.0.2631
1.0.2621
1.0.2611
1.0.2601
1.0.2591
1.0.2581
1.0.2571
1.0.2561
1.0.2551
1.0.2541
1.0.2531
1.0.2521
1.0.2511
1.0.2501
1.0.2491
1.0.2481
1.0.2471
1.0.2461
1.0.2451
1.0.2441
1.0.2431
1.0.2421
1.0.2411
1.0.2401
1.0.2391
1.0.2381
1.0.2371
1.0.2361
1.0.2351
1.0.2341
1.0.2331
1.0.2321
1.0.2311
1.0.2301
1.0.2291
1.0.2281
1.0.2271
1.0.2261
1.0.2251
1.0.2241
1.0.2231
1.0.2220
1.0.2211
1.0.2201
1.0.2191
1.0.2181
1.0.2171
1.0.2161
1.0.2151
1.0.2141
1.0.2131
1.0.2121
1.0.2111
1.0.2101
1.0.2091
1.0.2081
1.0.2071
1.0.2061
1.0.2051
1.0.2041
1.0.2031
1.0.2021
1.0.2011
1.0.2001
1.0.1991
1.0.1981
1.0.1971
1.0.1961
1.0.1951
1.0.1941
1.0.1931
1.0.1921
1.0.1911
1.0.1901
1.0.1891
1.0.1881
1.0.1871
1.0.1861
1.0.1851
1.0.1841
1.0.1831
1.0.1821
1.0.1811
1.0.1801
1.0.1791
1.0.1781
1.0.1771
1.0.1761
1.0.1751
1.0.1741
1.0.1731
1.0.1721
1.0.1711
1.0.1701
1.0.1691
1.0.1681
1.0.1671
1.0.1661
1.0.1651
1.0.1641
1.0.1631
1.0.1621
1.0.1611
1.0.1602
1.0.1591
1.0.1581
1.0.1571
1.0.1561
1.0.1551
1.0.1541
1.0.1531
1.0.1521
1.0.1511
1.0.1501
1.0.1491
1.0.1481
1.0.1471
1.0.1461
1.0.1451
1.0.1441
1.0.1431
1.0.1421
1.0.1411
1.0.1401
1.0.1391
1.0.1381
1.0.1371
1.0.1361
1.0.1351
1.0.1341
1.0.1331
1.0.1321
1.0.1311
1.0.1301
1.0.1291
1.0.1281
1.0.1271
1.0.1261
1.0.1251
1.0.1241
1.0.1231
1.0.1221
1.0.1211
1.0.1201
1.0.1191
1.0.1181
1.0.1171
1.0.1161
1.0.1151
1.0.1141
1.0.1131
1.0.1121
1.0.1110
1.0.1101
1.0.1091
1.0.1081
1.0.1071
1.0.1061
1.0.1051
1.0.1041
1.0.1031
1.0.1021
1.0.1011
1.0.1001
1.0.990
1.0.980
1.0.970
1.0.961
1.0.950
1.0.940
1.0.930
1.0.920
1.0.910
1.0.900
1.0.890
1.0.880
1.0.870
1.0.860
1.0.850
1.0.840
1.0.830
1.0.820
1.0.810
1.0.800
1.0.790
1.0.780
1.0.770
1.0.760
1.0.750
1.0.740
1.0.730
1.0.720
1.0.710
1.0.700
1.0.690
1.0.680
1.0.670
1.0.660
1.0.650
1.0.640
1.0.630
1.0.620
1.0.610
1.0.600
1.0.590
1.0.580
1.0.570
1.0.560
1.0.550
1.0.540
1.0.530
1.0.520
1.0.510
1.0.500
1.0.490
1.0.480
1.0.470
1.0.460
1.0.450
1.0.440
1.0.430
1.0.420
1.0.410
1.0.400
1.0.390
1.0.380
1.0.370
1.0.360
1.0.350
1.0.340
1.0.330
1.0.320
1.0.310
1.0.300
1.0.290
1.0.280
1.0.270
1.0.260
1.0.250
1.0.240
1.0.230
1.0.220
1.0.210
1.0.200
1.0.190
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10

Package Sidebar

Install

npm i postal-codes

Weekly Downloads

849

Version

1.0.906

License

Apache-2.0

Unpacked Size

21.6 kB

Total Files

10

Last publish

Collaborators

  • wix-ci
  • wix-ambassador
  • shahata
  • netanelgilad
  • wix-ci-publisher
  • wix-bi-publisher
  • yurynix
  • itai.benda
  • arielh
  • falconci
  • roir-wix