All Projects → iran-nodejs-community → iran_beauty

iran-nodejs-community / iran_beauty

Licence: other
list of iran cities and province

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to iran beauty

rescheme
JSON Rescheme project will help you change the JSON structure easily using declarative syntax
Stars: ✭ 16 (-11.11%)
Mutual labels:  npm-package
react-folder-tree
A versatile react treeview library that supports custom icons and event handlers
Stars: ✭ 56 (+211.11%)
Mutual labels:  npm-package
nodejs-health-checker
This is a Node package that allows you to track the health of your application providing readiness and liveness functionalities.
Stars: ✭ 34 (+88.89%)
Mutual labels:  npm-package
angular2-yandex-maps
Angular 2 components Yandex Maps.
Stars: ✭ 26 (+44.44%)
Mutual labels:  npm-package
v-svg-icons
Svg icons for VueJS.
Stars: ✭ 36 (+100%)
Mutual labels:  npm-package
EverydayFun
A simple NPM package which can return everyday quotes, jokes, riddles and interesting facts!
Stars: ✭ 35 (+94.44%)
Mutual labels:  npm-package
sdk-js
Viblo Javascript SDK
Stars: ✭ 17 (-5.56%)
Mutual labels:  npm-package
react-circle-flags
🚀 A React component with a collection of 300+ minimal circular SVG country flags. Wrapper of HatScripts/circle-flags
Stars: ✭ 29 (+61.11%)
Mutual labels:  npm-package
jsdoc-api
A programmatic interface for jsdoc3 with a few extra features
Stars: ✭ 55 (+205.56%)
Mutual labels:  npm-package
mongo-gui
A web-based MongoDB graphical user interface
Stars: ✭ 111 (+516.67%)
Mutual labels:  npm-package
useCustomHooks
📦 npm package containing a set of custom hooks for your next React project.
Stars: ✭ 12 (-33.33%)
Mutual labels:  npm-package
validid
A Javascript library to validate ID card numbers of China, Taiwan, Hong Kong and South Korea
Stars: ✭ 37 (+105.56%)
Mutual labels:  npm-package
youtrack-cli
Command Line Tool for interacting with youtrack
Stars: ✭ 14 (-22.22%)
Mutual labels:  npm-package
ts-ci
🚀 A starter for TS projects meant to be published on NPM.
Stars: ✭ 282 (+1466.67%)
Mutual labels:  npm-package
React-Pincode
A NPM module which auto fills City, District and State fields when a valid Zip Code in entered!
Stars: ✭ 26 (+44.44%)
Mutual labels:  npm-package
titanium-vue
Use Vue.js to easily create native mobile apps with Axway Appcelerator Titanium.
Stars: ✭ 45 (+150%)
Mutual labels:  npm-package
aws-api-read-stream
Turn an AWS api call into a readable stream
Stars: ✭ 24 (+33.33%)
Mutual labels:  npm-package
console.history
📜 Store all javascript console logs in console.history
Stars: ✭ 30 (+66.67%)
Mutual labels:  npm-package
titanium-angular
Use the Titanium platform with Angular
Stars: ✭ 16 (-11.11%)
Mutual labels:  npm-package
hex-rgba
Convert HEX to RGBA
Stars: ✭ 12 (-33.33%)
Mutual labels:  npm-package

IRAN Beauty

a nodejs package to list Iran cities
Installation
npm install @nimahkh/iran_beauty
Run in Codes
const geoData=require('./lib/geo-data');
const tehran = Object.freeze({
  latitude: 35.715298,
  longitude: 51.404343
});

const find=geoData.findProvincesAround(tehran, {
  radius: 1000,
  unit: 'km'
});


const provinces=geoData.getProvinces();
const cities=geoData.getCities(1);
const citiesAround=geoData.findCitiesAround(tehran)
const nearestProvince=geoData.findNearestProvince(tehran,{radius:1000,unit:'km'})

Methods

getCities

this method , export all cities with given id

getProvince

this method , export all provinces

findCitiesAround

this method , export cities around of imported city

findProvincesAround

this method , export nearest province around of imported province

findNearestProvince

this method , export nearest province

Contributors and my Friends

Fadavi nima habibkhoda

Fadavi fadavi

With Love For Iran 💗

Note 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].