├── .editorconfig ├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── assets ├── AD │ ├── README.md │ ├── index.js │ └── package.json ├── AR │ ├── README.md │ ├── index.js │ └── package.json ├── AS │ ├── README.md │ ├── index.js │ └── package.json ├── AT │ ├── README.md │ ├── index.js │ └── package.json ├── AU │ ├── README.md │ ├── index.js │ └── package.json ├── AX │ ├── README.md │ ├── index.js │ └── package.json ├── BD │ ├── README.md │ ├── index.js │ └── package.json ├── BE │ ├── README.md │ ├── index.js │ └── package.json ├── BG │ ├── README.md │ ├── index.js │ └── package.json ├── BM │ ├── README.md │ ├── index.js │ └── package.json ├── BR │ ├── README.md │ ├── index.js │ └── package.json ├── BY │ ├── README.md │ ├── index.js │ └── package.json ├── CA │ ├── README.md │ ├── index.js │ └── package.json ├── CH │ ├── README.md │ ├── index.js │ └── package.json ├── CL │ ├── README.md │ ├── index.js │ └── package.json ├── CO │ ├── README.md │ ├── index.js │ └── package.json ├── CR │ ├── README.md │ ├── index.js │ └── package.json ├── CZ │ ├── README.md │ ├── index.js │ └── package.json ├── DE │ ├── README.md │ ├── index.js │ └── package.json ├── DK │ ├── README.md │ ├── index.js │ └── package.json ├── DO │ ├── README.md │ ├── index.js │ └── package.json ├── DZ │ ├── README.md │ ├── index.js │ └── package.json ├── ES │ ├── README.md │ ├── index.js │ └── package.json ├── FI │ ├── README.md │ ├── index.js │ └── package.json ├── FM │ ├── README.md │ ├── index.js │ └── package.json ├── FO │ ├── README.md │ ├── index.js │ └── package.json ├── FR │ ├── README.md │ ├── index.js │ └── package.json ├── GB │ ├── README.md │ ├── index.js │ └── package.json ├── GF │ ├── README.md │ ├── index.js │ └── package.json ├── GG │ ├── README.md │ ├── index.js │ └── package.json ├── GL │ ├── README.md │ ├── index.js │ └── package.json ├── GP │ ├── README.md │ ├── index.js │ └── package.json ├── GT │ ├── README.md │ ├── index.js │ └── package.json ├── GU │ ├── README.md │ ├── index.js │ └── package.json ├── HR │ ├── README.md │ ├── index.js │ └── package.json ├── HU │ ├── README.md │ ├── index.js │ └── package.json ├── IE │ ├── README.md │ ├── index.js │ └── package.json ├── IM │ ├── README.md │ ├── index.js │ └── package.json ├── IN │ ├── README.md │ ├── index.js │ └── package.json ├── IS │ ├── README.md │ ├── index.js │ └── package.json ├── IT │ ├── README.md │ ├── index.js │ └── package.json ├── JE │ ├── README.md │ ├── index.js │ └── package.json ├── JP │ ├── README.md │ ├── index.js │ └── package.json ├── LI │ ├── README.md │ ├── index.js │ └── package.json ├── LK │ ├── README.md │ ├── index.js │ └── package.json ├── LT │ ├── README.md │ ├── index.js │ └── package.json ├── LU │ ├── README.md │ ├── index.js │ └── package.json ├── LV │ ├── README.md │ ├── index.js │ └── package.json ├── MC │ ├── README.md │ ├── index.js │ └── package.json ├── MD │ ├── README.md │ ├── index.js │ └── package.json ├── MH │ ├── README.md │ ├── index.js │ └── package.json ├── MK │ ├── README.md │ ├── index.js │ └── package.json ├── MP │ ├── README.md │ ├── index.js │ └── package.json ├── MQ │ ├── README.md │ ├── index.js │ └── package.json ├── MT │ ├── README.md │ ├── index.js │ └── package.json ├── MX │ ├── README.md │ ├── index.js │ └── package.json ├── MY │ ├── README.md │ ├── index.js │ └── package.json ├── NC │ ├── README.md │ ├── index.js │ └── package.json ├── NL │ ├── README.md │ ├── index.js │ └── package.json ├── NO │ ├── README.md │ ├── index.js │ └── package.json ├── NZ │ ├── README.md │ ├── index.js │ └── package.json ├── PH │ ├── README.md │ ├── index.js │ └── package.json ├── PK │ ├── README.md │ ├── index.js │ └── package.json ├── PL │ ├── README.md │ ├── index.js │ └── package.json ├── PM │ ├── README.md │ ├── index.js │ └── package.json ├── PR │ ├── README.md │ ├── index.js │ └── package.json ├── PT │ ├── README.md │ ├── index.js │ └── package.json ├── PW │ ├── README.md │ ├── index.js │ └── package.json ├── RE │ ├── README.md │ ├── index.js │ └── package.json ├── RO │ ├── README.md │ ├── index.js │ └── package.json ├── RU │ ├── README.md │ ├── index.js │ └── package.json ├── SE │ ├── README.md │ ├── index.js │ └── package.json ├── SI │ ├── README.md │ ├── index.js │ └── package.json ├── SJ │ ├── README.md │ ├── index.js │ └── package.json ├── SK │ ├── README.md │ ├── index.js │ └── package.json ├── SM │ ├── README.md │ ├── index.js │ └── package.json ├── TH │ ├── README.md │ ├── index.js │ └── package.json ├── TR │ ├── README.md │ ├── index.js │ └── package.json ├── UA │ ├── README.md │ ├── index.js │ └── package.json ├── US │ ├── README.md │ ├── index.js │ └── package.json ├── UY │ ├── README.md │ ├── index.js │ └── package.json ├── VA │ ├── README.md │ ├── index.js │ └── package.json ├── VI │ ├── README.md │ ├── index.js │ └── package.json ├── WF │ ├── README.md │ ├── index.js │ └── package.json ├── YT │ ├── README.md │ ├── index.js │ └── package.json └── ZA │ ├── README.md │ ├── index.js │ └── package.json ├── index.js ├── package.json ├── scripts ├── data.js ├── folders.js ├── package.js ├── publish.js └── readme.js ├── src ├── adapter.js ├── index.js ├── map.js └── search.js └── tests └── index.test.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | 9 | [{*.json,*.yml,*.jade}] 10 | indent_size = 2 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | 20 | # nyc test coverage 21 | .nyc_output 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # Bower dependency directory (https://bower.io/) 27 | bower_components 28 | 29 | # node-waf configuration 30 | .lock-wscript 31 | 32 | # Compiled binary addons (https://nodejs.org/api/addons.html) 33 | build/Release 34 | 35 | # Dependency directories 36 | node_modules/ 37 | jspm_packages/ 38 | 39 | # TypeScript v1 declaration files 40 | typings/ 41 | 42 | # Optional npm cache directory 43 | .npm 44 | 45 | # Optional eslint cache 46 | .eslintcache 47 | 48 | # Optional REPL history 49 | .node_repl_history 50 | 51 | # Output of 'npm pack' 52 | *.tgz 53 | 54 | # Yarn Integrity file 55 | .yarn-integrity 56 | 57 | # dotenv environment variables file 58 | .env 59 | 60 | # next.js build output 61 | .next 62 | 63 | #locks 64 | package-lock.json 65 | yarn.lock 66 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .editorconfig 2 | .travis.yml 3 | 4 | assets/ 5 | scripts/ 6 | tests/ -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "8" 4 | - "9" 5 | - "10" 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Vadym Zhufiak 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Zip Codes Validation and Parse :mailbox_with_mail: 2 | 3 | [![Build Status](https://travis-ci.com/vzhufk/z1p.svg?branch=master)](https://travis-ci.com/vzhufk/z1p) 4 | 5 | The module that can be used for search places via zip code and other geolocation properties. 6 | 7 | ## Usage 8 | 9 | Install package: 10 | 11 | ```shell 12 | npm i z1p 13 | ``` 14 | 15 | Then you need to add countries you wish to search in. For example the USA. 16 | 17 | ```shell 18 | npm i @zip/us 19 | ``` 20 | 21 | Then you can use it like this: 22 | 23 | ```js 24 | const z1p = require("z1p"); 25 | 26 | // Get places by zip code. 27 | z1p(["US"]).raw(v => v.zip_code == "59330"); 28 | 29 | // Same as above 30 | z1p(["us"]).findBy("zip_code", "59330")); 31 | 32 | // Same as above but memorized 33 | z1p(["Us"], {memorize: true}).findBy("zip_code", "59330")); 34 | 35 | //Result 36 | /* 37 | [ { accuracy: '1', 38 | community: null, 39 | community_code: null, 40 | country_code: 'US', 41 | latitude: '47.1008', 42 | longitude: '-104.7287', 43 | place: 'Glendive', 44 | province: 'Dawson', 45 | province_code: '021', 46 | state: 'Montana', 47 | state_code: 'MT', 48 | zip_code: '59330' } ] 49 | */ 50 | ``` 51 | 52 | ## API 53 | 54 | ### z1p(codes, options) 55 | 56 | - `codes` `{Array of Strings}` Country codes to search in. By default equals all available. 57 | - `options` `{Object}` 58 | - `memorize` `{Boolean}` `default: false` this options for memorization at methods 59 | 60 | ### .raw(compare) 61 | 62 | - `compare` `{Function}` function to find. 63 | **returns**: {Array of Places} 64 | 65 | ### .findBy(key, value) 66 | 67 | - `key` `{String}` key in object strucuture (zip_code, accuracy, etc.) 68 | - `value` `{String}` value to find. 69 | 70 | **returns**: {Array of Places} 71 | 72 | _Note:_ This method could be memorized. Every result will be saved to memory so the only first call will be slow. 73 | 74 | Place object looks like this: 75 | 76 | ```js 77 | { 78 | accuracy: '1', // Accuracy of place 79 | community: 'community', // Community name 80 | community_code: 'community_code', // Community code 81 | country_code: 'country_code', // Country code 82 | latitude: '1', // Latitude 83 | longitude: '-1', // Longitude 84 | place: 'place', // Place 85 | province: 'province', // Province 86 | province_code: '021', // Province code 87 | state: 'state', // State 88 | state_code: 'state_code', // State code 89 | zip_code: '1' // Zip code 90 | } 91 | ``` 92 | 93 | **Example:** 94 | 95 | ```js 96 | { accuracy: '1', 97 | community: null, 98 | community_code: null, 99 | country_code: 'US', 100 | latitude: '47.1008', 101 | longitude: '-104.7287', 102 | place: 'Glendive', 103 | province: 'Dawson', 104 | province_code: '021', 105 | state: 'Montana', 106 | state_code: 'MT', 107 | zip_code: '59330' } 108 | ``` 109 | 110 | ## Countries 111 | 112 | ### [Available countries](https://github.com/vzhufk/z1p/tree/master/assets). 113 | 114 | ## TODO: 115 | 116 | 1. Add wrappers to raw. 117 | 2. Improve performance. 118 | 119 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 120 | -------------------------------------------------------------------------------- /assets/AD/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Andorra for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Andorra 6 | alpha2: AD 7 | alpha3: AND 8 | numeric: 020 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ad 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/AD/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["6",,,"AD","42.5833","1.6667","Canillo",,,,,"AD100"],["6",,,"AD","42.5333","1.6333","Encamp",,,,,"AD200"],["6",,,"AD","42.6","1.55","Ordino",,,,,"AD300"],["6",,,"AD","42.5667","1.4833","La Massana",,,,,"AD400"],["6",,,"AD","42.5","1.5","Andorra la Vella",,,,,"AD500"],["6",,,"AD","42.4667","1.5","Sant Julià de Lòria",,,,,"AD600"],["6",,,"AD","42.5","1.5667","Escaldes-Engordany",,,,,"AD700"]] -------------------------------------------------------------------------------- /assets/AD/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ad", 3 | "version": "0.0.4", 4 | "description": "Geodata of Andorra for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Andorra", 18 | "AD", 19 | "AND", 20 | "020" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/AR/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Argentina for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Argentina 6 | alpha2: AR 7 | alpha3: ARG 8 | numeric: 032 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ar 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/AR/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ar", 3 | "version": "0.0.4", 4 | "description": "Geodata of Argentina for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Argentina", 18 | "AR", 19 | "ARG", 20 | "032" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/AS/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of American Samoa for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: American Samoa 6 | alpha2: AS 7 | alpha3: ASM 8 | numeric: 016 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/as 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/AS/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["6",,,"AS","-14.2781","-170.7025","Pago Pago","Western","050","As","60","96799"]] -------------------------------------------------------------------------------- /assets/AS/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/as", 3 | "version": "0.0.4", 4 | "description": "Geodata of American Samoa for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "American Samoa", 18 | "AS", 19 | "ASM", 20 | "016" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/AT/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Austria for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Austria 6 | alpha2: AT 7 | alpha3: AUT 8 | numeric: 040 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/at 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/AT/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/at", 3 | "version": "0.0.4", 4 | "description": "Geodata of Austria for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Austria", 18 | "AT", 19 | "AUT", 20 | "040" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/AU/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Australia for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Australia 6 | alpha2: AU 7 | alpha3: AUS 8 | numeric: 036 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/au 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/AU/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/au", 3 | "version": "0.0.4", 4 | "description": "Geodata of Australia for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Australia", 18 | "AU", 19 | "AUS", 20 | "036" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/AX/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Åland Islands for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Åland Islands 6 | alpha2: AX 7 | alpha3: ALA 8 | numeric: 248 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ax 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/AX/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["6",,,"AX","60.1007","19.9438","Mariehamn","Mariehamn","478","Mariehamns stad","211","22100"],["6",,,"AX","60.0628","19.9533","Mariehamn","Mariehamn","478","Mariehamns stad","211","22101"],["6",,,"AX","60.2203","19.6263","Eckerö","Eckerö","043","Ålands landsbygd","212","22270"],["6",,,"AX","60.2394","19.848","Emkarby","Finström","060","Ålands landsbygd","212","22220"],["6",,,"AX","60.2756","19.9057","Pålsböle","Finström","060","Ålands landsbygd","212","22310"],["6",,,"AX","60.3398","19.9382","Tjudö","Finström","060","Ålands landsbygd","212","22330"],["6",,,"AX","60.2294","19.982","Godby","Finström","060","Ålands landsbygd","212","22410"],["6",,,"AX","60.2235","19.9794","Godby","Finström","060","Ålands landsbygd","212","22411"],["6",,,"AX","60.3791","19.8878","Geta","Geta","065","Ålands landsbygd","212","22340"],["6",,,"AX","60.2286","19.7396","Hammarland","Hammarland","076","Ålands landsbygd","212","22240"],["6",,,"AX","60.1141","19.913","Mariehamn","Jomala","170","Ålands landsbygd","212","22120"],["6",,,"AX","60.1253","19.8285","Gottby","Jomala","170","Ålands landsbygd","212","22130"],["6",,,"AX","60.1109","19.9898","Mariehamn","Jomala","170","Ålands landsbygd","212","22140"],["6",,,"AX","60.1617","19.9602","Jomala","Jomala","170","Ålands landsbygd","212","22150"],["6",,,"AX","60.1497","19.9521","Jomala","Jomala","170","Ålands landsbygd","212","22151"],["6",,,"AX","60.0314","20.0036","Mariehamn","Lemland","417","Ålands landsbygd","212","22160"],["6",,,"AX","60.0491","20.1232","Lemland","Lemland","417","Ålands landsbygd","212","22610"],["6",,,"AX","60.1204","20.2616","Lumparland","Lumparland","438","Ålands landsbygd","212","22630"],["6",,,"AX","60.3162","20.0054","Ödkarby","Saltvik","736","Ålands landsbygd","212","22320"],["6",,,"AX","60.3146","20.1073","Saltvik","Saltvik","736","Ålands landsbygd","212","22430"],[,,,"AX","60.2383","20.1013","Kastelholm","Sund","771","Ålands landsbygd","212","22520"],["6",,,"AX","60.2275","20.1999","Sund","Sund","771","Ålands landsbygd","212","22530"],["6",,,"AX","60.3107","20.9895","Lappo","Brändö","035","Ålands skärgård","213","22840"],["6",,,"AX","60.3556","21.0648","Torsholma","Brändö","035","Ålands skärgård","213","22910"],["6",,,"AX","60.4138","21.039","Brändö","Brändö","035","Ålands skärgård","213","22920"],[,,,"AX","60.4525","21.0695","Fiskö","Brändö","035","Ålands skärgård","213","22930"],["6",,,"AX","60.4588","21.1607","Åva","Brändö","035","Ålands skärgård","213","22940"],[,,,"AX","60.5196","21.0717","Jurmo","Brändö","035","Ålands skärgård","213","22950"],["6",,,"AX","60.0316","20.4605","Föglö","Föglö","062","Ålands skärgård","213","22710"],["6",,,"AX","60.2018","20.7098","Seglinge","Kumlinge","295","Ålands skärgård","213","22810"],["6",,,"AX","60.261","20.7934","Kumlinge","Kumlinge","295","Ålands skärgård","213","22820"],["6",,,"AX","60.3349","20.758","Enklinge","Kumlinge","295","Ålands skärgård","213","22830"],["6",,,"AX","59.9345","20.9298","Kökar","Kökar","318","Ålands skärgård","213","22730"],["6",,,"AX","60.1248","20.6751","Sottunga","Sottunga","766","Ålands skärgård","213","22720"],["6",,,"AX","60.2607","20.3725","Vårdö","Vårdö","941","Ålands skärgård","213","22550"]] -------------------------------------------------------------------------------- /assets/AX/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ax", 3 | "version": "0.0.4", 4 | "description": "Geodata of Åland Islands for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Åland Islands", 18 | "AX", 19 | "ALA", 20 | "248" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/BD/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Bangladesh for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Bangladesh 6 | alpha2: BD 7 | alpha3: BGD 8 | numeric: 050 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/bd 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/BD/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/bd", 3 | "version": "0.0.4", 4 | "description": "Geodata of Bangladesh for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Bangladesh", 18 | "BD", 19 | "BGD", 20 | "050" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/BE/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Belgium for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Belgium 6 | alpha2: BE 7 | alpha3: BEL 8 | numeric: 056 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/be 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/BE/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/be", 3 | "version": "0.0.4", 4 | "description": "Geodata of Belgium for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Belgium", 18 | "BE", 19 | "BEL", 20 | "056" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/BG/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Bulgaria for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Bulgaria 6 | alpha2: BG 7 | alpha3: BGR 8 | numeric: 100 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/bg 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/BG/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/bg", 3 | "version": "0.0.4", 4 | "description": "Geodata of Bulgaria for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Bulgaria", 18 | "BG", 19 | "BGR", 20 | "100" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/BM/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Bermuda for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Bermuda 6 | alpha2: BM 7 | alpha3: BMU 8 | numeric: 060 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/bm 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/BM/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/bm", 3 | "version": "0.0.4", 4 | "description": "Geodata of Bermuda for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Bermuda", 18 | "BM", 19 | "BMU", 20 | "060" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/BR/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Brazil for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Brazil 6 | alpha2: BR 7 | alpha3: BRA 8 | numeric: 076 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/br 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/BR/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/br", 3 | "version": "0.0.4", 4 | "description": "Geodata of Brazil for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Brazil", 18 | "BR", 19 | "BRA", 20 | "076" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/BY/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Belarus for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Belarus 6 | alpha2: BY 7 | alpha3: BLR 8 | numeric: 112 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/by 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/BY/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/by", 3 | "version": "0.0.4", 4 | "description": "Geodata of Belarus for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Belarus", 18 | "BY", 19 | "BLR", 20 | "112" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/CA/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Canada for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Canada 6 | alpha2: CA 7 | alpha3: CAN 8 | numeric: 124 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ca 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/CA/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ca", 3 | "version": "0.0.4", 4 | "description": "Geodata of Canada for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Canada", 18 | "CA", 19 | "CAN", 20 | "124" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/CH/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Switzerland for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Switzerland 6 | alpha2: CH 7 | alpha3: CHE 8 | numeric: 756 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ch 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/CH/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ch", 3 | "version": "0.0.4", 4 | "description": "Geodata of Switzerland for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Switzerland", 18 | "CH", 19 | "CHE", 20 | "756" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/CL/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Chile for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Chile 6 | alpha2: CL 7 | alpha3: CHL 8 | numeric: 152 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/cl 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/CL/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/cl", 3 | "version": "0.0.4", 4 | "description": "Geodata of Chile for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Chile", 18 | "CL", 19 | "CHL", 20 | "152" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/CO/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Colombia for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Colombia 6 | alpha2: CO 7 | alpha3: COL 8 | numeric: 170 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/co 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/CO/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/co", 3 | "version": "0.0.4", 4 | "description": "Geodata of Colombia for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Colombia", 18 | "CO", 19 | "COL", 20 | "170" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/CR/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Costa Rica for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Costa Rica 6 | alpha2: CR 7 | alpha3: CRI 8 | numeric: 188 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/cr 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/CR/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/cr", 3 | "version": "0.0.4", 4 | "description": "Geodata of Costa Rica for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Costa Rica", 18 | "CR", 19 | "CRI", 20 | "188" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/CZ/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Czechia for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Czechia 6 | alpha2: CZ 7 | alpha3: CZE 8 | numeric: 203 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/cz 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/CZ/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/cz", 3 | "version": "0.0.4", 4 | "description": "Geodata of Czechia for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Czechia", 18 | "CZ", 19 | "CZE", 20 | "203" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/DE/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Germany for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Germany 6 | alpha2: DE 7 | alpha3: DEU 8 | numeric: 276 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/de 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/DE/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/de", 3 | "version": "0.0.4", 4 | "description": "Geodata of Germany for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Germany", 18 | "DE", 19 | "DEU", 20 | "276" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/DK/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Denmark for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Denmark 6 | alpha2: DK 7 | alpha3: DNK 8 | numeric: 208 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/dk 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/DK/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/dk", 3 | "version": "0.0.4", 4 | "description": "Geodata of Denmark for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Denmark", 18 | "DK", 19 | "DNK", 20 | "208" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/DO/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Dominican Republic (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Dominican Republic (the) 6 | alpha2: DO 7 | alpha3: DOM 8 | numeric: 214 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/do 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/DO/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/do", 3 | "version": "0.0.4", 4 | "description": "Geodata of Dominican Republic (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Dominican Republic (the)", 18 | "DO", 19 | "DOM", 20 | "214" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/DZ/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Algeria for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Algeria 6 | alpha2: DZ 7 | alpha3: DZA 8 | numeric: 012 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/dz 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/DZ/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/dz", 3 | "version": "0.0.4", 4 | "description": "Geodata of Algeria for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Algeria", 18 | "DZ", 19 | "DZA", 20 | "012" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/ES/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Spain for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Spain 6 | alpha2: ES 7 | alpha3: ESP 8 | numeric: 724 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/es 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/ES/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/es", 3 | "version": "0.0.4", 4 | "description": "Geodata of Spain for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Spain", 18 | "ES", 19 | "ESP", 20 | "724" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/FI/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Finland for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Finland 6 | alpha2: FI 7 | alpha3: FIN 8 | numeric: 246 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/fi 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/FI/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/fi", 3 | "version": "0.0.4", 4 | "description": "Geodata of Finland for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Finland", 18 | "FI", 19 | "FIN", 20 | "246" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/FM/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Micronesia (Federated States of) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Micronesia (Federated States of) 6 | alpha2: FM 7 | alpha3: FSM 8 | numeric: 583 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/fm 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/FM/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["1",,,"FM","7.1383","151.5031","Kosrae",,,"State of Kosrae","01","96944"],["1",,,"FM","7.1383","151.5031","Pohnpei",,,"State of Pohnpei","02","96941"],["1",,,"FM","7.1383","151.5031","Chuuk",,,"State of Chuuk","03","96942"],["4",,,"FM","7.1383","151.5031","Yap",,,"State of Yap","04","96943"]] -------------------------------------------------------------------------------- /assets/FM/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/fm", 3 | "version": "0.0.4", 4 | "description": "Geodata of Micronesia (Federated States of) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Micronesia (Federated States of)", 18 | "FM", 19 | "FSM", 20 | "583" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/FO/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Faroe Islands (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Faroe Islands (the) 6 | alpha2: FO 7 | alpha3: FRO 8 | numeric: 234 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/fo 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/FO/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/fo", 3 | "version": "0.0.4", 4 | "description": "Geodata of Faroe Islands (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Faroe Islands (the)", 18 | "FO", 19 | "FRO", 20 | "234" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/FR/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of France for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: France 6 | alpha2: FR 7 | alpha3: FRA 8 | numeric: 250 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/fr 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/FR/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/fr", 3 | "version": "0.0.4", 4 | "description": "Geodata of France for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "France", 18 | "FR", 19 | "FRA", 20 | "250" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/GB/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of United Kingdom of Great Britain and Northern Ireland (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: United Kingdom of Great Britain and Northern Ireland (the) 6 | alpha2: GB 7 | alpha3: GBR 8 | numeric: 826 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/gb 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/GB/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/gb", 3 | "version": "0.0.4", 4 | "description": "Geodata of United Kingdom of Great Britain and Northern Ireland (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "United Kingdom of Great Britain and Northern Ireland (the)", 18 | "GB", 19 | "GBR", 20 | "826" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/GF/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of French Guiana for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: French Guiana 6 | alpha2: GF 7 | alpha3: GUF 8 | numeric: 254 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/gf 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/GF/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/gf", 3 | "version": "0.0.4", 4 | "description": "Geodata of French Guiana for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "French Guiana", 18 | "GF", 19 | "GUF", 20 | "254" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/GG/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Guernsey for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Guernsey 6 | alpha2: GG 7 | alpha3: GGY 8 | numeric: 831 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/gg 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/GG/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[[,,,"GG","49.45","-2.6","St Peter Port","Guernsey Channel Islands",,,,"GY1"],[,,,"GG","49.71","-2.2","Sark","Channel Islands",,,,"GY10"],[,,,"GG","49.45","-2.6","Delancey","Guernsey Channel Islands",,,,"GY2"],[,,,"GG","49.45","-2.6","St Sampsons","Guernsey Channel Islands",,,,"GY2"],[,,,"GG","49.45","-2.6","Vale","Guernsey Channel Islands",,,,"GY3"],[,,,"GG","49.45","-2.6","St Martin","Guernsey Channel Islands",,,,"GY4"],[,,,"GG","49.45","-2.6","Castel","Guernsey Channel Islands",,,,"GY5"],[,,,"GG","49.71","-2.2","Alderney","Channel Islands",,,,"GY9"]] -------------------------------------------------------------------------------- /assets/GG/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/gg", 3 | "version": "0.0.4", 4 | "description": "Geodata of Guernsey for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Guernsey", 18 | "GG", 19 | "GGY", 20 | "831" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/GL/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Greenland for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Greenland 6 | alpha2: GL 7 | alpha3: GRL 8 | numeric: 304 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/gl 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/GL/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[[,,,"GL","90","0","Santa Claus/Julemanden",,,,,"2412"],["4",,,"GL","64.1738","-51.7384","Nuuk",,,,,"3900"],["4",,,"GL","74.1167","-57.0667","Nuussuaq",,,,,"3905"],["4",,,"GL","67.0088","-50.6894","Kangerlussuaq",,,,,"3910"],["4",,,"GL","66.9333","-53.6833","Sisimiut",,,,,"3911"],["4",,,"GL","65.4167","-52.9","Maniitsoq",,,,,"3912"],["4",,,"GL","65.6","-37.6333","Tasiilaq",,,,,"3913"],["4",,,"GL","65.5667","-37.1833","Kulusuk",,,,,"3915"],["4",,,"GL","60.45","-45.55","Alluitsup Paa",,,,,"3919"],["4",,,"GL","60.7167","-46.0333","Qaqortoq",,,,,"3920"],["4",,,"GL","60.9167","-46.05","Narsaq",,,,,"3921"],["4",,,"GL","60.1167","-45.2167","Nanortalik",,,,,"3922"],["4",,,"GL","61.1667","-45.4167","Narsarsuaq",,,,,"3923"],["4",,,"GL","60.05","-43.1667","Ikerasassuaq",,,,,"3924"],["4",,,"GL","61.23","-48.09","Kangilinnguit",,,,,"3930"],["4",,,"GL","61.1667","-48.45","Arsuk",,,,,"3932"],["4",,,"GL","62","-49.75","Paamiut",,,,,"3940"],["4",,,"GL","68.7167","-52.8667","Aasiaat",,,,,"3950"],["4",,,"GL","68.8167","-51.1833","Qasigiannguit",,,,,"3951"],["4",,,"GL","69.2167","-51.1","Ilulissat",,,,,"3952"],["4",,,"GL","62.1167","-49.7833","Qeqertarsuaq",,,,,"3953"],["4",,,"GL","68.3","-53.4667","Kangaatsiaq",,,,,"3955"],["4",,,"GL","70.6747","-52.1264","Uummannaq",,,,,"3961"],["4",,,"GL","72.7833","-56.1667","Upernavik",,,,,"3962"],["4",,,"GL","70.7333","-52.65","Qaarsut",,,,,"3964"],["4",,,"GL","76.5478","-68.8428","Pituffik",,,,,"3970"],["4",,,"GL","77.4894","-69.3322","Qaanaaq",,,,,"3971"],["1",,,"GL","77.0186","-69.0875","Station Nord",,,,,"3972"],["4",,,"GL","70.4846","-21.9622","Ittoqqortoormiit",,,,,"3980"],["1",,,"GL","72.6754","-21.0735","Mestervi",,,,,"3982"],["4",,,"GL","76.8","-18.6","Danmarkshavn",,,,,"3984"],["4",,,"GL","70.7417","-22.6583","Constable Pynt",,,,,"3985"],["1",,,"GL","67.2561","-48.0617","Slædepatruljen Sirius",,,,,"3992"]] -------------------------------------------------------------------------------- /assets/GL/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/gl", 3 | "version": "0.0.4", 4 | "description": "Geodata of Greenland for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Greenland", 18 | "GL", 19 | "GRL", 20 | "304" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/GP/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Guadeloupe for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Guadeloupe 6 | alpha2: GP 7 | alpha3: GLP 8 | numeric: 312 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/gp 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/GP/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/gp", 3 | "version": "0.0.4", 4 | "description": "Geodata of Guadeloupe for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Guadeloupe", 18 | "GP", 19 | "GLP", 20 | "312" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/GT/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Guatemala for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Guatemala 6 | alpha2: GT 7 | alpha3: GTM 8 | numeric: 320 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/gt 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/GT/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/gt", 3 | "version": "0.0.4", 4 | "description": "Geodata of Guatemala for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Guatemala", 18 | "GT", 19 | "GTM", 20 | "320" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/GU/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Guam for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Guam 6 | alpha2: GU 7 | alpha3: GUM 8 | numeric: 316 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/gu 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/GU/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["6",,,"GU","13.452","144.7465","Hagatna","Guam","010","Gu","66","96910"],[,,,"GU","13.4443","144.7863","Tamuning","Guam","010","Gu","66","96911"],[,,,"GU","13.4443","144.7863","Dededo","Guam","010","Gu","66","96912"],["6",,,"GU","13.4443","144.7863","Barrigada","Guam","010","Gu","66","96913"],[,,,"GU","13.4443","144.7863","Yona","Guam","010","Gu","66","96914"],["6",,,"GU","13.3633","144.7102","Santa Rita","Guam","010","Gu","66","96915"],["6",,,"GU","13.2637","144.7016","Merizo","Guam","010","Gu","66","96916"],["6",,,"GU","13.2944","144.7211","Inarajan","Guam","010","Gu","66","96917"],[,,,"GU","13.4443","144.7863","Umatac","Guam","010","Gu","66","96918"],[,,,"GU","13.4443","144.7863","Agana Heights","Guam","010","Gu","66","96919"],["6",,,"GU","13.4593","144.7942","Barrigada","Guam","010","Gu","66","96921"],[,,,"GU","13.4443","144.7863","Asan","Guam","010","Gu","66","96922"],[,,,"GU","13.4443","144.7863","Mangilao","Guam","010","Gu","66","96923"],[,,,"GU","13.4443","144.7863","Piti","Guam","010","Gu","66","96925"],[,,,"GU","13.4443","144.7863","Sinajana","Guam","010","Gu","66","96926"],[,,,"GU","13.4443","144.7863","Mongmong","Guam","010","Gu","66","96927"],["6",,,"GU","13.3893","144.6604","Agat","Guam","010","Gu","66","96928"],["6",,,"GU","13.5702","144.8834","Yigo","Guam","010","Gu","66","96929"],[,,,"GU","13.4443","144.7863","Talofofo","Guam","010","Gu","66","96930"],[,,,"GU","13.4443","144.7863","Tamuning","Guam","010","Gu","66","96931"],["6",,,"GU","13.4746","144.7464","Hagatna","Guam","010","Gu","66","96932"]] -------------------------------------------------------------------------------- /assets/GU/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/gu", 3 | "version": "0.0.4", 4 | "description": "Geodata of Guam for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Guam", 18 | "GU", 19 | "GUM", 20 | "316" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/HR/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Croatia for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Croatia 6 | alpha2: HR 7 | alpha3: HRV 8 | numeric: 191 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/hr 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/HR/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/hr", 3 | "version": "0.0.4", 4 | "description": "Geodata of Croatia for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Croatia", 18 | "HR", 19 | "HRV", 20 | "191" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/HU/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Hungary for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Hungary 6 | alpha2: HU 7 | alpha3: HUN 8 | numeric: 348 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/hu 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/HU/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/hu", 3 | "version": "0.0.4", 4 | "description": "Geodata of Hungary for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Hungary", 18 | "HU", 19 | "HUN", 20 | "348" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/IE/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Ireland for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Ireland 6 | alpha2: IE 7 | alpha3: IRL 8 | numeric: 372 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ie 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/IE/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ie", 3 | "version": "0.0.4", 4 | "description": "Geodata of Ireland for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Ireland", 18 | "IE", 19 | "IRL", 20 | "372" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/IM/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Isle of Man for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Isle of Man 6 | alpha2: IM 7 | alpha3: IMN 8 | numeric: 833 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/im 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/IM/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/im", 3 | "version": "0.0.4", 4 | "description": "Geodata of Isle of Man for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Isle of Man", 18 | "IM", 19 | "IMN", 20 | "833" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/IN/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of India for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: India 6 | alpha2: IN 7 | alpha3: IND 8 | numeric: 356 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/in 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/IN/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/in", 3 | "version": "0.0.4", 4 | "description": "Geodata of India for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "India", 18 | "IN", 19 | "IND", 20 | "356" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/IS/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Iceland for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Iceland 6 | alpha2: IS 7 | alpha3: ISL 8 | numeric: 352 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/is 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/IS/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/is", 3 | "version": "0.0.4", 4 | "description": "Geodata of Iceland for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Iceland", 18 | "IS", 19 | "ISL", 20 | "352" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/IT/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Italy for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Italy 6 | alpha2: IT 7 | alpha3: ITA 8 | numeric: 380 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/it 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/IT/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/it", 3 | "version": "0.0.4", 4 | "description": "Geodata of Italy for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Italy", 18 | "IT", 19 | "ITA", 20 | "380" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/JE/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Jersey for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Jersey 6 | alpha2: JE 7 | alpha3: JEY 8 | numeric: 832 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/je 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/JE/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[[,,,"JE","49.2","-2.1333","St Helier","Jersey Channel Islands",,,,"JE1"],[,,,"JE","49.2","-2.1333","St Helier","Jersey Channel Islands",,,,"JE2"],[,,,"JE","49.2","-2.1333","St Brelades","Jersey Channel Islands",,,,"JE3"],[,,,"JE","49.2","-2.1333","St Lawrence","Jersey Channel Islands",,,,"JE3"]] -------------------------------------------------------------------------------- /assets/JE/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/je", 3 | "version": "0.0.4", 4 | "description": "Geodata of Jersey for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Jersey", 18 | "JE", 19 | "JEY", 20 | "832" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/JP/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Japan for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Japan 6 | alpha2: JP 7 | alpha3: JPN 8 | numeric: 392 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/jp 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/JP/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/jp", 3 | "version": "0.0.4", 4 | "description": "Geodata of Japan for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Japan", 18 | "JP", 19 | "JPN", 20 | "392" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/LI/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Liechtenstein for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Liechtenstein 6 | alpha2: LI 7 | alpha3: LIE 8 | numeric: 438 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/li 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/LI/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["6",,,"LI","47.1431","9.5256","Vaduz",,,"Vaduz","7001","9490"],["6",,,"LI","47.0805","9.5515","Triesen",,,"Triesen","7002","9495"],["6",,,"LI","47.067","9.5078","Balzers",,,"Balzers","7003","9496"],["6",,,"LI","47.115","9.5831","Triesenberg",,,"Triesenberg","7004","9497"],["6",,,"LI","47.1746","9.5247","Schaan",,,"Schaan","7005","9494"],["6",,,"LI","47.1821","9.5574","Planken",,,"Planken","7006","9498"],["6",,,"LI","47.1984","9.5501","Nendeln",,,"Eschen","7007","9485"],["6",,,"LI","47.209","9.5223","Eschen",,,"Eschen","7007","9492"],["6",,,"LI","47.2151","9.562","Schaanwald",,,"Mauren","7008","9486"],["6",,,"LI","47.2191","9.5464","Mauren FL",,,"Mauren","7008","9493"],["6",,,"LI","47.2249","9.5135","Gamprin-Bendern",,,"Gamprin","7009","9487"],["6",,,"LI","47.2484","9.5345","Ruggell",,,"Ruggell","7010","9491"],["6",,,"LI","47.2318","9.5478","Schellenberg",,,"Schellenberg","7011","9488"]] -------------------------------------------------------------------------------- /assets/LI/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/li", 3 | "version": "0.0.4", 4 | "description": "Geodata of Liechtenstein for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Liechtenstein", 18 | "LI", 19 | "LIE", 20 | "438" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/LK/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Sri Lanka for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Sri Lanka 6 | alpha2: LK 7 | alpha3: LKA 8 | numeric: 144 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/lk 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/LK/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/lk", 3 | "version": "0.0.4", 4 | "description": "Geodata of Sri Lanka for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Sri Lanka", 18 | "LK", 19 | "LKA", 20 | "144" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/LT/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Lithuania for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Lithuania 6 | alpha2: LT 7 | alpha3: LTU 8 | numeric: 440 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/lt 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/LT/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/lt", 3 | "version": "0.0.4", 4 | "description": "Geodata of Lithuania for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Lithuania", 18 | "LT", 19 | "LTU", 20 | "440" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/LU/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Luxembourg for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Luxembourg 6 | alpha2: LU 7 | alpha3: LUX 8 | numeric: 442 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/lu 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/LU/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/lu", 3 | "version": "0.0.4", 4 | "description": "Geodata of Luxembourg for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Luxembourg", 18 | "LU", 19 | "LUX", 20 | "442" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/LV/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Latvia for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Latvia 6 | alpha2: LV 7 | alpha3: LVA 8 | numeric: 428 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/lv 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/LV/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/lv", 3 | "version": "0.0.4", 4 | "description": "Geodata of Latvia for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Latvia", 18 | "LV", 19 | "LVA", 20 | "428" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/MC/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Monaco for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Monaco 6 | alpha2: MC 7 | alpha3: MCO 8 | numeric: 492 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/mc 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/MC/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[[,"Monaco-Ville",,"MC","43.7333","7.4167","Monaco-Ville","Monaco","01","Monaco","01","98000"],[,"Fontvieille",,"MC","43.7167","7.4167","Stade Louis Deux","Monaco","01","Monaco","01","98000"],[,"Monaco",,"MC","43.7333","7.4","Monaco","Monaco","01","Monaco","01","98000"],[,"Monte-Carlo",,"MC","43.7333","7.4167","Monte-Carlo","Monaco","01","Monaco","01","98000"],[,"Fontvieille",,"MC","43.7306","7.4208","Port de Fontvieille","Monaco","01","Monaco","01","98000"],[,"Larvotto",,"MC","43.7333","7.4167","Jardin Japonais","Monaco","01","Monaco","01","98000"],[,"Monaco",,"MC","43.7458","7.4394","Réserve Sous-marine de Monaco","Monaco","01","Monaco","01","98000"],[,"La Condamine",,"MC","43.7333","7.4167","Condamine","Monaco","01","Monaco","01","98000"],[,"Larvotto",,"MC","43.7458","7.4394","Réserve Sous-marine du Larvotto","Monaco","01","Monaco","01","98000"],[,"Fontvieille",,"MC","43.7333","7.4167","Anse de Canton","Monaco","01","Monaco","01","98000"],[,"Monaco-Ville",,"MC","43.7333","7.4333","Rocher de Monaco","Monaco","01","Monaco","01","98000"],[,"Fontvieille",,"MC","43.7167","7.4167","Pointe Sainte-Barbe","Monaco","01","Monaco","01","98000"],[,"Fontvieille",,"MC","43.7333","7.4167","Fontvieille","Monaco","01","Monaco","01","98000"],[,"Monaco-Ville",,"MC","43.7167","7.4167","Ciappaira","Monaco","01","Monaco","01","98000"],[,"Monte-Carlo",,"MC","43.7333","7.4333","Pointe Focinana","Monaco","01","Monaco","01","98000"],[,"Les Moneghetti",,"MC","43.7375","7.4153","Les Moneghetti","Monaco","01","Monaco","01","98000"],[,"Larvotto",,"MC","43.7417","7.4322","Anse du Portier","Monaco","01","Monaco","01","98000"],[,"Monaco",,"MC","43.7333","7.4","Commune de Monaco","Monaco","01","Monaco","01","98000"],[,"Larvotto",,"MC","43.7333","7.4278","Pointe Saint-Antoine","Monaco","01","Monaco","01","98000"],[,"Monaco-Ville",,"MC","43.7167","7.4","Jardin Exotique","Monaco","01","Monaco","01","98000"],[,"Monaco-Ville",,"MC","43.7319","7.4278","Pointe de la Poudrière","Monaco","01","Monaco","01","98000"],[,"La Condamine",,"MC","43.7361","7.425","Port de Monaco","Monaco","01","Monaco","01","98000"],[,"La Condamine",,"MC","43.7361","7.425","Port de La Condamine","Monaco","01","Monaco","01","98000"],[,"Fontvieille",,"MC","43.7361","7.425","Port Hercule","Monaco","01","Monaco","01","98000"],[,"La Condamine",,"MC","43.7333","7.4167","La Condamine","Monaco","01","Monaco","01","98000"],[,"Monaco-Ville",,"MC","43.7306","7.425","Pointe Saint-Martin","Monaco","01","Monaco","01","98000"],[,"Monte-Carlo",,"MC","43.7306","7.4217","Anse de la Grue","Monaco","01","Monaco","01","98000"],[,"Larvotto",,"MC","43.7333","7.4333","Larvotto","Monaco","01","Monaco","01","98000"],[,"Larvotto",,"MC","43.7333","7.4333","Plage du Larvotto","Monaco","01","Monaco","01","98000"]] -------------------------------------------------------------------------------- /assets/MC/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/mc", 3 | "version": "0.0.4", 4 | "description": "Geodata of Monaco for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Monaco", 18 | "MC", 19 | "MCO", 20 | "492" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/MD/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Moldova (the Republic of) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Moldova (the Republic of) 6 | alpha2: MD 7 | alpha3: MDA 8 | numeric: 498 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/md 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/MD/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/md", 3 | "version": "0.0.4", 4 | "description": "Geodata of Moldova (the Republic of) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Moldova (the Republic of)", 18 | "MD", 19 | "MDA", 20 | "498" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/MH/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Marshall Islands (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Marshall Islands (the) 6 | alpha2: MH 7 | alpha3: MHL 8 | numeric: 584 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/mh 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/MH/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["4",,,"MH","11.1405","166.4103","Majuro","Ailinginae","007","Mh","68","96960"],["4",,,"MH","11.1405","166.4103","Ebeye","Ailinginae","007","Mh","68","96970"]] -------------------------------------------------------------------------------- /assets/MH/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/mh", 3 | "version": "0.0.4", 4 | "description": "Geodata of Marshall Islands (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Marshall Islands (the)", 18 | "MH", 19 | "MHL", 20 | "584" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/MK/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Macedonia (the former Yugoslav Republic of) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Macedonia (the former Yugoslav Republic of) 6 | alpha2: MK 7 | alpha3: MKD 8 | numeric: 807 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/mk 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/MK/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/mk", 3 | "version": "0.0.4", 4 | "description": "Geodata of Macedonia (the former Yugoslav Republic of) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Macedonia (the former Yugoslav Republic of)", 18 | "MK", 19 | "MKD", 20 | "807" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/MP/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Northern Mariana Islands (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Northern Mariana Islands (the) 6 | alpha2: MP 7 | alpha3: MNP 8 | numeric: 580 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/mp 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/MP/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["6",,,"MP","14.154","145.201","Rota",,,"Rota","100","96951"],["6",,,"MP","15.1685","145.7408","Saipan",,,"Saipan","110","96950"],["6",,,"MP","15.029","145.616","Tinian",,,"Tinian","120","96952"]] -------------------------------------------------------------------------------- /assets/MP/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/mp", 3 | "version": "0.0.4", 4 | "description": "Geodata of Northern Mariana Islands (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Northern Mariana Islands (the)", 18 | "MP", 19 | "MNP", 20 | "580" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/MQ/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Martinique for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Martinique 6 | alpha2: MQ 7 | alpha3: MTQ 8 | numeric: 474 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/mq 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/MQ/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/mq", 3 | "version": "0.0.4", 4 | "description": "Geodata of Martinique for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Martinique", 18 | "MQ", 19 | "MTQ", 20 | "474" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/MT/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Malta for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Malta 6 | alpha2: MT 7 | alpha3: MLT 8 | numeric: 470 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/mt 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/MT/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/mt", 3 | "version": "0.0.4", 4 | "description": "Geodata of Malta for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Malta", 18 | "MT", 19 | "MLT", 20 | "470" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/MX/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Mexico for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Mexico 6 | alpha2: MX 7 | alpha3: MEX 8 | numeric: 484 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/mx 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/MX/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/mx", 3 | "version": "0.0.4", 4 | "description": "Geodata of Mexico for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Mexico", 18 | "MX", 19 | "MEX", 20 | "484" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/MY/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Malaysia for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Malaysia 6 | alpha2: MY 7 | alpha3: MYS 8 | numeric: 458 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/my 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/MY/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/my", 3 | "version": "0.0.4", 4 | "description": "Geodata of Malaysia for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Malaysia", 18 | "MY", 19 | "MYS", 20 | "458" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/NC/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of New Caledonia for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: New Caledonia 6 | alpha2: NC 7 | alpha3: NCL 8 | numeric: 540 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/nc 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/NC/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["5",,,"NC","-19.7333","163.6667","Bélep","Bélep","98801","Province Nord","01","98811"],["5",,,"NC","-21.517","165.9629","Canala","Canala","98804","Province Nord","01","98813"],["5",,,"NC","-20.6874","164.9377","Hienghéne","Hienghéne","98807","Province Nord","01","98815"],["5",,,"NC","-21.2865","165.6343","Houaïlou","Houaïlou","98808","Province Nord","01","98816"],["5",,,"NC","-21.3167","165.6333","Poro","Houaïlou","98808","Province Nord","01","98838"],["5",,,"NC","-20.6694","164.3977","Kaala-Gomén","Kaala-Gomén","98810","Province Nord","01","98817"],["5",,,"NC","-21.0595","164.8658","Koné","Koné","98811","Province Nord","01","98859"],["5",,,"NC","-21.0569","164.8663","Koné","Koné","98811","Province Nord","01","98860"],["5",,,"NC","-20.555","164.2717","Koumac","Koumac","98812","Province Nord","01","98850"],["5",,,"NC","-20.3485","164.4262","Ouégoa","Ouégoa","98819","Province Nord","01","98821"],["5",,,"NC","-20.9505","165.3415","Poindimié","Poindimié","98822","Province Nord","01","98822"],["5",,,"NC","-21.0765","165.4005","Ponérihouen","Ponérihouen","98823","Province Nord","01","98823"],["5",,,"NC","-20.3929","164.5827","Pouébo","Pouébo","98824","Province Nord","01","98824"],["5",,,"NC","-21.1076","164.9834","Pouembout","Pouembout","98825","Province Nord","01","98825"],["5",,,"NC","-20.2368","164.0292","Poum","Poum","98826","Province Nord","01","98826"],["5",,,"NC","-21.3449","165.164","Poya","Poya","98827","Province Nord","01","98827"],["5",,,"NC","-21.3283","164.9985","Népoui","Poya","98827","Province Nord","01","98877"],["5",,,"NC","-20.786","165.2423","Touho","Touho","98830","Province Nord","01","98831"],["5",,,"NC","-20.9467","164.6854","Voh","Voh","98831","Province Nord","01","98833"],["5",,,"NC","-20.8353","164.4694","Ouåco","Voh","98831","Province Nord","01","98883"],["5",,,"NC","-21.3957","165.8283","Kouaoua","Kouaoua","98833","Province Nord","01","98818"],["5",,,"NC","-21.8607","166.0513","Bouloupari","Bouloupari","98802","Province Sud","02","98812"],["5",,,"NC","-21.5667","165.4667","Bourail","Bourail","98803","Province Sud","02","98870"],["5",,,"NC","-22.1496","166.4473","Dumbéa","Dumbéa","98805","Province Sud","02","98830"],["5",,,"NC","-22.1496","166.4473","Dumbéa","Dumbéa","98805","Province Sud","02","98835"],["5",,,"NC","-22.1496","166.4473","Dumbéa","Dumbéa","98805","Province Sud","02","98836"],["5",,,"NC","-22.1496","166.4473","Dumbéa","Dumbéa","98805","Province Sud","02","98837"],["5",,,"NC","-22.1496","166.4473","Dumbéa","Dumbéa","98805","Province Sud","02","98839"],["5",,,"NC","-21.6651","165.776","Farino","Farino","98806","Province Sud","02","98880"],["5",,,"NC","-21.6667","165.7667","Farino","Farino","98806","Province Sud","02","98881"],["5",,,"NC","-22.6167","167.4833","L’Île des Pins","L’Île des Pins","98809","Province Sud","02","98832"],["5",,,"NC","-21.7079","165.8252","La Foa","La Foa","98813","Province Sud","02","98880"],["5",,,"NC","-21.6986","165.6804","Moindou","Moindou","98816","Province Sud","02","98819"],["5",,,"NC","-22.2799","166.5805","Le Mont-Dore","Le Mont-Dore","98817","Province Sud","02","98809"],["5",,,"NC","-22.2626","166.5662","Mont-Dore","Le Mont-Dore","98817","Province Sud","02","98810"],["5",,,"NC","-22.2167","166.4833","Pont des Français","Le Mont-Dore","98817","Province Sud","02","98874"],["5",,,"NC","-22.2723","166.6144","Plum","Le Mont-Dore","98817","Province Sud","02","98875"],["5",,,"NC","-22.2313","166.5758","La Coulée","Le Mont-Dore","98817","Province Sud","02","98876"],["5",,,"NC","-22.2667","166.4667","Nouméa","Nouméa","98818","Province Sud","02","98800"],["5",,,"NC","-22.0128","166.2237","La Tontouta","Païta","98821","Province Sud","02","98840"],["5",,,"NC","-22.131","166.3572","Païta","Païta","98821","Province Sud","02","98889"],["5",,,"NC","-22.1299","166.3639","Païta","Païta","98821","Province Sud","02","98890"],["5",,,"NC","-21.6421","165.8451","Sarraméa","Sarraméa","98828","Province Sud","02","98880"],["5",,,"NC","-21.65","165.85","Sarraméa","Sarraméa","98828","Province Sud","02","98882"],["5",,,"NC","-21.6057","166.2146","Thio","Thio","98829","Province Sud","02","98829"],["5",,,"NC","-22.0833","166.75","Yaté","Yaté","98832","Province Sud","02","98834"],["5",,,"NC","-20.9169","167.2646","Wé","Lifou","98814","Îles Loyauté","03","98820"],["5",,,"NC","-20.7833","167.15","Chépénéhé","Lifou","98814","Îles Loyauté","03","98884"],["5",,,"NC","-21.0936","167.399","Mou","Lifou","98814","Îles Loyauté","03","98885"],["5",,,"NC","-21.55","167.8833","Tadine","Maré","98815","Îles Loyauté","03","98828"],["5",,,"NC","-21.478","168.0259","La Roche","Maré","98815","Îles Loyauté","03","98878"],["5",,,"NC","-20.6528","166.5364","Fayaoué","Ouvéa","98820","Îles Loyauté","03","98814"]] -------------------------------------------------------------------------------- /assets/NC/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/nc", 3 | "version": "0.0.4", 4 | "description": "Geodata of New Caledonia for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "New Caledonia", 18 | "NC", 19 | "NCL", 20 | "540" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/NL/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Netherlands (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Netherlands (the) 6 | alpha2: NL 7 | alpha3: NLD 8 | numeric: 528 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/nl 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/NL/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/nl", 3 | "version": "0.0.4", 4 | "description": "Geodata of Netherlands (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Netherlands (the)", 18 | "NL", 19 | "NLD", 20 | "528" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/NO/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Norway for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Norway 6 | alpha2: NO 7 | alpha3: NOR 8 | numeric: 578 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/no 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/NO/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/no", 3 | "version": "0.0.4", 4 | "description": "Geodata of Norway for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Norway", 18 | "NO", 19 | "NOR", 20 | "578" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/NZ/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of New Zealand for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: New Zealand 6 | alpha2: NZ 7 | alpha3: NZL 8 | numeric: 554 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/nz 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/NZ/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/nz", 3 | "version": "0.0.4", 4 | "description": "Geodata of New Zealand for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "New Zealand", 18 | "NZ", 19 | "NZL", 20 | "554" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/PH/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Philippines (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Philippines (the) 6 | alpha2: PH 7 | alpha3: PHL 8 | numeric: 608 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ph 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/PH/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ph", 3 | "version": "0.0.4", 4 | "description": "Geodata of Philippines (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Philippines (the)", 18 | "PH", 19 | "PHL", 20 | "608" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/PK/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Pakistan for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Pakistan 6 | alpha2: PK 7 | alpha3: PAK 8 | numeric: 586 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/pk 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/PK/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/pk", 3 | "version": "0.0.4", 4 | "description": "Geodata of Pakistan for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Pakistan", 18 | "PK", 19 | "PAK", 20 | "586" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/PL/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Poland for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Poland 6 | alpha2: PL 7 | alpha3: POL 8 | numeric: 616 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/pl 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/PL/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/pl", 3 | "version": "0.0.4", 4 | "description": "Geodata of Poland for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Poland", 18 | "PL", 19 | "POL", 20 | "616" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/PM/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Saint Pierre and Miquelon for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Saint Pierre and Miquelon 6 | alpha2: PM 7 | alpha3: SPM 8 | numeric: 666 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/pm 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/PM/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["5",,,"PM","47.0975","-56.3814","Miquelon","Miquelon-Langlade","97501","Miquelon-Langlade","97501","97500"],["5",,,"PM","46.7809","-56.172","Saint-Pierre",,,"Saint-Pierre","97502","97500"]] -------------------------------------------------------------------------------- /assets/PM/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/pm", 3 | "version": "0.0.4", 4 | "description": "Geodata of Saint Pierre and Miquelon for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Saint Pierre and Miquelon", 18 | "PM", 19 | "SPM", 20 | "666" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/PR/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Puerto Rico for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Puerto Rico 6 | alpha2: PR 7 | alpha3: PRI 8 | numeric: 630 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/pr 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/PR/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/pr", 3 | "version": "0.0.4", 4 | "description": "Geodata of Puerto Rico for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Puerto Rico", 18 | "PR", 19 | "PRI", 20 | "630" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/PT/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Portugal for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Portugal 6 | alpha2: PT 7 | alpha3: PRT 8 | numeric: 620 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/pt 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/PT/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/pt", 3 | "version": "0.0.4", 4 | "description": "Geodata of Portugal for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Portugal", 18 | "PT", 19 | "PRT", 20 | "620" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/PW/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Palau for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Palau 6 | alpha2: PW 7 | alpha3: PLW 8 | numeric: 585 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/pw 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/PW/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["1",,,"PW","7.2257","134.3622","Palau",,,,,"96940"]] -------------------------------------------------------------------------------- /assets/PW/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/pw", 3 | "version": "0.0.4", 4 | "description": "Geodata of Palau for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Palau", 18 | "PW", 19 | "PLW", 20 | "585" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/RE/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Réunion for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Réunion 6 | alpha2: RE 7 | alpha3: REU 8 | numeric: 638 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/re 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/RE/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/re", 3 | "version": "0.0.4", 4 | "description": "Geodata of Réunion for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Réunion", 18 | "RE", 19 | "REU", 20 | "638" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/RO/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Romania for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Romania 6 | alpha2: RO 7 | alpha3: ROU 8 | numeric: 642 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ro 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/RO/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ro", 3 | "version": "0.0.4", 4 | "description": "Geodata of Romania for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Romania", 18 | "RO", 19 | "ROU", 20 | "642" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/RU/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Russian Federation (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Russian Federation (the) 6 | alpha2: RU 7 | alpha3: RUS 8 | numeric: 643 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ru 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/RU/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ru", 3 | "version": "0.0.4", 4 | "description": "Geodata of Russian Federation (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Russian Federation (the)", 18 | "RU", 19 | "RUS", 20 | "643" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/SE/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Sweden for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Sweden 6 | alpha2: SE 7 | alpha3: SWE 8 | numeric: 752 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/se 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/SE/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/se", 3 | "version": "0.0.4", 4 | "description": "Geodata of Sweden for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Sweden", 18 | "SE", 19 | "SWE", 20 | "752" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/SI/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Slovenia for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Slovenia 6 | alpha2: SI 7 | alpha3: SVN 8 | numeric: 705 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/si 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/SI/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/si", 3 | "version": "0.0.4", 4 | "description": "Geodata of Slovenia for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Slovenia", 18 | "SI", 19 | "SVN", 20 | "705" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/SJ/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Svalbard and Jan Mayen for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Svalbard and Jan Mayen 6 | alpha2: SJ 7 | alpha3: SJM 8 | numeric: 744 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/sj 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/SJ/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["4",,,"SJ","78.2233","15.6469","Longyearbyen","Spitsbergen","2111","Svalbard","21","9170"],["4",,,"SJ","78.2233","15.6469","Longyearbyen","Spitsbergen","2111","Svalbard","21","9171"],["4",,,"SJ","78.9237","11.925","Ny-Ålesund","Spitsbergen","2111","Svalbard","21","9173"],["4",,,"SJ","77.9003","16.7201","Sveagruva","Spitsbergen","2111","Svalbard","21","9175"],["4",,,"SJ","78.0644","14.1859","Barentsburg","Spitsbergen","2111","Svalbard","21","9178"],[,,,"SJ","74.4435","19.0063","Bjørnøya","Bjørnøya","2121","Svalbard","21","9176"],[,,,"SJ","76.5756","25.1971","Hopen","Hopen","2131","Svalbard","21","9174"],["4",,,"SJ","70.9498","-8.638","Jan Mayen","Jan Mayen","2211","Jan Mayen","22","8099"]] -------------------------------------------------------------------------------- /assets/SJ/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/sj", 3 | "version": "0.0.4", 4 | "description": "Geodata of Svalbard and Jan Mayen for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Svalbard and Jan Mayen", 18 | "SJ", 19 | "SJM", 20 | "744" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/SK/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Slovakia for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Slovakia 6 | alpha2: SK 7 | alpha3: SVK 8 | numeric: 703 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/sk 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/SK/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/sk", 3 | "version": "0.0.4", 4 | "description": "Geodata of Slovakia for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Slovakia", 18 | "SK", 19 | "SVK", 20 | "703" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/SM/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of San Marino for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: San Marino 6 | alpha2: SM 7 | alpha3: SMR 8 | numeric: 674 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/sm 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/SM/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["4",,,"SM","43.9202","12.4515","Murata",,,,,"47890"],["3",,,"SM","43.9267","12.4507","Casole",,,,,"47890"],["4",,,"SM","43.9333","12.45","San Marino",,,,,"47890"],["3",,,"SM","43.9267","12.4507","Santa Mustiola",,,,,"47890"],["4",,,"SM","43.9833","12.5","Falciano",,,,,"47891"],["3",,,"SM","43.9818","12.4953","Rovereta",,,,,"47891"],["4",,,"SM","43.9803","12.4905","Dogana",,,,,"47891"],["3",,,"SM","43.9818","12.4953","Galazzano",,,,,"47891"],["4",,,"SM","43.9498","12.4073","Gualdicciolo",,,,,"47892"],["4",,,"SM","43.95","12.4167","Acquaviva",,,,,"47892"],["4",,,"SM","43.9419","12.4474","Borgo Maggiore",,,,,"47893"],["3",,,"SM","43.9419","12.4474","Ventoso",,,,,"47893"],["3",,,"SM","43.9419","12.4474","Cailungo",,,,,"47893"],["3",,,"SM","43.9419","12.4474","Valdragone",,,,,"47893"],["3",,,"SM","43.9419","12.4474","Ca' Rigo",,,,,"47893"],["3",,,"SM","43.9419","12.4474","San Giovanni",,,,,"47893"],["4",,,"SM","43.9167","12.4167","Chiesanuova",,,,,"47894"],["3",,,"SM","43.9167","12.4167","Teglio",,,,,"47894"],["4",,,"SM","43.9528","12.4701","Domagnano",,,,,"47895"],["3",,,"SM","43.9528","12.4701","Torraccia",,,,,"47895"],["4",,,"SM","43.9333","12.5","Faetano",,,,,"47896"],["4",,,"SM","43.9","12.45","Fiorentino",,,,,"47897"],["3",,,"SM","43.9","12.5","Cerbaiola",,,,,"47898"],["4",,,"SM","43.9","12.5","Montegiardino",,,,,"47898"],["4",,,"SM","43.95","12.5","Serravalle",,,,,"47899"],["4",,,"SM","43.958","12.4769","Fiorina",,,,,"47899"]] -------------------------------------------------------------------------------- /assets/SM/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/sm", 3 | "version": "0.0.4", 4 | "description": "Geodata of San Marino for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "San Marino", 18 | "SM", 19 | "SMR", 20 | "674" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/TH/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Thailand for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Thailand 6 | alpha2: TH 7 | alpha3: THA 8 | numeric: 764 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/th 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/TH/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/th", 3 | "version": "0.0.4", 4 | "description": "Geodata of Thailand for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Thailand", 18 | "TH", 19 | "THA", 20 | "764" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/TR/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Turkey for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Turkey 6 | alpha2: TR 7 | alpha3: TUR 8 | numeric: 792 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/tr 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/TR/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/tr", 3 | "version": "0.0.4", 4 | "description": "Geodata of Turkey for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Turkey", 18 | "TR", 19 | "TUR", 20 | "792" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/UA/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Ukraine for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Ukraine 6 | alpha2: UA 7 | alpha3: UKR 8 | numeric: 804 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/ua 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/UA/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/ua", 3 | "version": "0.0.4", 4 | "description": "Geodata of Ukraine for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Ukraine", 18 | "UA", 19 | "UKR", 20 | "804" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/US/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of United States of America (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: United States of America (the) 6 | alpha2: US 7 | alpha3: USA 8 | numeric: 840 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/us 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/US/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/us", 3 | "version": "0.0.4", 4 | "description": "Geodata of United States of America (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "United States of America (the)", 18 | "US", 19 | "USA", 20 | "840" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/UY/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Uruguay for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Uruguay 6 | alpha2: UY 7 | alpha3: URY 8 | numeric: 858 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/uy 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/UY/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/uy", 3 | "version": "0.0.4", 4 | "description": "Geodata of Uruguay for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Uruguay", 18 | "UY", 19 | "URY", 20 | "858" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/VA/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Holy See (the) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Holy See (the) 6 | alpha2: VA 7 | alpha3: VAT 8 | numeric: 336 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/va 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/VA/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["4",,,"VA","41.9024","12.4533","Citta' Del Vaticano",,,,,"00120"]] -------------------------------------------------------------------------------- /assets/VA/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/va", 3 | "version": "0.0.4", 4 | "description": "Geodata of Holy See (the) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Holy See (the)", 18 | "VA", 19 | "VAT", 20 | "336" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/VI/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Virgin Islands (U.S.) for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Virgin Islands (U.S.) 6 | alpha2: VI 7 | alpha3: VIR 8 | numeric: 850 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/vi 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/VI/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["6",,,"VI","17.7342","-64.7347","Christiansted","St. Croix","010","Vi","78","00820"],[,,,"VI","17.7342","-64.7347","Christiansted","St. Croix","010","Vi","78","00821"],[,,,"VI","17.7342","-64.7347","Christiansted","St. Croix","010","Vi","78","00822"],["6",,,"VI","17.7237","-64.7445","Christiansted","St. Croix","010","Vi","78","00823"],["6",,,"VI","17.7446","-64.6825","Christiansted","St. Croix","010","Vi","78","00824"],["6",,,"VI","17.7226","-64.8729","Frederiksted","St. Croix","010","Vi","78","00840"],["6",,,"VI","17.7648","-64.8096","Frederiksted","St. Croix","010","Vi","78","00841"],["6",,,"VI","17.7208","-64.8002","Kingshill","St. Croix","010","Vi","78","00850"],["6",,,"VI","17.7099","-64.7009","Kingshill","St. Croix","010","Vi","78","00851"],["6",,,"VI","18.3282","-64.7407","St John","St. John","020","Vi","78","00830"],["6",,,"VI","18.3273","-64.7864","St John","St. John","020","Vi","78","00831"],["6",,,"VI","18.3484","-64.974","St Thomas","St. Thomas","030","Vi","78","00801"],["6",,,"VI","18.3387","-64.916","St Thomas","St. Thomas","030","Vi","78","00802"],[,,,"VI","18.3223","-64.9637","St Thomas","St. Thomas","030","Vi","78","00803"],[,,,"VI","18.3223","-64.9637","St Thomas","St. Thomas","030","Vi","78","00804"],[,,,"VI","18.3223","-64.9637","St Thomas","St. Thomas","030","Vi","78","00805"]] -------------------------------------------------------------------------------- /assets/VI/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/vi", 3 | "version": "0.0.4", 4 | "description": "Geodata of Virgin Islands (U.S.) for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Virgin Islands (U.S.)", 18 | "VI", 19 | "VIR", 20 | "850" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/WF/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Wallis and Futuna for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Wallis and Futuna 6 | alpha2: WF 7 | alpha3: WLF 8 | numeric: 876 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/wf 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/WF/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["5",,,"WF","-14.3066","-178.1188","Alo",,,"Circonscription d'Alo","98611","98610"],["5",,,"WF","-14.2667","-178.1667","Sigave",,,"Circonscription de Sigave","98612","98620"],["5",,,"WF","-13.2988","-176.2205","Uvéa",,,"Circonscription d'Uvéa","98613","98600"]] -------------------------------------------------------------------------------- /assets/WF/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/wf", 3 | "version": "0.0.4", 4 | "description": "Geodata of Wallis and Futuna for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Wallis and Futuna", 18 | "WF", 19 | "WLF", 20 | "876" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/YT/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of Mayotte for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: Mayotte 6 | alpha2: YT 7 | alpha3: MYT 8 | numeric: 175 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/yt 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/YT/index.js: -------------------------------------------------------------------------------- 1 | module.exports=[["5",,,"YT","-12.802","45.2082","Passamainty",,,"Mayotte (general)","00","97605"],["5",,,"YT","-12.7239","45.0582","Acoua",,,"Acoua","97601","97630"],["5",,,"YT","-12.7044","45.1223","Bandraboua",,,"Bandraboua","97602","97650"],["5",,,"YT","-12.9128","45.1926","Bandrélé",,,"Bandrele","97603","97660"],["5",,,"YT","-12.9025","45.0761","Bouéni",,,"Bouéni","97604","97620"],["5",,,"YT","-12.8333","45.1106","Chiconi",,,"Chiconi","97605","97670"],["5",,,"YT","-12.9319","45.1483","Chirongui",,,"Chirongui","97606","97620"],["5",,,"YT","-12.8436","45.1844","Dembeni",,,"Dembeni","97607","97660"],["5",,,"YT","-12.7783","45.2837","Dzaoudzi",,,"Dzaoudzi","97608","97615"],["5",,,"YT","-12.9536","45.1033","Kani Kéli",,,"Kani-Kéli","97609","97625"],["5",,,"YT","-12.7336","45.2042","Koungou",,,"Koungou","97610","97600"],["5",,,"YT","-12.7823","45.2288","Mamoudzou",,,"Mamoudzou","97611","97600"],["5",,,"YT","-12.7823","45.2288","Mamoudzou",,,"Mamoudzou","97611","97605"],["5",,,"YT","-12.7823","45.2288","Mamoudzou",,,"Mamoudzou","97611","97650"],["5",,,"YT","-12.7823","45.2288","Mamoudzou",,,"Mamoudzou","97611","97680"],["5",,,"YT","-12.6998","45.0689","Mtsamboro",,,"Mtsamboro","97612","97630"],["5",,,"YT","-12.7594","45.0836","M'Tsangamouji",,,"M'Tsangamouji","97613","97650"],["5",,,"YT","-12.8464","45.1361","Ouangani",,,"Ouangani","97614","97670"],["5",,,"YT","-12.7949","45.282","Pamandzi",,,"Pamandzi","97615","97615"],["5",,,"YT","-12.8505","45.1021","Sada",,,"Sada","97616","97640"],["5",,,"YT","-12.7872","45.1028","Tsingoni",,,"Tsingoni","97617","97680"]] -------------------------------------------------------------------------------- /assets/YT/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/yt", 3 | "version": "0.0.4", 4 | "description": "Geodata of Mayotte for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "Mayotte", 18 | "YT", 19 | "MYT", 20 | "175" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /assets/ZA/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Geodata of South Africa for z1p module. :mailbox_with_mail: 3 | 4 | ``` 5 | name: South Africa 6 | alpha2: ZA 7 | alpha3: ZAF 8 | numeric: 710 9 | ``` 10 | 11 | ## Install 12 | 13 | ``` 14 | npm install @z1p/za 15 | ``` 16 | 17 | ## Usage 18 | 19 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 20 | But you can use this data whatever you need. 21 | 22 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 23 | 24 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 25 | -------------------------------------------------------------------------------- /assets/ZA/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@z1p/za", 3 | "version": "0.0.4", 4 | "description": "Geodata of South Africa for z1p module.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "South Africa", 18 | "ZA", 19 | "ZAF", 20 | "710" 21 | ], 22 | "homepage": "https://github.com/vzhufk/z1p", 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/vzhufk/z1p.git" 26 | }, 27 | "bugs": { 28 | "url": "https://github.com/vzhufk/z1p/issues", 29 | "email": "vzhufk@gmail.com" 30 | }, 31 | "contributors": [ 32 | { 33 | "name": "Vadym Zhufiak", 34 | "email": "vzhufk@gmail.com", 35 | "url": "https://github.com/vzhufk" 36 | }, 37 | { 38 | "name": "Andrii Malyuk", 39 | "email": "a.malyuchok@gmail.com", 40 | "url": "https://github.com/malyuchok" 41 | }, 42 | { 43 | "name": "Stepan Vanzuriak", 44 | "email": "stepanvanzuriak@gmail.com", 45 | "url": "https://github.com/stepanvanzuriak" 46 | } 47 | ], 48 | "dependencies": {} 49 | } -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const z1p = require("./src/index"); 2 | 3 | module.exports = z1p; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "z1p", 3 | "version": "0.1.0", 4 | "description": "Zip Codes Validation and Parse.", 5 | "main": "index.js", 6 | "author": "V.Zhufiak A.Malyuk S.Vanzuriak", 7 | "license": "MIT", 8 | "keywords": [ 9 | "zip", 10 | "zipcode", 11 | "geo", 12 | "geodata", 13 | "geosearch", 14 | "longitude", 15 | "latitude", 16 | "iso", 17 | "search", 18 | "parse" 19 | ], 20 | "scripts": { 21 | "test": "jest" 22 | }, 23 | "homepage": "https://github.com/vzhufk/z1p", 24 | "repository": { 25 | "type": "git", 26 | "url": "https://github.com/vzhufk/z1p.git" 27 | }, 28 | "bugs": { 29 | "url": "https://github.com/vzhufk/z1p/issues", 30 | "email": "vzhufk@gmail.com" 31 | }, 32 | "contributors": [ 33 | { 34 | "name": "Vadym Zhufiak", 35 | "email": "vzhufk@gmail.com", 36 | "url": "https://github.com/vzhufk" 37 | }, 38 | { 39 | "name": "Andrii Malyuk", 40 | "email": "a.malyuchok@gmail.com", 41 | "url": "https://github.com/malyuchok" 42 | }, 43 | { 44 | "name": "Stepan Vanzuriak", 45 | "email": "stepanvanzuriak@gmail.com", 46 | "url": "https://github.com/stepanvanzuriak" 47 | } 48 | ], 49 | "dependencies": {}, 50 | "devDependencies": { 51 | "@z1p/ua": "0.0.4", 52 | "@z1p/us": "0.0.4", 53 | "iso-country-codes": "0.0.5", 54 | "jest": "^23.6.0", 55 | "shelljs": "^0.8.2" 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /scripts/data.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | 3 | const iso = require("iso-country-codes"); 4 | 5 | const CODES = fs.readdirSync("./assets"); 6 | 7 | const template = require("../package.json"); 8 | 9 | const version = `0.0.3`; 10 | 11 | CODES.forEach(code => { 12 | const name = iso.byAlpha2[code].name; 13 | const alpha2 = code; 14 | const alpha3 = iso.byAlpha2[code].alpha3; 15 | const numeric = iso.byAlpha2[code].numeric; 16 | 17 | const current = template; 18 | 19 | current.name = `@z1p/${code.toLocaleLowerCase()}`; 20 | current.version = version; 21 | current.description = `Geodata of ${name} for z1p module.`; 22 | current.keywords.push(name, alpha2, alpha3, numeric); 23 | 24 | delete current.scripts; 25 | delete current.engines; 26 | delete current.devDependencies; 27 | 28 | fs.writeFileSync( 29 | `./assets/${code}/package.json`, 30 | JSON.stringify(current, null, 2) 31 | ); 32 | }); 33 | -------------------------------------------------------------------------------- /scripts/folders.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | 3 | const CODES = fs.readdirSync("./assets"); 4 | -------------------------------------------------------------------------------- /scripts/package.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | 3 | const iso = require("iso-country-codes"); 4 | 5 | const CODES = fs.readdirSync("./assets"); 6 | 7 | const template = require("../package.json"); 8 | 9 | const version = `0.0.4`; 10 | 11 | CODES.forEach(code => { 12 | const name = iso.byAlpha2[code].name; 13 | const alpha2 = code; 14 | const alpha3 = iso.byAlpha2[code].alpha3; 15 | const numeric = iso.byAlpha2[code].numeric; 16 | 17 | const current = Object.assign({}, template); 18 | 19 | current.name = `@z1p/${code.toLocaleLowerCase()}`; 20 | current.version = version; 21 | current.description = `Geodata of ${name} for z1p module.`; 22 | current.keywords = current.keywords.slice(); 23 | current.keywords.push(name, alpha2, alpha3, numeric); 24 | 25 | delete current.scripts; 26 | delete current.engines; 27 | delete current.devDependencies; 28 | 29 | fs.writeFileSync( 30 | `./assets/${code}/package.json`, 31 | JSON.stringify(current, null, 2) 32 | ); 33 | }); 34 | -------------------------------------------------------------------------------- /scripts/publish.js: -------------------------------------------------------------------------------- 1 | const shell = require("shelljs"); 2 | const fs = require("fs"); 3 | 4 | const CODES = fs.readdirSync("./assets"); 5 | 6 | shell.cd("assets"); 7 | 8 | CODES.forEach(code => { 9 | shell.cd(code); 10 | shell.exec(`npm publish --access=public`); 11 | shell.cd(`..`); 12 | }); 13 | -------------------------------------------------------------------------------- /scripts/readme.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs"); 2 | 3 | const iso = require("iso-country-codes"); 4 | 5 | const CODES = fs.readdirSync("./assets"); 6 | 7 | CODES.forEach(code => { 8 | const name = iso.byAlpha2[code].name; 9 | const alpha2 = code; 10 | const alpha3 = iso.byAlpha2[code].alpha3; 11 | const numeric = iso.byAlpha2[code].numeric; 12 | const TEXT = ` 13 | ## Geodata of ${name} for z1p module. :mailbox_with_mail: 14 | 15 | \`\`\` 16 | name: ${name} 17 | alpha2: ${alpha2} 18 | alpha3: ${alpha3} 19 | numeric: ${numeric} 20 | \`\`\` 21 | 22 | ## Install 23 | 24 | \`\`\` 25 | npm install @z1p/${code.toLowerCase()} 26 | \`\`\` 27 | 28 | ## Usage 29 | 30 | Created to be used by this module [z1p](https://github.com/vzhufk/z1p). 31 | But you can use this data whatever you need. 32 | 33 | Data is a bit compresed. You can map it like this: [map.js](https://github.com/vzhufk/z1p/blob/master/src/map.js). 34 | 35 | ### GeoData provided by **[geonames.org](http://www.geonames.org/)** 36 | `; 37 | 38 | fs.writeFileSync(`./assets/${code}/README.md`, TEXT); 39 | }); 40 | -------------------------------------------------------------------------------- /src/adapter.js: -------------------------------------------------------------------------------- 1 | const memo = {}; 2 | 3 | module.exports = { 4 | get: key => memo[key] || [], 5 | set: (key, val) => (memo[key] = val) 6 | }; 7 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | const search = require("./search"); 2 | const memoryAdapter = require("./adapter"); 3 | 4 | const z1p = (codes, options) => { 5 | options = { memorize: false, adapter: memoryAdapter, ...options }; 6 | 7 | const methods = { 8 | raw: comp => 9 | codes.reduce((a, v) => { 10 | const val = search(v, comp) || []; 11 | return [...a, ...val]; 12 | }, []), 13 | findBy: (key, value) => 14 | codes.reduce((acc, code) => { 15 | let result; 16 | 17 | if (options.memorize) { 18 | const memoryKey = `${code}:${key}:${value}`; 19 | const memory = options.adapter.get(memoryKey); 20 | 21 | if (memory.length) { 22 | result = memory; 23 | } else { 24 | result = search(code, e => e[key] === value); 25 | options.adapter.set(memoryKey, result); 26 | } 27 | } else { 28 | result = search(code, e => e[key] === value); 29 | } 30 | 31 | return [...acc, ...result]; 32 | }, []) 33 | }; 34 | 35 | return methods; 36 | }; 37 | 38 | module.exports = z1p; 39 | -------------------------------------------------------------------------------- /src/map.js: -------------------------------------------------------------------------------- 1 | const MAP = { 2 | accuracy: 0, 3 | community: 1, 4 | community_code: 2, 5 | country_code: 3, 6 | latitude: 4, 7 | longitude: 5, 8 | place: 6, 9 | province: 7, 10 | province_code: 8, 11 | state: 9, 12 | state_code: 10, 13 | zip_code: 11 14 | }; 15 | 16 | module.exports = array => { 17 | const result = {}; 18 | 19 | for (const key in MAP) { 20 | result[key] = array[MAP[key]]; 21 | } 22 | 23 | return result; 24 | }; 25 | -------------------------------------------------------------------------------- /src/search.js: -------------------------------------------------------------------------------- 1 | const map = require("./map"); 2 | 3 | module.exports = (data, comp) => { 4 | if (typeof data === "string") { 5 | try { 6 | data = require(`@z1p/${data.toLowerCase()}`); 7 | } catch (e) { 8 | throw new Error( 9 | `\n@z1p/${data.toLowerCase()} not installed!\nPlease run "npm install @z1p/${data.toLowerCase()}"` 10 | ); 11 | data = []; 12 | } 13 | } 14 | 15 | if (!Array.isArray(data)) { 16 | throw new Error("z1p Data is invalid."); 17 | } 18 | 19 | return data.reduce((a, v) => { 20 | if (Array.isArray(v)) { 21 | v = map(v); 22 | } 23 | 24 | if (comp(v)) { 25 | a.push(v); 26 | } 27 | 28 | return a; 29 | }, []); 30 | }; 31 | -------------------------------------------------------------------------------- /tests/index.test.js: -------------------------------------------------------------------------------- 1 | const z1p = require("../index"); 2 | 3 | describe("z1p test", () => { 4 | describe("functions", () => { 5 | describe("raw", () => { 6 | test("get one from one country", () => { 7 | const result = z1p(["ua"]).raw(v => v.zip_code == "59330"); 8 | expect(result).toHaveLength(1); 9 | }); 10 | test("get one from two", () => { 11 | const result = z1p(["Ua", "us"]).raw(v => v.zip_code == "59330"); 12 | expect(result).toHaveLength(2); 13 | }); 14 | }); 15 | 16 | describe("find", () => { 17 | test("find by zip_code", () => { 18 | const result = z1p(["ua"]).findBy("zip_code", "59330"); 19 | 20 | expect(result).toHaveLength(1); 21 | }); 22 | 23 | test("find by zip_code with memo", () => { 24 | z1p(["ua"], { memorize: true }).findBy("zip_code", "59330"); 25 | const result = z1p(["ua"], { memorize: true }).findBy( 26 | "zip_code", 27 | "59330" 28 | ); 29 | 30 | expect(result).toHaveLength(1); 31 | }); 32 | 33 | test("find by accuracy", () => { 34 | const result = z1p(["ua"]).findBy("accuracy", "1"); 35 | 36 | expect(result.length).toBeGreaterThanOrEqual(1); 37 | }); 38 | 39 | test("find by country_code", () => { 40 | const result = z1p(["ua"]).findBy("country_code", "US"); 41 | 42 | expect(result).toHaveLength(0); 43 | }); 44 | 45 | test("find by latitude with memo", () => { 46 | const result = z1p(["US"], { memorize: true }).findBy( 47 | "latitude", 48 | "47.1008" 49 | ); 50 | 51 | expect(result.length).toBeGreaterThanOrEqual(1); 52 | }); 53 | 54 | test("find by longitude", () => { 55 | const result = z1p(["US"]).findBy("longitude", "-104.7287"); 56 | 57 | expect(result.length).toBeGreaterThanOrEqual(1); 58 | }); 59 | 60 | test("find by place with memo", () => { 61 | const result = z1p(["US"], { memorize: true }).findBy( 62 | "place", 63 | "Glendive" 64 | ); 65 | 66 | expect(result).toHaveLength(1); 67 | }); 68 | 69 | test("find by province_code", () => { 70 | const result = z1p(["US"]).findBy("province_code", "021"); 71 | 72 | expect(result.length).toBeGreaterThanOrEqual(1); 73 | }); 74 | 75 | test("find by state with memo", () => { 76 | const result = z1p(["us"], { memorize: true }).findBy( 77 | "state", 78 | "Montana" 79 | ); 80 | 81 | expect(result.length).toBeGreaterThanOrEqual(1); 82 | }); 83 | 84 | test("find by state_code", () => { 85 | const result = z1p(["us"]).findBy("state_code", "MT"); 86 | 87 | expect(result.length).toBeGreaterThanOrEqual(1); 88 | }); 89 | }); 90 | }); 91 | 92 | describe("data", () => { 93 | test("module", () => { 94 | const result = z1p(["ua", "us"]).raw(v => v.zip_code == "59330"); 95 | expect(result).toHaveLength(2); 96 | }); 97 | 98 | test("array of objects", () => { 99 | const result = z1p([ 100 | [ 101 | { 102 | zip_code: "59330" 103 | } 104 | ], 105 | [ 106 | { 107 | zip_code: "59330" 108 | }, 109 | { 110 | zip_code: "59333" 111 | } 112 | ] 113 | ]).raw(v => v.zip_code == "59330"); 114 | expect(result).toHaveLength(2); 115 | }); 116 | 117 | test("array of arrays", () => { 118 | const result = z1p([ 119 | [[, , , , , , , , , , , "59330"]], 120 | [[, , , , , , , , , , , "59330"], [, , , , , , , , , , , "59331"]] 121 | ]).raw(v => v.zip_code == "59330"); 122 | expect(result).toHaveLength(2); 123 | }); 124 | 125 | test("mixed", () => { 126 | const result = z1p([ 127 | [[, , , , , , , , , , , "59330"]], 128 | [ 129 | { 130 | zip_code: "59330" 131 | }, 132 | { 133 | zip_code: "59333" 134 | } 135 | ], 136 | "ua", 137 | "us" 138 | ]).raw(v => v.zip_code == "59330"); 139 | expect(result).toHaveLength(4); 140 | }); 141 | }); 142 | 143 | describe("throws", () => { 144 | test("no module", () => { 145 | expect(() => { 146 | z1p(["AD"]).findBy("zip_code", "59330"); 147 | }).toThrow(); 148 | }); 149 | }); 150 | }); 151 | --------------------------------------------------------------------------------