Back to Trending
RepositoryTypeScriptTHThailand
necessarylion

necessarylion/country-list-with-dial-code-and-flag

Country Flag with Dial Number Code

63stars
24forks
5issues
1views

Country list with dial code and flag

npm version ts contributors

This package provide all country list with their flag emoji, flag svg and dial number code.

Full Documentation

Installation

Via NPM

npm install country-list-with-dial-code-and-flag
import CountryList from 'country-list-with-dial-code-and-flag'

CountryList.getAll() 
// Response => Array<Country>

CountryList.findOneByCountryCode('MM') 
// Response => Country

CountryList.findOneByDialCode('+95') 
// Response => Country

CountryList.findByDialCode('+95') 
// Response => Array<Country>

CountryList.findByKeyword('united') 
// Response => Array<Country>

CountryList.findByCurrencyCode('TRY') 
// Response => Array<Country>

CountryList.findOneByCurrencyCode('TRY') 
// Response => Country

Via CDN



https://cdn.jsdelivr.net/npm/country-list-with-dial-code-and-flag@latest/dist/main.js
With specific version number
https://cdn.jsdelivr.net/npm/country-list-with-dial-code-and-flag@5.0.4/dist/main.js
Country Flag SVG (optional)
<div id="flag"></div>

Development

Want to contribute? Great! Fork the repo and create PR to us.

Similar Projects

Discover other similar projects and AI models.

RepositoryJava
blongho/worldCountryData

Android library for country flag, currency, and other country information

102
Oct 14, 2026
RepositoryPython
cvzi/flag

Flag emoji from country codes for Python 🏳️‍🌈🌍

67
Nov 11, 2026
RepositoryTypeScript
Synergy-Shock/country-codes-list

List of codes per country (languages, calling codes, currency codes, etc)

114
Nov 1, 2026
RepositoryHTML
HatScripts/circle-flags

A collection of 400+ minimal circular SVG country, state and language flags

1.6k
Dec 1, 2026
RepositoryPHP
raramuridesign/mysql-country-list

mysql insert country list into database

479
Nov 1, 2026
RepositoryC#
Chasmical/flag-emojis-for-windows

This font adds flag emojis to Windows 8-11, while keeping all Win11's original emojis! 🇬🇧🧑‍💻🇯🇵😎🇰🇷💀🇨🇳🤖🇫🇷✨🇪🇸🐛🇮🇹

297
Oct 20, 2026
RepositoryJavaScript
thekelvinliu/country-code-emoji

convert country codes (ISO 3166-1 alpha-2) to corresponding emoji flags (unicode regional indicator symbols)

142
Jul 19, 2023
RepositoryPHP
lwwcas/laravel-countries

Laravel country database package with Eloquent models, ISO 3166 codes, country flags, GeoJSON maps, phone codes, currencies and translations in 9 languages. Built with migrations & seeders for Laravel 10–13.

132
Jul 16, 2026
Repository
tuannvbg/unicode-flags-for-windows

Fix flag emoji for Windows 10/11: show full‑color country flags 🇻🇳 🇺🇸 🇯🇵 instead of VN/US/JP two‑letter codes. Unicode 17.0 & 18.0 + Noto Color Emoji 18.0 (2D ready, 3D coming soon). No waiting. Just fix it.

70
Nov 24, 2026