Skip to content

rooholamin/iran-cities-json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iran-cities-json

This module exports two arrays:

  • shahr
  • ostan

shahrs and ostans are related by id

Usage

yarn add iran-cities-json
#or
npm i iran-cities-json
const { shahr, ostan } = require('iran-cities-json');

My small note on usage

you can use the ids provided here on ui and backend validation and only store ids in db and don't worry about relations after that.

Credits

All of the credits goes to work of ahmadazizi

Make sure to thank him ;)

changelog

1.0.0

released based on v2.0 release of ahmadazizi's work

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%