New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

iran-info

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iran-info

Get information about cities and provinces of Iran

latest
Source
npmnpm
Version
0.6.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Iran-Info

Get information about cities and provinces of Iran


⚙ Installation

npm install iran-info


📜 Usage

const { Cities, Provinces } = require('iran-info');


// Cities

// @Get all cities of the Iran
new Cities().list();

// @Find cities with their names
new Cities().find("شیراز");

// @Search with keyword in all cities of the Iran
new Cities().search("ش");


// Provinces

// @Get all provinces of the Iran
new Provinces().list();

// @Find provinces with their names
new Provinces().find("فارس");

// @Search with keyword in all provinces of the Iran
new Provinces().search("ف");

✨ Features

  • Get all cities of the Iran
  • Get all provinces of the Iran
  • Find cities with their names
  • Find provinces with their names
  • Search with keyword in all cities of the Iran
  • Search with keyword in all provinces of the Iran

🚩 Credits

  • We use list-of-cities-in-Iran for our data.

MIT License

Keywords

npm

FAQs

Package last updated on 24 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts