vzhufk / Z1p
Licence: mit
Zip Codes Validation and Parse.
Stars: ✭ 17
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Z1p
Snoop
Snoop — инструмент разведки на основе открытых данных (OSINT world)
Stars: ✭ 886 (+5111.76%)
Mutual labels: geolocation, geo
Geotools
Geo-related tools PHP 5.4+ library built atop Geocoder and React libraries
Stars: ✭ 1,157 (+6705.88%)
Mutual labels: geolocation, geo
Geo From Ip
Get geolocation 🌐 information about an IP 📲
Stars: ✭ 24 (+41.18%)
Mutual labels: geolocation, geo
React Native Android Location Services Dialog Box
React Native Android Location Services Dialog Box
Stars: ✭ 175 (+929.41%)
Mutual labels: geolocation, geo
geocoder
Geocoder is a Typescript library which helps you build geo-aware applications by providing a powerful abstraction layer for geocoding manipulations
Stars: ✭ 28 (+64.71%)
Mutual labels: geo, geolocation
Places
🌐 Turn any <input> into an address autocomplete
Stars: ✭ 5,322 (+31205.88%)
Mutual labels: geolocation, geo
Geo On Fire
A library to create high performance geolocation queries for Firebase. Checkout the demos: https://run.plnkr.co/plunks/AYaN8ABEDcMntgbJyLVW/ and https://run.plnkr.co/plunks/xJgstAvXYcp0w7MbOOjm/
Stars: ✭ 54 (+217.65%)
Mutual labels: geolocation, geo
Clavin
CLAVIN (Cartographic Location And Vicinity INdexer) is an open source software package for document geoparsing and georesolution that employs context-based geographic entity resolution.
Stars: ✭ 237 (+1294.12%)
Mutual labels: geolocation, geo
Geo Data Viewer
🗺️ Geo Data Viewer w/0 Py 🐍 || pyWidgets ⚙️ || pandas 🐼 || @reactjs ⚛️ required to gen. some snazzy maps 🗺️ with keplerGL ...
Stars: ✭ 115 (+576.47%)
Mutual labels: data, geo
geo
Geospatial primitives and algorithms for Crystal
Stars: ✭ 17 (+0%)
Mutual labels: geo, geolocation
Flutter Geolocator
Android and iOS Geolocation plugin for Flutter
Stars: ✭ 759 (+4364.71%)
Mutual labels: geolocation, geo
Brasil.io
Backend do Brasil.IO (para código dos scripts de coleta de dados, veja o link na página de cada dataset)
Stars: ✭ 780 (+4488.24%)
Mutual labels: data
Sheetjs
📗 SheetJS Community Edition -- Spreadsheet Data Toolkit
Stars: ✭ 28,479 (+167423.53%)
Mutual labels: data
Metabase
The simplest, fastest way to get business intelligence and analytics to everyone in your company 😋
Stars: ✭ 26,803 (+157564.71%)
Mutual labels: data
Peazip
Free Zip / Unzip software and Rar file extractor. Cross-platform file and archive manager. Features volume spanning, compression, authenticated encryption. Supports 7Z, 7-Zip sfx, ACE, ARJ, Brotli, BZ2, CAB, CHM, CPIO, DEB, GZ, ISO, JAR, LHA/LZH, NSIS, OOo, PAQ/LPAQ, PEA, QUAD, RAR, RPM, split, TAR, Z, ZIP, ZIPX, Zstandard.
Stars: ✭ 827 (+4764.71%)
Mutual labels: zip
Awesome Streamlit
The purpose of this project is to share knowledge on how awesome Streamlit is and can be
Stars: ✭ 769 (+4423.53%)
Mutual labels: data
Listen To Wikipedia
Live, generative music from Wikipedia edits
Stars: ✭ 685 (+3929.41%)
Mutual labels: data
Snowplow
The enterprise-grade behavioral data engine (web, mobile, server-side, webhooks), running cloud-natively on AWS and GCP
Stars: ✭ 5,935 (+34811.76%)
Mutual labels: data
Zip Codes Validation and Parse 📬
The module that can be used for search places via zip code and other geolocation properties.
Usage
Install package:
npm i z1p
Then you need to add countries you wish to search in. For example the USA.
npm i @zip/us
Then you can use it like this:
const z1p = require("z1p");
// Get places by zip code.
z1p(["US"]).raw(v => v.zip_code == "59330");
// Same as above
z1p(["us"]).findBy("zip_code", "59330"));
// Same as above but memorized
z1p(["Us"], {memorize: true}).findBy("zip_code", "59330"));
//Result
/*
[ { accuracy: '1',
community: null,
community_code: null,
country_code: 'US',
latitude: '47.1008',
longitude: '-104.7287',
place: 'Glendive',
province: 'Dawson',
province_code: '021',
state: 'Montana',
state_code: 'MT',
zip_code: '59330' } ]
*/
API
z1p(codes, options)
-
codes
{Array of Strings}
Country codes to search in. By default equals all available. -
options
{Object}
-
memorize
{Boolean}
default: false
this options for memorization at methods
-
.raw(compare)
-
compare
{Function}
function to find.
returns: {Array of Places}
.findBy(key, value)
-
key
{String}
key in object strucuture (zip_code, accuracy, etc.) -
value
{String}
value to find.returns: {Array of Places}
Note: This method could be memorized. Every result will be saved to memory so the only first call will be slow.
Place object looks like this:
{
accuracy: '1', // Accuracy of place
community: 'community', // Community name
community_code: 'community_code', // Community code
country_code: 'country_code', // Country code
latitude: '1', // Latitude
longitude: '-1', // Longitude
place: 'place', // Place
province: 'province', // Province
province_code: '021', // Province code
state: 'state', // State
state_code: 'state_code', // State code
zip_code: '1' // Zip code
}
Example:
{ accuracy: '1',
community: null,
community_code: null,
country_code: 'US',
latitude: '47.1008',
longitude: '-104.7287',
place: 'Glendive',
province: 'Dawson',
province_code: '021',
state: 'Montana',
state_code: 'MT',
zip_code: '59330' }
Countries
Available countries.
TODO:
- Add wrappers to raw.
- Improve performance.
geonames.org
GeoData provided byNote that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].